LinuxQuestions.org
Did you know LQ has a Linux Hardware Compatibility List?
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
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!

Notices



Reply
 
Search this Thread
Old 07-28-2009, 01:00 PM   #1
unclerick94
LQ Newbie
 
Registered: Jul 2009
Distribution: Debian "Lenny"
Posts: 7

Rep: Reputation: 0
Unhappy (Debian) xorg.conf file, (EE) Problem parsing the config file


Hi, I'm running Debian Lenny, just reinstalled the OS.

I'm installing Compiz using this guide (http://www.debianadmin.com/how-to-in....html#more-326).
I've gotten up to the point where I configure the xorg.conf file.

The file was empty to begin with (I know it for sure, I used the point-and-click method of finding and editing the file in gedit), so I went ahead and added all of the required text provided in the guide.

xorg.conf :
Code:
Section "Screen"
	Option "XAANoOffscreenPixmaps" "true"
	Option "AddARGBGLXVisuals" "true"
EndSection
Section "Device"
	Option "AllowGLXWithComposite" "true"
	Option "RenderAccel" "true"
EndSection
Section "Server Layout"
	Option "AIGLX" "on"
EndSection
Section "Extensions"
	Options "Composite" "enable"
EndSection
I restarted the system before adding “compiz --replace” to “Desktop -> Preferences -> Sessions -> Startup Programs”.

As the system was booting up, a box said the X system had an error.

Parse Error on line 4 of the section Screen in file /etc/X11/xorg.conf
This section must have an identifier line
(EE) Problem parsing the config file
(EE) Error parsing the config file
Fatal Service error:
no screens found.

At the prompt, I moved the xorg.conf file to the Desktop for viewing, and the system booted up properly.


I'm assuming I screwed up somewhere in the xorg.conf file; something with the "identifier line".
If anyone knows the problem, could they provide the correct text for the xorg.conf file as well?


EDIT: And if anyone knows how to correctly install Compiz, can you provide a short guide on how to?

Thanks!

Last edited by unclerick94; 07-28-2009 at 02:55 PM.
 
Old 07-28-2009, 03:27 PM   #2
the trooper
Senior Member
 
Registered: Jun 2006
Location: England
Distribution: Debian Testing/Unstable Amd64
Posts: 1,476

Rep: Reputation: Disabled
It would appear that Debian does not generate an xorg.conf file by default anymore.
As you have correctly worked out you need to generate your own.
I think the easiest way forward is to delete the file you created and create a new one as follows:

Code:
ctrl-alt-f1
To exit the gui.
Login as root.

Code:
# /etc/init.d/gdm stop  (to stop gdm/kdm as required.)
# X -configure
# mv ~/xorg.conf.new /etc/X11/xorg.conf
# /etc/init.d/gdm start
You should now be back in the gui,but you need to logout as root:

Code:
ctrl-alt-f1 again.
ctrl-d
ctrl-alt-f7
Once you get to this point you should have a working xorg.conf file.
You should now be able to edit the file as necessary to enable compiz.
Can't help with compiz as i don't use it myself.
 
  


Reply


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
Xorg config, X not allowing new resolution, works without Xorg config file? bapigoo9 Slackware 5 12-05-2008 01:52 AM
xorg.conf file problem fatra2 Linux - General 2 09-28-2007 03:11 AM
mouse problem. give me ur xorg.conf file plz bookgekgom Linux - Hardware 3 12-23-2006 07:44 PM
Will my XF86Config file work in place of xorg.conf file BillyGalbreath Linux - General 2 03-08-2006 07:18 AM
Problem with xorg.conf file and screen size mjkuras Linux - Laptop and Netbook 6 02-25-2005 12:16 PM


All times are GMT -5. The time now is 08:27 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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration