Share your knowledge at the LQ Wiki.
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 04-29-2008, 07:24 AM   #1
LQ Newbie
Registered: Apr 2008
Posts: 11

Rep: Reputation: 0
Can't edit Xorg.conf

My xorg.conf in Ubuntu lacks any parameters.

I tried sudo dpkg-reconfigure -phigh xserver-xorg

Still no parameters.

I tried editing it manually and it wont let me save "You do not have the necessary permissions to save the file.

I thought maybe I needed to login as root. In Ubuntu at the login I was told system administrator can not login in from this screen.

I am the only user of my system.

So how do I get the xorg.conf edited? Thanks.
Old 04-29-2008, 07:29 AM   #2
LQ Veteran
Registered: Nov 2005
Location: Annapolis, MD
Distribution: Arch/XFCE
Posts: 17,802

Rep: Reputation: 740Reputation: 740Reputation: 740Reputation: 740Reputation: 740Reputation: 740Reputation: 740
Don't try logging in to the GUI as root---recipe for disaster....

You can run an editor as root, using---eg---"sudo gedit" or "sudo nano".

You can also enable the root account using "sudo passwd root". Then use "su" to switch to root, and then open your editor from there.
Old 04-29-2008, 07:30 AM   #3
LQ Guru
Registered: Aug 2001
Location: Fargo, ND
Distribution: SuSE AMD64
Posts: 15,733

Rep: Reputation: 678Reputation: 678Reputation: 678Reputation: 678Reputation: 678Reputation: 678
Launch gedit like "gnomesu gedit /etc/X11/xorg.conf".
Old 04-29-2008, 07:49 AM   #4
LQ Newbie
Registered: Apr 2008
Posts: 11

Original Poster
Rep: Reputation: 0
Thanks, Problem solved.


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
edit xorg.conf using nano olracdor Linux - Newbie 3 11-21-2007 07:03 AM
Cannot edit xorg.conf Ahner Slackware 6 09-07-2006 01:44 AM
Can't edit Xorg.conf pautasso Linux - Newbie 3 08-14-2004 10:27 AM
edit xorg.conf rather than XF86Config? ICO Slackware 2 07-25-2004 12:17 PM
xorg.conf > how to edit ? visvent Linux - Software 3 06-07-2004 02:14 PM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 06:01 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