Page 1 of 1

Full screen resolution incorrect via VNC

Posted: 7. Jun 2016, 17:45
by gewe
Hello,

I have a Windows 10 guest, running in VirtualBox 4.3.36, on a NAS4Free 10.2.0.2 host.
I can only access the guest via VNC (extension pack refuses to be installed).

In the guest the screen resolutions that can be selected are:

Code: Select all

1920 x 1440
1897 x 1091
1600 x 1200
1400 x 1050
1280 x 1024
1280 x 960
1152 x 864
1024 x 768
800 x 600
My monitor has a resolution of 1920 x 1200. When running full screen the resolution 1897 x 1091 is used, causing a display with black borders.
I tried three different VNC clients (Remmina, RealVNC and the browser based noVNC). They all show the same problem.
When I run the VM (just copied definition, disk image is an iSCSI target) on my desktop computer (running Linux Mint 17.3), and access it via the VirtualBox GUI, in full screen mode the resolution is 1920 x 1200, which is correct.

Is there some limitation in VirtualBox or in VNC or in the combination? My desktop is running VirtualBox 5.0.20, so is there is a chance the limitation is in VirtualBox 4.3?

Regards,
George

Re: Full screen resolution incorrect via VNC

Posted: 7. Jun 2016, 18:25
by mpack

Re: Full screen resolution incorrect via VNC

Posted: 8. Jun 2016, 17:44
by gewe
VirtualBox on NAS4Free is accessed via phpVirtualBox. The preferences dialog has no Display section.
The setting MaxGuestDisplaySize is not in my settings (Virtualbox.xml) on my desktop computer.

In the GUI the setting has the value "None". When I change the value to "Automatic", a new entry GUI/GroupDefinitions appears in the config file. Is MaxGuestDisplaySize coded in there somewhere?
In that case the value "None" seems to be the default. I don't know where the configuration is stored in the MAS4Free installation of VirtualBox, so I can't check the value there.

Is there a command that can be used to set MaxGuestDisplaySize to "None"?

Edit: I found the VirtualBox configuration on NAS4Free. Here are the contents:

Code: Select all

<?xml version="1.0"?>
<!--
** DO NOT EDIT THIS FILE.
** If you make changes to this file while any VirtualBox related application
** is running, your changes will be overwritten later, without taking effect.
** Use VBoxManage or the VirtualBox Manager GUI to make changes.
-->
<VirtualBox xmlns="http://www.innotek.de/VirtualBox-settings" version="1.12-freebsd">
  <Global>
    <ExtraData>
      <ExtraDataItem name="phpvb/users/admin/admin" value="1"/>
      <ExtraDataItem name="phpvb/users/admin/pass" value=REMOVED/>
      <ExtraDataItem name="phpvb/usersSetup" value="1"/>
    </ExtraData>
    <MachineRegistry>
      <MachineEntry uuid="{76052cc6-a6be-4176-9926-2e637db21c59}" src=PARH TO .vbox 1/>
      <MachineEntry uuid="{4f00c858-f921-4b02-bf71-84231b42783c}" src=PATH TO .vbox 2/>
    </MachineRegistry>
    <MediaRegistry>
      <HardDisks/>
      <DVDImages/>
      <FloppyImages/>
    </MediaRegistry>
    <NetserviceRegistry>
      <DHCPServers>
        <DHCPServer networkName="HostInterfaceNetworking-vboxnet0" IPAddress="192.168.56.100" networkMask="255.255.255.0" lowerIP="192.168.56.101" upperIP="192.168.56.254" enabled="1"/>
      </DHCPServers>
    </NetserviceRegistry>
    <SystemProperties defaultMachineFolder="/mnt/zpool0/data/virtualbox" defaultHardDiskFormat="VDI" VRDEAuthLibrary="VBoxAuth" webServiceAuthLibrary="null" LogHistoryCount="3" exclusiveHwVirt="true"/>
    <USBDeviceFilters/>
  </Global>
</VirtualBox>

Re: Full screen resolution incorrect via VNC

Posted: 8. Jun 2016, 17:57
by Perryg
@gewe,

As I stated in your other topic you are using their version ( fork ) of VirtualBox and we simply do not know what they change. You would need to ask them.
Nor do we support phpvirtualbox, just to state the obvious.