LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Can't edit Xorg.conf (https://www.linuxquestions.org/questions/linux-newbie-8/cant-edit-xorg-conf-638624/)

Jimbo13 04-29-2008 06:24 AM

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.

http://img177.imageshack.us/img177/5...nfetcx1dj5.png


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.

pixellany 04-29-2008 06:29 AM

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.

jschiwal 04-29-2008 06:30 AM

Launch gedit like "gnomesu gedit /etc/X11/xorg.conf".

Jimbo13 04-29-2008 06:49 AM

Thanks, Problem solved.


All times are GMT -5. The time now is 11:39 PM.