Ask Ubuntu is a question and answer site for Ubuntu users and developers. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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
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 '14 at 6:48

At boot you can press down e and edit the linux line to rw instead of ro and you can edit your system. ro=read only rw=read and write and dont forget sudo before the rm/etc/X11/xorg.conf Good luck

share|improve this answer

Your Answer


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.