Re: spice-vdagent and X Display Managers on Ubuntu 16.04

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

 



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.

_______________________________________________
Spice-devel mailing list
Spice-devel@xxxxxxxxxxxxxxxxxxxxx
https://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]