View the Most Wanted LQ Wiki articles.
Go Back > Forums > Linux Forums > Linux - Desktop
User Name
Linux - Desktop This forum is for the discussion of all Linux Software used in a desktop context.


  Search this Thread
Old 05-31-2008, 08:21 PM   #1
LQ Newbie
Registered: Jun 2004
Location: Canberra, Australia
Distribution: Ubuntu Hardy
Posts: 3

Rep: Reputation: 0
No servers were defined in the configuration error during boot after editing gdm.conf

In Ubuntu Hardy (with all updates installed on a VIA EPIA EN12000 fanless mythtv frontend using openchrome drivers installed by Hardy) I accidentally edited gdm.conf instead of gdm.conf-custom when setting up an automatic default timed login.

Now, instead of getting the normal ubuntu login screen, I am getting a high contrast black and white cross-hashed screen, with the following error message in a text dialog box"

"No servers were defined in the configuration file and XDMCP was disabled. This can only be a configuration error..." If I click OK the screen flickers a few times and returns to the same state.

I have tried rebooting into recovery mode, dropping into a shell, and restoring the previously working versions of gdm.conf and gdm.conf-custom, but (distressingly) the fault remained.

I've also tried:

dpkg-reconfigure gdm

... which ran without any errors, but the fault remained unchanged.

dpkg-reconfigure xserver-xorg

... which ran without error. On reboot I got an error saying that no monitor was defined. So I reinstated the previous xorg.conf, which the resulted in the original error returning. Note: while I had made changes to xorg.conf earlier in the day, the version I reinstated was working fine before the current problems started, so I don't think the problem is in xorg.conf

In desperation I also tried dpkg-reconfigure on a list of gnome packages suggested on one web page, to no avail.

I'd like to avoid a complete reinstall, because I have just finished building this box on Hardy, and don't really want to start again from scratch! Any suggestions will be gratefully appreciated!

Old 06-02-2008, 06:27 AM   #2
LQ Guru
Registered: Nov 2003
Location: N. E. England
Distribution: Fedora, CentOS, Debian
Posts: 16,298

Rep: Reputation: 74
apt-get remove --purge gdm
apt-get install gdm
Old 06-02-2008, 08:38 AM   #3
LQ Newbie
Registered: Jun 2004
Location: Canberra, Australia
Distribution: Ubuntu Hardy
Posts: 3

Original Poster
Rep: Reputation: 0
Thank you! It worked, easy.



configuration, gdm, x11

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
gdm configuration error olliepetch Linux - General 2 12-24-2006 09:14 AM
Is there a command to boot a different OS on reboot without editing grub.conf? wpg9210 Linux - General 2 03-23-2006 09:24 AM
could not access GDM configuration file error buchalkalan Linux - Software 1 10-08-2005 05:22 AM
On boot the routing configuration is defined, where is the script that does that? brynjarh Linux - Networking 1 11-06-2004 12:01 PM
Editing Lilo.conf? Mandrake 10 won't boot midk Linux - Newbie 6 07-30-2004 12:08 AM

All times are GMT -5. The time now is 07:35 AM.

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