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

I currently have to, after each time I log in, run xrandr --addmode VGA-1 1600x1200 and then use the display settings tool to set the correct resolution for one of my monitors. Also (not sure if this is the same problem or not), during boot up, I don't see the plymouth screen--instead, both of my monitors turn off until lightdm comes up.

I'm using the neauvou driver (or whatever the default is) and Ubuntu 11.10.

So, how can I set the correct resolution for both of my screens from boot?

share|improve this question
Try the wiki… – duffydack Nov 20 '11 at 20:19

Although I can add the resolution mode with Xrandr I can't make it permanent in Oneiric, but regarding the Plymouth problem, it has to do with the system booting up, by the time the sequence gets to the line where it says to load the plymouth animation of your choice is already too late and "decides" not to run it, but you can change the order in which that command is executed. This has to be typed in terminal as super user (root)

To become super user:

sudo su

You will be asked for your password and then type:

echo FRAMEBUFFER=y > /etc/initramfs-tools/conf.d/splash

update-initramfs -u

to exit root-mode type:

share|improve this answer
up vote 1 down vote accepted

I finally decided that the startup resolution didn't matter too much and just went the .xinitrc way. (Which, I discovered, fixed the black startup screen problem somehow. So now everything is working good.) I first tried just putting the xrandr command to make the higher resolution availible, but that didn't work because it was run too late. So I put the commands to make the higher resolution availible and then switch to it in my executable .xinitrc:

xrandr --addmode VGA-1 1600x1200
xrandr --output VGA-1 --mode 1600x1200
share|improve this answer

Some time ago I used GNU WindowMaker and I had to 'force' the computer by including this line:

xrandr --fb 1280x1024 --dpi 86 --screen 0

in my ~/.xinitrc (which had execute permission). Now I'm running Xfce4 on the same machine and it just works, no idea why...

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.