[Spice-devel] spice-vdagent and X Display Managers on Ubuntu 16.04

Sergio L. Pascual sergiolpascual at flexvdi.com
Tue Nov 29 13:55:45 UTC 2016


On Wed, 2016-11-09 at 17:16 +0100, Christophe Fergeau wrote:
> >  - lightdm, slim, kdm: there's no way to specify a program to be
> > executed while running the greeter, must be worked around with a
> > wrapper. Changing resolution results in the greeter crashing and/or
> > hanging.
> 
> What do you call "a wrapper"? Any idea if the crash is caused by the
> QXL
> driver, or if it's an issue on the *dm side?

On the display manager. Shouldn't be hard to fix, but doing it for
every DM sounds a bit too much.

> >  - gdm: applications to be run alongside with greeter can be
> > specified
> > in "/usr/share/gdm/greeter/autostart" (which spice-vdagent already
> > uses). Sadly, gdm > 3.14 tries to run Xorg as gdm (on greeter) or
> > logged in user (after log in), which is not supported by QXL
> > driver, as
> > it needs direct PCI access.
> 
> I believe this works with Fedora, so this should be manageable
> somehow?

It does? Humm... I need to give it a try.

> >  - sddm: needs a wrapper too, but deals nicely with resolution
> > changes
> > *IF* not using the "breeze" theme (this drove me crazy for a while,
> > diving into its source code).
> 
> Same question about the need for a wrapper ?
> 

Something as dirty as this:

# mv /usr/bin/sddm-greeter /usr/bin/sddm-greeter.real

# cat << EOF > /usr/bin/sddm-greeter
> #!/bin/sh
> 
> /usr/bin/spice-vdagent
> exec /usr/bin/sddm-greeter.real $*
> EOF

# chmod +x /usr/bin/sddm-greeter

Sergio.



More information about the Spice-devel mailing list