10-11-2009
The 127.0.0.1 should always be set to localhost if you wish to add other aliases to it that is up to you but it is not advisable to remove localhost from it.
Thegeek had a point in that the original IP address quoted had too many octets in it!
CDE will not start unless:
1. You have a graphics card installed (or built into the motherboard).
2. You have a mouse plugged in.
If those have not been fulfilled.
Then check the contents of /var/dt/Xerrors for any clues.
If there is nothing in there what is the default run level set to in /etc/inittab?
Last edited by TonyFullerMalv; 10-12-2009 at 09:15 PM..
Reason: Correcting poor typing
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
Hi,
I am wanting to enable logging of all ftp sessions on my Solaris 8 host. I want to at least log all ftp logins and if possible any commands that the user executes.
I have tried various settings in syslog.conf then rereading syslogd but logging still does not happen.
I have... (1 Reply)
Discussion started by: blp001
1 Replies
2. OS X (Apple)
Dear all,
I am an inexperienced man with Macitosh and green in Apple OS X . I had tried very hard to use Unix, in fact the Terminal, with its Email function.
I read some books and came to know that it has Mail, mailx or mail functions that we can use for simple mail. I have try every... (3 Replies)
Discussion started by: Larry LAM
3 Replies
3. UNIX for Advanced & Expert Users
I am trying to build a tuxedo server which in turn depends on several Pro*C programs. I am doing it on HP-UX system.
It looks to me that the ORACLE_HOME is set properly.
But I am getting error message when trying to build.
PCC-F-NOERRFILE, unable to open error message file, facility PR2
exit... (1 Reply)
Discussion started by: asutoshch
1 Replies
4. UNIX Desktop Questions & Answers
I'm a beginner in Unix. Please explain in short, how to send and receive mail in unix. The mail is already configured in the OS.
Tell me the steps to send/receive mail in the command prompt.
The platform is AIX 5.1.
Thanks
Karthik (1 Reply)
Discussion started by: fermisoft
1 Replies
5. Solaris
Hi...,
I installed sol 10 in X86 .after installed sol 1 of 1 cd its's asking sol 1of 2 cd.i installed that also.after rebooting the system i'm not getting the CDE.it's directly login console.before that message is "the X server can not be started on display :0".what's wrong in installation.and... (2 Replies)
Discussion started by: rjay.com
2 Replies
6. AIX
When we as normal user try to login, the session startup terminates and we are presented with the login screen.The root user is able to login without any problem.I can log in to the Aix server as normal user through telnet & using xmanager but not directly through server terminal .The Aix version... (1 Reply)
Discussion started by: ranadeep
1 Replies
7. UNIX Desktop Questions & Answers
Hello,
Do you guys by any chance know what is the best (if any ) way to move CDE configuration from a SOLARIS 10 machine to HP-UX?
Just the config (actions, text files etc).
Thanks in advance! (0 Replies)
Discussion started by: binary0x01
0 Replies
8. Shell Programming and Scripting
I have over 10m documents that I want to search through against a list of know keywords, however the documents were produced using a technique that isn't perfect in how the data was presented.
Is there a fuzzy keyword search available in Linux or can anyone think of a way of doing it that isn't... (5 Replies)
Discussion started by: Bashingaway
5 Replies
9. Solaris
I have two CDE desktop accounts on different server (called this CDE#1, CDE#2) on the same network.
However, my current setup is connecting to the Solaris CDE#1,CDE#2 via Citrix.
My plan is to connect to CD#1 and then somehow connect to CDE#2.
How do I do this? I am just a regular user... (0 Replies)
Discussion started by: tthach830
0 Replies
10. Shell Programming and Scripting
Hello All,
I was wondering how I can assign a here document facility to a variable. I have tried the following:
menu=$(<<MENU
Option1
Option2
Option3
Option4
MENU
)
...but when I echo the $menu variable, the multiline list comes out in a single line such as:
Option1 Option2 Option3... (14 Replies)
Discussion started by: techieg
14 Replies
HOSTS(5) Linux Programmer's Manual HOSTS(5)
NAME
hosts - static table lookup for hostnames
SYNOPSIS
/etc/hosts
DESCRIPTION
This manual page describes the format of the /etc/hosts file. This file is a simple text file that associates IP addresses with hostnames,
one line per IP address. For each host a single line should be present with the following information:
IP_address canonical_hostname [aliases...]
Fields of the entry are separated by any number of blanks and/or tab characters. Text from a "#" character until the end of the line is a
comment, and is ignored. Host names may contain only alphanumeric characters, minus signs ("-"), and periods ("."). They must begin with
an alphabetic character and end with an alphanumeric character. Optional aliases provide for name changes, alternate spellings, shorter
hostnames, or generic hostnames (for example, localhost).
The Berkeley Internet Name Domain (BIND) Server implements the Internet name server for UNIX systems. It augments or replaces the
/etc/hosts file or hostname lookup, and frees a host from relying on /etc/hosts being up to date and complete.
In modern systems, even though the host table has been superseded by DNS, it is still widely used for:
bootstrapping
Most systems have a small host table containing the name and address information for important hosts on the local network. This is
useful when DNS is not running, for example during system bootup.
NIS Sites that use NIS use the host table as input to the NIS host database. Even though NIS can be used with DNS, most NIS sites still
use the host table with an entry for all local hosts as a backup.
isolated nodes
Very small sites that are isolated from the network use the host table instead of DNS. If the local information rarely changes, and
the network is not connected to the Internet, DNS offers little advantage.
FILES
/etc/hosts
NOTES
Modifications to this file normally take effect immediately, except in cases where the file is cached by applications.
Historical notes
RFC 952 gave the original format for the host table, though it has since changed.
Before the advent of DNS, the host table was the only way of resolving hostnames on the fledgling Internet. Indeed, this file could be
created from the official host data base maintained at the Network Information Control Center (NIC), though local changes were often
required to bring it up to date regarding unofficial aliases and/or unknown hosts. The NIC no longer maintains the hosts.txt files, though
looking around at the time of writing (circa 2000), there are historical hosts.txt files on the WWW. I just found three, from 92, 94, and
95.
EXAMPLE
# The following lines are desirable for IPv4 capable hosts
127.0.0.1 localhost
# 127.0.1.1 is often used for the FQDN of the machine
127.0.1.1 thishost.mydomain.org thishost
192.168.1.10 foo.mydomain.org foo
192.168.1.13 bar.mydomain.org bar
146.82.138.7 master.debian.org master
209.237.226.90 www.opensource.org
# The following lines are desirable for IPv6 capable hosts
::1 localhost ip6-localhost ip6-loopback
ff02::1 ip6-allnodes
ff02::2 ip6-allrouters
SEE ALSO
hostname(1), resolver(3), host.conf(5), resolv.conf(5), resolver(5), hostname(7), named(8)
Internet RFC 952
COLOPHON
This page is part of release 4.15 of the Linux man-pages project. A description of the project, information about reporting bugs, and the
latest version of this page, can be found at https://www.kernel.org/doc/man-pages/.
Linux 2017-09-15 HOSTS(5)