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/

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.

Tuesday, 11 November 2014

Killing Motivation 18: Decreasing Benfits

Now we all know that its not mandatory for a company to provide medical or dental benefits. They are useful tools to maintain a happy and healthy workforce. They are useful to entice employees to join your workforce and retain existing employees.

Therefore, it would stand to reason that if you wanted to get rid of employees without paying a costly severance you would want to reduce or remove those things that keep them in your buildings. Benefits is one of those things that you can reduce to entice employee to leave. Think of it as constructive dismissal but on a large scale. Other than make their lives a living hell day by day, benefit reduction is a clear signal that employees are unimportant to you, and clutter the halls.

In fact, you can investigate what your employees use the most from benefits in previous years, and specifically reduce them. Lets say you have an aging workforce. It stands to reason that they need things like Chiropractic, massage therapy, and perhaps acupuncture to help their aches and pains and prevent larger issues. So you can decrease those, but, then to add insult to injury, you can increase something they don't use. To twist the knife, state to them that you are re-balancing the benefits package to better suite "most" employees. They will all know it a lie. But your little re-balancing line will be to laugh in their faces and say "fuck you".

They know they have little choice.