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.

I was going to switch monitors and the screen looked really weird and stretched so I changed the resolution. The next time I turned on my computer and logged in, the screen says it can not display. I switched back to the old monitor. I do not want to reinstall lubuntu, is there a way I can change the resolution back to auto without logging in?

share|improve this question
    
Do you have access to the tty's? Do Ctrl + Alt + F1 gives you a command prompt? –  Braiam Sep 30 '13 at 1:56

1 Answer 1

Ctrl + Alt + F1 gives you a command prompt.

Open /etc/default/grub with your text editor with root privilege.

Add the following new line using your preferred resolution-depth from the list that vbeinfo gave you. It should be like this if you have a 1280x800 screen:

GRUB_GFXPAYLOAD_LINUX=1280x800 

Save the file and exit. (If you can't save the file you haven't opened it as root, go back and execute gksudo gedit /etc/default/grub providing your password.)

Execute the command

sudo update-grub 

Restart your computer.

share|improve this answer

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.