[Solved] XP guest mutihead second screen resolution

Discussions related to using VirtualBox on Linux hosts.
Post Reply
skao
Posts: 9
Joined: 12. Oct 2008, 09:48

[Solved] XP guest mutihead second screen resolution

Post by skao »

Hi

I would like to change the resolution of the "second head" of my XP guest (I am running a headless virtualbox and connect to the box via remote desktop).

I can use the setvideomodehint (or some ting like that) to set the resolution for the first head with last parameter set to 0.

When I try the same thing with last parameter set to 1, it does not effect the "second head" at all.

I want to set both heads to wide screen resolution, but after i use setvideomodehint on both dispaly
only the first head can set to wide screen resolution the second head still the in 4:3 resolution.
Is there a way to set the resolution for second screen?

I am running the latest version of VirtualBox

Thanks for your help

Regards,
Stephen
Sasquatch
Volunteer
Posts: 17798
Joined: 17. Mar 2008, 13:41
Primary OS: Debian other
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Windows XP, Windows 7, Linux
Location: /dev/random

Re: XP guest mutihead second screen resolution

Post by Sasquatch »

You can specify the resolution RDP should use on the command line. If you use the VB supplied rdesktop-vrdp client, running it with -g you can provide a resolution that should be used. E.g. this will give the second head a resolution of 1280x800 (16:10 wide screen):

Code: Select all

rdesktop-vrdp localhost:3390 -g 1280 800 -d @2
Read the Forum Posting Guide before opening a topic.
VirtualBox FAQ: Check this before asking questions.
Online User Manual: A must read if you want to know what we're talking about.
Howto: Install Linux Guest Additions
Howto: Use Shared Folders on Linux Guest
See the Tutorials and FAQ section at the top of the Forum for more guides.
Try searching the forums first with Google and add the site filter for this forum.
E.g. install guest additions site:forums.virtualbox.org

Retired from this Forum since OSSO introduction.
skao
Posts: 9
Joined: 12. Oct 2008, 09:48

Re: XP guest mutihead second screen resolution

Post by skao »

Thanks Sasquatch

It work, but the first time I do this I got the warning that the resolution reset to 1280x900, after I login I need to set the resolution of my second head in the Display property to the wide screen resolution I want, and reboot the VB. After reboot the second head is set to the resolution I wanted,

Thanks once again.
Post Reply