Justin Lilly

The simplest thing that could possibly work.

Mar 2

Configuring X on an Ubuntu Virtual Machine

I run a fullscreen Ubuntu virtual machine on my Vista desktop. I was trying an alternative (tiling) window manager (dwm), but there was an issue where I was only getting an 800x600 resolution.

The solution for this was to add the following lines to my gdm config (located at /etc/gdm/Init/Default )

xrandr --output default --mode 1680x1050

where default is the result of

xrandr | grep connected | awk '{ print $1 }'

and mode is the resolution of my monitor. If you’re not sure what resolutions you can support,

xrandr

will give you a dump of all of them.


Page 1 of 1