LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Desktop
User Name
Password
Linux - Desktop This forum is for the discussion of all Linux Software used in a desktop context.

Notices


Reply
  Search this Thread
Old 05-31-2008, 07:21 PM   #1
jabrown65
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!

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

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

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

John
 
  


Reply

Tags
configuration, gdm, x11



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

LinuxQuestions.org > Forums > Linux Forums > Linux - Desktop

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

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