[Spice-devel] how can i set display resolution before connecting
Alon Levy
alevy at redhat.com
Wed Feb 27 00:57:28 PST 2013
> In fact, I went a API that can send a message to agent in the guest
> and change resolution.
There is no such API. You could make spice-gtk allow listening on a socket and receiving agent messages, or just a dbus protocol. What is your use case?
>
> Thanks agine!
>
> 发自我的 iPad
>
> 在 2013-2-26,下午10:48,Alon Levy <alevy at redhat.com> 写道:
>
> >> 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 at 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 at lists.freedesktop.org
> >> http://lists.freedesktop.org/mailman/listinfo/spice-devel
> >>
>
>
More information about the Spice-devel
mailing list