I uploaded my configuration to support.slickedit.com - maybe that will help you to reproduce.
Yes, I am running in a virtual machine in a VNC session. You can also try a VNC session to set your geometry. I use the following script to setup my screen resolution (you will need to modify it):
#!/usr/bin/env bash
DISPLAYNAME="VNC-0"
# This will setup screen resolutions that later allow to run xrandr --output
# See
http://www.ubuntugeek.com/how-change-display-resolution-settings-using-xrandr.htmlxrandr --newmode "1904x960_60.00" 151.00 1904 2016 2216 2528 960 963 973 996 -hsync +vsync
xrandr --addmode $DISPLAYNAME 1904x960_60.00
xrandr --output $DISPLAYNAME --mode 1904x960_60.00
To figure out what to place after "xrandr --newmode", run "cvt 1904 960" as instructed here:
http://www.ubuntugeek.com/how-change-display-resolution-settings-using-xrandr.htmlTo figure out what to use for your "$DISPLAYNAME", run "xrandr" and you should run "xrandr" as below:
$ xrandr
Screen 0: minimum 32 x 32, current 1904 x 960, maximum 32768 x 32768
VNC-0 connected primary 1904x960+0+0 0mm x 0mm
Notice the "VNC-0" in the output above, you may have something different. Use whatever you have there for your DISPLAYNAME.
I choose this resolution so that it does not cover my windows taskbar but otherwise fills my screen when I am VNCing into the VM.