Review your favorite Linux distribution.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 03-15-2007, 09:46 AM   #1
LQ Newbie
Registered: Mar 2007
Location: Osaka
Distribution: Slackware 11.0, Kubuntu Edgy
Posts: 15

Rep: Reputation: 0
Strange occurance in kde after changing hostname in Slack 11.0

A weird thing just happened. I changed my hostname from the default(?) darkstar and all was going well after I saved the change and rebooted; but when I typed startx at the prompt after the reboot I was unable to go into my desktop. I fixed the problem by putting the hostname back to the original name and tried to start the gui again. This time I was able to start it without difficulty.
I'm not all that worried about it because I have solved the problem but I was wondering if this has happened to anyone else.

thanks in advance
Old 03-15-2007, 11:37 AM   #2
LQ 5k Club
Registered: May 2003
Location: London, UK
Distribution: Debian "Jessie"
Posts: 6,087

Rep: Reputation: 407Reputation: 407Reputation: 407Reputation: 407Reputation: 407
I had a similar problem: I changed my hostname with hostname NewName, all was well. I rebooted, and then lots of things went wrong, and I couldn't even become root with sudo. Big panic!

I rebooted with my live CD and had a look around my / filesystem. My /etc/hostname still had the old hostname. So I changed this to the new name. I also edited /etc/hosts to reflect my new hostname, rebooted from my HD and all was well.

Explanation: I really have no idea! But people do not tend to change their hostname very often and maybe the process has a bug, or you are supposed to know to make these changes manually after having changed the hostname.

Hope this helps.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Strange hostname - Router Problem? logosys Linux - Networking 2 09-30-2005 02:54 PM
Strange occurance? spotslayer Linux - Hardware 0 08-31-2004 07:11 AM
strange occurance ignus Linux - Security 3 08-04-2004 07:50 AM
Serial mouse trouble (KDE 3.1, slack 9.1) & Changing standard desktop enviroment... tehnewbeh Slackware 1 06-09-2004 05:55 AM
strange occurance with CP homestead1000 Linux - General 4 08-11-2003 02:47 PM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 06:29 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration