guest resolution in headless mode

Discussions related to using VirtualBox on Linux hosts.
Post Reply
virtual_mic
Posts: 3
Joined: 23. Apr 2017, 10:43

guest resolution in headless mode

Post by virtual_mic »

Hello,

I've installed a Windows10 guest vm sucessfully. The guest runs on a miminal debian jessie host system in headless mode. To control the headless vm I use the Microsoft remotedesktop client on another Win10 machine.

Everthing work proper execept the resolution of the guest system is limited to 1152 x 864. The guest extensions are installed (right corner @ attached screenshot). To change the resolution i've tried several parameters on the host but without any success:

Code: Select all

VBoxManage setextradata global GUI/MaxGuestResolution 1920x1020
VBoxManage controlvm "win10" setvideomodehint 1920 1020 32 
Maybe it's because my host system runs without x-server and also without a connected monitor?

Virtualbox runs in version 5.1.20r114628 on my host.
Attachments
screenshot.jpg
screenshot.jpg (73.36 KiB) Viewed 4628 times
Perryg
Site Moderator
Posts: 34369
Joined: 6. Sep 2008, 22:55
Primary OS: Linux other
VBox Version: OSE self-compiled
Guest OSses: *NIX

Re: guest resolution in headless mode

Post by Perryg »

When running remotely the host graphics does not come into play. Usually this will be controlled by the remote client in its settings and all video is determined by the remote systems capability.
virtual_mic
Posts: 3
Joined: 23. Apr 2017, 10:43

Re: guest resolution in headless mode

Post by virtual_mic »

Hi,

that means the problem is the guest extension,installed on windows10 guest?

I've choose the highest resolution when starting the RDC client.
Attachments
screenshot2.png
screenshot2.png (53.13 KiB) Viewed 4617 times
Perryg
Site Moderator
Posts: 34369
Joined: 6. Sep 2008, 22:55
Primary OS: Linux other
VBox Version: OSE self-compiled
Guest OSses: *NIX

Re: guest resolution in headless mode

Post by Perryg »

The screen shot does not tell me anything since I can't read the language or translate it from an image. But there should be a setting to use resolutions other than what the guest has to offer since it controls the graphics and not the guest.
virtual_mic
Posts: 3
Joined: 23. Apr 2017, 10:43

Re: guest resolution in headless mode

Post by virtual_mic »

I think it's a problem of the guest extension installed on the Windows10 guest.

When I try with rdesktop on debian client it still the same:

Code: Select all

micha@debian:~$ rdesktop debianserver.fritz.box -f 
Autoselected keyboard map de
Failed to negotiate protocol, retrying with plain RDP.
WARNING: Remote desktop changed from 1920x925 to 1280x768.
micha@debian:~$ rdesktop debianserver.fritz.box -g 1920x1020
Autoselected keyboard map de
Failed to negotiate protocol, retrying with plain RDP.
WARNING: Remote desktop changed from 1920x1020 to 1280x768.
micha@debian:~$ 
Perryg
Site Moderator
Posts: 34369
Joined: 6. Sep 2008, 22:55
Primary OS: Linux other
VBox Version: OSE self-compiled
Guest OSses: *NIX

Re: guest resolution in headless mode

Post by Perryg »

I am at a loss as to why you are having this issue. I don't do Windows so maybe it would be better if someone else that does continues.
Numinel
Posts: 2
Joined: 21. Jun 2018, 08:28

Re: guest resolution in headless mode

Post by Numinel »

I also have the same issue when the guest OS is Windows 10. The max resolution available in the guest OS is 1152x864 even though the RDP client sets a higher resolution (will just get black regions around the max resolution of the guest OS).

When guest OS is Windows 7 (or even Windows XP) it works fine though so this issue is for Windows 10 guests.

I currently run VirtualBox v5.2.12 with latest guest extensions installed within the guest OS.
Numinel
Posts: 2
Joined: 21. Jun 2018, 08:28

Re: guest resolution in headless mode

Post by Numinel »

I found the solution in another post.
You need to increase the vram size to at least 128 in order to use high resolutions like 1600x1200x24
Post Reply