Skip to main content
Topic: SOLVED (ish) changing hostname locks up system (Read 1048 times) previous topic - next topic
0 Members and 1 Guest are viewing this topic.

SOLVED (ish) changing hostname locks up system

Hello everyone, I posted this at the lq forum, but wanted to post here as well.  I followed the online directions to change my hostname (both /etc/hostname and /etc/hosts) in vim and after rebooting and logging in, I was unable to right click to get my menu (running Openbox on XFCE with obmenu-generator) Changing it back to the original and rebooting makes everything work again.

Dell Inspirion 3583 12G Ram
i3 processor
Artix XFCE running Openbox

I'm using runit  and followed each of these guides.

1)  https://wiki.artixlinux.org/Main/Configuration

2)  https://wiki.archlinux.org/index.php...t_the_hostname

3)  https://www.tecmint.com/set-hostname...ntly-in-linux/
everything is good until etc/init.d/hostname restart gives no such file

Thank you in advance for your help.

Re: changing hostname locks up system

Reply #1
Two of your links (2 and 3) 404. I'm not sure what you did but "etc/init.d/hostname" doesn't exist in runit. That's openrc only. Be sure you didn't try to follow openrc-specific instructions. All you should need to do to change the hostname is edit /etc/hostname (create it if it doesn't exist).

 

Re: changing hostname locks up system

Reply #2
It has something to do with running openbox on XFCE, I'm working around it by using openbox only until I upgrade hardware and reinstall.