Re: how can i set display resolution before connecting

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



In fact, I went a API that can send a message to agent in the guest and change resolution.

Thanks agine!

发自我的 iPad

在 2013-2-26,下午10:48,Alon Levy <alevy@xxxxxxxxxx> 写道:

>> changxiaodong píše v St 20. 02. 2013 v 12:32 +0800:
>>> hello:
>>> how can i set the display resolution before connect to a desktop?
>> 
>> no, that isn't possible. The windowed client will pick up whatever
>> resolution is currently used in the guest, if the client is run from
>> full screen, it will try to resize guest resolution to the client
>> resolution.
> 
> I'm not sure what you want:
> 1. specify the guest resolution from the spice client, so that when connecting the guest will change resolution to that specified? Then David is right, there is no method to do that (patches welcome :)
> 2. change the guest resolution from the guest before client connection, via some other method (i.e. from inside the guest) - that is possible for linux/windows via the specific OS/window system api. For X you can use xrandr utility. You can look at the agents as examples of code that does that.
> 
>> 
>> David
>> 
>>> 
>>> envirment:
>>> 
>>> virtualization: rhev 3.1
>>> guest os: windows xp sp3
>>> client: spicec 0.10.0
>>> 
>>> 
>>> thanks!
>>> 
>>> 
>>> --
>>> 
>>> 
>>> Chang Xiaodong
>>> 
>>> 
>>> 
>>> 
>>> _______________________________________________
>>> Spice-devel mailing list
>>> Spice-devel@xxxxxxxxxxxxxxxxxxxxx
>>> http://lists.freedesktop.org/mailman/listinfo/spice-devel
>> 
>> --
>> 
>> David Jaša, RHCE
>> 
>> SPICE QE based in Brno
>> GPG Key:     22C33E24
>> Fingerprint: 513A 060B D1B4 2A72 7F0D 0278 B125 CD00 22C3 3E24
>> 
>> 
>> 
>> _______________________________________________
>> Spice-devel mailing list
>> Spice-devel@xxxxxxxxxxxxxxxxxxxxx
>> http://lists.freedesktop.org/mailman/listinfo/spice-devel
>> 

_______________________________________________
Spice-devel mailing list
Spice-devel@xxxxxxxxxxxxxxxxxxxxx
http://lists.freedesktop.org/mailman/listinfo/spice-devel



[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [ECOS]     [Asterisk Internet PBX]     [Linux API]     [Monitors]