Thursday, 20 November 2014

Lubuntu 14.10 Virtualbox VNC

I am playing around with Lubuntu 14.10 as a guest OS in virtualbox. I like Ubuntu but wanted to try something lighter. But of course when I first run Lubuntu after install  I am limited to a crap screen resolution. This is also headless which no doubt limits the OS to decide a minimal default. Here is more or less what I ended up doing.

1. apt-get install dkms
2. Install guest addition. In this case I had the vm guest mount the iso directly. Then I ran VBoxLinuxAdditions.run from the /media directory mounted.
3. I was still having issues at this stage until I found this post. http://askubuntu.com/a/450626/350726

  • xdiagnose and ticked all 3 debug options
  • restart
  • additional drivers and reticked the "using x86 virtualisation solution guest adition module and applied the changes.
  • restart

Now it can dynamically resize the resolution. Note that the maximum size of the guest window in the host affects the resolution that a VNC client to the guest can see.