LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 10-19-2006, 03:23 AM   #1
RetepNamenots
LQ Newbie
 
Registered: Oct 2006
Location: UK
Distribution: Ubuntu Edgy Eft 6.10
Posts: 17

Rep: Reputation: 0
Buggered up a Config.. Help!


Hey dudes, I tried following a tutorial on the net to help me use xgl on Gnome in Suse. It was all going well until I restarted, and now it is telling me that I can't start an x-server (runlevel 5) because there's a problem with my graphics card. I edited the file /etc/X11/xorg.conf and I think this is what it doesn't like.

This is the error that I am being given when I try to start:

Quote:
Failed to start the X server (your graphical interface). It is likeley that it is not set up correctly. Would you like to view the X server output to diagnose the problem? < Yes > < No >
Yes gives me this:

Quote:
X Window System Version 6.9.0
Release Date: 21 December 2005
X Protocol Version 11, Revision 0, Release 6.9
Build Operating System: SuSE Linux [ELF] SuSE
Current Operating System: Linux Petesroom 2.6.16.21-0.25-default #1 Tue
Build Date: 13 September 2006
Before reporting problems, check {Url Removed}
to make sure that you have the latest version.
Module Loader present
Markers: (--) probed, (**) from config file, (==) default setting,
(++) from command line, (!!) notice, (II) informational,
(WW) warning, (EE) error, (NI) not impletemented, (??) unknown.

(==) Log file: "/var/log/Xorg.93.log", Time: Thu Oct 19 09:14:47 2006
(==) Using config file: "/etc/X11/xorg.conf"
Parse error on line 139 of section Device in file /etc/X11/xorg.conf
Multiple "Identifier" lines.
(EE) Problem parsing the config file
I'm a complete newbie when it comes to Linux, but I'm guessing that I added another "Identifier" line where there already was one under that heading. My question is, how can I edit this? I can't use gedit because I'm not being allowed into X-Server..

My questions are, can I restore the file (even from a CD), just from the Userlevel 3? And if not, how can I restore Linux so that I don't loose my settings..?
 
Old 10-19-2006, 08:07 PM   #2
reddazz
LQ Guru
 
Registered: Nov 2003
Location: N. E. England
Distribution: Fedora, CentOS, Debian
Posts: 16,298

Rep: Reputation: 77
You will have to login as root in text mode (there should be a login prompt when X fails, if not do CTRL-ALT-F1). Once you have logged in as root, you can use a text mode editor such as Emacs or VIM to undo the changes you made to your /etc/X11/xorg.conf. After that do "init 3" and then "init 5" to see if your changes worked.

If you don't want to tinker with editing the file using a text mode editor, you can do "init 3" and then "sax2". This should configure your graphics settings automatically. If everything works out fine, run "init 5" to restart X.

Last edited by reddazz; 10-19-2006 at 08:12 PM.
 
Old 10-19-2006, 11:29 PM   #3
farslayer
LQ Guru
 
Registered: Oct 2005
Location: Northeast Ohio
Distribution: linuxdebian
Posts: 7,249
Blog Entries: 5

Rep: Reputation: 191Reputation: 191
your error
Quote:
Parse error on line 139 of section Device in file /etc/X11/xorg.conf
Multiple "Identifier" lines.
(EE) Problem parsing the config file
So go to the device section of your xorg.conf and check for Multiple lines that begin with Identifier. there should be only one.. the error looks pretty straight forward..

Example Device section
Code:
Section "Device"
        Identifier      "NVIDIA Corporation NV20 [GeForce3]"
        Driver          "nvidia"
        BusID           "PCI:1:0:0"
EndSection
 
Old 10-20-2006, 02:33 AM   #4
RetepNamenots
LQ Newbie
 
Registered: Oct 2006
Location: UK
Distribution: Ubuntu Edgy Eft 6.10
Posts: 17

Original Poster
Rep: Reputation: 0
Thanks, farslayer, I found it!

And thanks reddazz, that's exactly what I was looking for Cheers.
 
  


Reply



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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
prelink buggered things. Can't get onto system. sadohert Linux - Newbie 5 01-08-2006 04:51 PM
Yast partitioner buggered boot? jessj SUSE / openSUSE 2 09-02-2005 10:37 AM
buggered my rh9 daveman_t Linux - Newbie 1 12-24-2004 01:43 PM
How I Buggered Up Linux maxhugen Linux - Newbie 4 03-16-2003 06:31 PM
Um...I buggered up. Bigtime. Citizen Bleys Linux - General 2 08-06-2001 11:22 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 08:27 PM.

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