-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA256 On 11/25/2014 03:32 PM, Mike Gabriel wrote: > After looking at mate-session-manager code, I am not even sure if > this feature in relation to LightDM will be available for MATE > 1.10. It definitely won't be in Debian jessie (MATE 1.8).
Actually, it might be easier than you would think. The session-manager tries to start a new greeter using the 'gdmflexiserver' command which is not available on lightdm. However, lightdm provides the command 'dm-tool' which allows to start a new greeter using the following command: dm-tool switch-to-greeter If you replace /usr/bin/gdmflexiserver with a simple bash script as described here [1], you will be able to switch users from the mate-screensaver lock screen using the "Switch User" button. It works absolutely fine except that after the new user has logged out, the new greeter session is not killed and the screen returns back to the lightdm greeter instead of the lock screen of the previously logged in user. Clicking "Cancel" in the new lightdm greeter session doesn't help either. In any case, to get this implemented into the code, we would need to define LIGHTDM_FLEXISERVER_COMMAND in mate-session/gsm-manager.c as "dm-tool" and LIGHTDM_FLEXISERVER_ARGS as "switch-to-greeter". If we figured out how to kill the new lightdm greeter after the second user has logged out or someone clicked "Cancel" in the new lightdm greeter session, user switching would work as expected with lightdm. Cheers, Adrian > [1] https://wiki.archlinux.org/index.php/LightDM#User_switching_under_Xfce4 - -- .''`. John Paul Adrian Glaubitz : :' : Debian Developer - glaub...@debian.org `. `' Freie Universitaet Berlin - glaub...@physik.fu-berlin.de `- GPG: 62FF 8A75 84E0 2956 9546 0006 7426 3B37 F5B5 F913 -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iQIcBAEBCAAGBQJUlsCKAAoJEHQmOzf1tfkT42MP/ix6yJMkBo/NVRfaFjXolsvz WmTJwfeTz/RkVDlhaeXWNR0shCtiIOJEyh/lNORW+5QgW3O03wRReu+fdeYp2j7z EUfTENZppWoLm4gEoT1xOms6HiNIhcqHFghfyVLVcux56Mzi3gTnPMtuB8Gqh1wQ eS5yURcQBsMpB7FCc68peyjdOFVCuV8f73862tKzXh6I24abM8P+i+Lo3DGAv5ye A6VOnRRCT/mGO+SyG1FcP32lbrv90fKVf7WNiMidq5BtasBcENfMZjJIwUZ1et0J QH/BsFPhi1vbgdxMpQ7rSgVuaXTwmuhuIO9oSnSxlChMA4BjCmJ/TJwTvilCVxbI xKA2k2lqbFBYL2xiaxZTZdjrBEFsVXFsHXOFmffpvsUGhrN3KAozWNKRSJbgCC19 oB1oLvS74l30cQXy1Vfbm0KPo3i1nv6LVzr0RpOSA9VP1R8MxAJduyvji4bAU83m ODmrpXy9pBfRggdEry1iP6JGWzwwzdWsE8dezlSdCLoECok4r5M60ui4VTCcSgX+ Kdjg3VSLRtUNRsSPtPZV8LbfDY8iuGga01fjlMRCz6lsGqNGKZXKPJ0DoRQS0m4P fo7UoKTysL71r9e1iUAcGic1na2P4FtuTtWV0CLBIbRHp6iLIygRqYJvs7f7vVRG z8LYsoPirGN+bc0jFYk9 =yMF7 -----END PGP SIGNATURE----- -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org