Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

After changes in my xorg.conf, i can not restart X anymore. So on Grub i choose , limited vodeo mode, then "root prompt". Though it seems to be a read only access, so i can not replace my current xorg.conf by my saved one.

I tried to use chmod, but without success, i get a message : "Changing permissions for xorg.conf : Read access Only" even though i entered "chmod 666 xorg.conf"

How can i modify or delete my current xorg.conf in such a scenario ?

THanks for the help !

share|improve this question

1 Answer 1

up vote 2 down vote accepted

Try to start ubuntu normaly. When the ubuntu loading screen appears press Escape. You should see command line output now. It will stops at some point where LightGDM should start.

Then Press Control+Alt+F1 to access console. You should be asked for login.

After login use

sudo rm /etc/X11/xorg.conf to remove the file

Or use any other command with "sudo" prepended. You will be acked for password again.

I hope it will help

share|improve this answer
    
Perfect thanks a lot gaspo! –  silkAdmin Oct 26 '11 at 13:06
    
When you are finished using the console, press Ctrl+Alt+F7 to return back from the console. –  karel Oct 23 at 6:48

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.