I have found a work-a-round for this issue using xrandr and changeing the primary monitor.
This changes primary montor to the DVI-monitor: xrandr --output DVI-0 --primary
And this back to the VGA-monitor: xrandr --output VGA-0 --primary
xrandr without arguments reports the names of the monitors:
root@lian:~# xrandr Screen 0: minimum 320 x 200, current 3328 x 1152, maximum 8192 x 8192 VGA-0 connected 1280x1024+2048+0 (normal left inverted right x axis y axis) 376mm x 301mm 1280x1024 60.0*+ 75.0 1024x768 75.1 70.1 60.0 832x624 74.6 800x600 72.2 75.0 60.3 56.2 640x480 72.8 75.0 66.7 60.0 720x400 70.1 DVI-0 connected 2048x1152+0+0 (normal left inverted right x axis y axis) 510mm x 290mm 2048x1152 59.9*+ 1680x1050 60.0 1280x1024 75.0 60.0 1152x864 75.0 1024x768 75.1 60.0 800x600 75.0 60.3 640x480 75.0 60.0 720x400 70.1
I have found a work-a-round for this issue using xrandr and changeing the primary monitor.
This changes primary montor to the DVI-monitor:
xrandr --output DVI-0 --primary
And this back to the VGA-monitor:
xrandr --output VGA-0 --primary
xrandr without arguments reports the names of the monitors:
root@lian:~# xrandr
Screen 0: minimum 320 x 200, current 3328 x 1152, maximum 8192 x 8192
VGA-0 connected 1280x1024+2048+0 (normal left inverted right x axis y axis) 376mm x 301mm
1280x1024 60.0*+ 75.0
1024x768 75.1 70.1 60.0
832x624 74.6
800x600 72.2 75.0 60.3 56.2
640x480 72.8 75.0 66.7 60.0
720x400 70.1
DVI-0 connected 2048x1152+0+0 (normal left inverted right x axis y axis) 510mm x 290mm
2048x1152 59.9*+
1680x1050 60.0
1280x1024 75.0 60.0
1152x864 75.0
1024x768 75.1 60.0
800x600 75.0 60.3
640x480 75.0 60.0
720x400 70.1