On Wed, Jan 08, 2020 at 08:35:37AM +0000, Mike Gabriel wrote: > I'd rather suggest dropping a file in /etc/lightdm/lightdm.conf.d/.
If I understand correctly, packages should use /usr/share/lightdm/lightdm.conf.d/ instead, see: https://wiki.ubuntu.com/LightDM Local admins could then still use /etc/lightdm/lightdm.conf.d/ as an override location. Then the filename should be something like 90_x2gotce.conf to allow overriding the settings in the already existing file 01_debian.conf, which has this content: -------------------------------- # Debian specific defaults # # - use lightdm-greeter session greeter, points to the etc-alternatives managed # greeter # - hide users list by default, we don't want to expose them # - use Debian specific session wrapper, to gain support for # /etc/X11/Xsession.d scripts [Seat:*] greeter-session=lightdm-greeter greeter-hide-users=true session-wrapper=/etc/X11/Xsession --------------------------------------- Maybe 90_x2gotce.conf could then have this content: ---------------------------------------------------- # Launch lightdm in autologin mode to facilitate the startup of the # X2Go TCE minimal MATE desktop... [SeatDefaults] xserver-allow-tcp=false user-session=mate session-wrapper=/etc/x2go/x2gothinclient_init autologin-user=x2gothinclient autologin-user-timeout=0 pam-service=lightdm-autologin session-cleanup-script=/etc/lightdm/restart.lightdm --------------------------------------------------- ^^ Two lines dropped, these are already the first two lines in 01_debian.conf The session-wrapper setting would override the one in 01_debian.conf, I guess Wolfgang
signature.asc
Description: PGP signature