You are not logged in.
Pages: 1
Hello,
I want to change the name of the computer. Now it is set to myhost, so if XDM starts, it says:
Welcome to myhost.
in normal (not X) login, it says
myhost login:
This myhost does not seem to be the hostname in rc.conf, because it is set to something else (the same as in the hosts file).
Offline
you must set the Hostname in rc.cond and /etc/hosts
read documentation
Have you tried to turn it off and on again?
Offline
This myhost does not seem to be the hostname in rc.conf, because it is set to something else (the same as in the hosts file).
read post...
Offline
Please show relevant lines from /etc/hosts and especially /etc/rc.conf.
Did you restart your network?
Did you restart your computer (don't know if this is needed, guess not)?
Hail to the thief!
Offline
myhost is the default hostname in rc.conf - I'd imagine that if you have a different name on the console prompt than rc.conf you didn't apply a hostname during install, added the hostname after installing, and haven't rebooted since (or something similar). Sorry if this isn't the case, but stranger things have happened on this board...
Unthinking respect for authority is the greatest enemy of truth.
-Albert Einstein
Offline
In /etc/rc.conf you should have a line like HOSTNAME="computer_name"
and in /etc/hosts very much the same line, like this:
127.0.0.1 localhost.localdomain localhost computer_name
That **is bound** to work, else ... something really funny is going on with your system.
Hope this helps.
R
Offline
# /etc/hosts: static lookup table for host names
#
#<ip> <hostname> <hostname>
127.0.0.1 localhost.localdomain localhost
and in rc.conf
HOSTNAME="localhost"
But when xdm is started, it does not say
"Welcome to localhost", but "Welcome to myhost". And I want to change this setting, so that I have a different "Welcome to ..." message...
Offline
/etc/hosts
# /etc/hosts: static lookup table for host names
#
#<ip> <hostname> <hostname>
127.0.0.1 localhost.localdomain localhost mycoolhostname
/etc/rc.conf
HOSTNAME="mycoolhostname"
Reboot.
Edit: and/or check your /etc/X11/xdm/Xresources file.
Offline
Pages: 1