Friday, 5 December 2014

More Virtualbox, headless, Screen resolution

So my main monitor has a 16:9 ratio and a 1920x1080 resolution. The resolutions I have on my lubuntu 14.10 VM usually means they are two large and I have to scroll within  the VNC window or to small that I need a stronger pair of glass. Where is 1920x1080.

So here are the steps I used to create the resolution.

$ sudo xrandr --newmode "1920x1080"  173.00  1920 2048 2248 2576  1080 1083 1088 1120 -hsync +vsync
$ sudo xrandr
Screen 0: minimum 64 x 64, current 1440 x 1050, maximum 16384 x 16384
VBOX0 connected 1440x1050+0+0 0mm x 0mm
   1440x1050      60.0*+   60.0*
   1600x1200      60.0 
   1280x960       60.0 
   1024x768       60.0 
   800x600        60.0 
   640x480        60.0 
  1920x1080 (0x19e)  173.0MHz
        h: width  1920 start 2048 end 2248 total 2576 skew    0 clock   67.2KHz
        v: height 1080 start 1083 end 1088 total 1120           clock   60.0Hz
$ sudo xrandr --addmode VBOX0 1920x1080
$ sudo xrandr --output VBOX0 --mode 1920x1080



References:
http://askubuntu.com/questions/436558/external-display-resolution-vga-output
http://www.techsfo.com/blog/2013/07/1920x1080-ubuntu-vmware/