I recently installed Jessie on a new computer.  Now that I have the
system up and running I decided that I would like to have a different
hostname than the rather unimaginative  'localhost-01' I picked during
install.  I used the "mate-network-admin" utility to change it, and
checked /etc/hostname and saw that the change was reflected there
also.

Then I rebooted.  The display manager wouldn't load, leaving me with
an almost blank screen (there was a blinking cursor in the upper left
corner).  I switched to another virtual terminal, edited /etc/hostname
back and was able to boot normally.  Although when I just opened
"mate-network-admin" again it still had the new name in there.
Apparently mate-network-manager changes /etc/hostname, but changing
/etc/hostname doesn't reverse it completely??? (I'm thinking I must
have done something wrong, because that doesn't make sense).

Anyway, the main question is, how do i change the hostname for my system?

I did do some searching online, and so far I found that I have to change:

/etc/hostname
/etc/hosts

then run the command

sysctl kernel hostname=NEW_HOSTNAME.

There were also directions on how to change config files for some
specific packages.  Am I missing anything?

Thanks,
Jon


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: 
http://lists.debian.org/CANcvmg3+gxrEZovCPGNf1=pf05j6ze+onpytktnx-8bojbb...@mail.gmail.com

Reply via email to