> 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@lists.freedesktop.org
> > 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@lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/spice-devel
> 
_______________________________________________
Spice-devel mailing list
Spice-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/spice-devel

Reply via email to