mate-desktop / mate-session-manager

MATE session manager
https://mate-desktop.org
GNU General Public License v2.0
28 stars 35 forks source link

Switch user not working. #97

Open tele1 opened 9 years ago

tele1 commented 9 years ago

"switch user" not working on PCLinuxOS, with gdm and lxdm ( removed died link ) , and I need ask: this is possible add command to switch user ?

( removed bounty spam plugin )

flexiondotorg commented 9 years ago

Switch User works on Ubuntu MATE and Arch Linux using LightDM.

tele1 commented 9 years ago

lightdm use "dm-tool switch-to-greeter" command to switch user, so I created /usr/bin/dm-tool script to switch (for lxdm and other for gdm) but not working. (scripts works, but maybe mate-session-manager don't want use my script/command) Need I compile with LightDM ? Maybe I do wrong something ? mate-session-manager not support "dm-tool switch-to-greeter" command ?

monsta commented 9 years ago

The link to the forum post is dead, so basically we don't have a proper issue description here.

tele1 commented 9 years ago

You have correct issue description,

"switch user" not working on PCLinuxOS, with gdm and lxdm.

You have also: KDM, MDM, Qingy, SDDM, SLiM , XDM, Entrance, CDM, Console TDM, nodm. What do you suggest ? I sugest create support for script (bash script), and script will have proper command to switch. Idea is from arch wiki, https://wiki.archlinux.org/index.php/LXDM#Simultaneous_users_and_switching_users ( From wiki this is a workaround for Xfce and GDM )

fredo-m commented 6 years ago

Hi,

With Mate 1.18, GDM3 3.26 and Systemd-sysv 235 on a Debian Buster, the button to switch users does not work, you have to go through the graphical console with ctrl + alt + F1 to access GDM3 and connect with another user.

Regards.

monsta commented 6 years ago

I would really like to have some standard method to switch user instead of having to support every possible DM out there.

tele1 commented 6 years ago

monsta If you have own suggestion you can add to https://www.freedesktop.org/wiki/Specifications/

Home page: https://www.freedesktop.org/wiki/

tele1 commented 6 years ago

Because I have poor memory and because "wiki arch" looks vague now. I want try explain better how problem looks.

That's how GNOME worked with GDM: button "switch_user" (GNOME) --> /usr/bin/gdmflexiserver (GDM)

LXDM is new and not provide gdmflexiserver file like old GNOME, but only "/usr/sbin/lxdm -c USER_SWITCH" so people created a link manually ( working like link, but this is script, because you need run app "lxdm" with option )

That's working for LXDM: button "switch_user" (LXDE) --> /usr/bin/gdmflexiserver --> /usr/sbin/lxdm -c ... (LXDM) button "switch_user" (XFCE4) --> /usr/bin/gdmflexiserver --> /usr/sbin/lxdm -c ... (LXDM)

That's working for LightDM: button "switch_user" (LXDE) --> /usr/bin/gdmflexiserver --> /usr/bin/dm-tool ... (LightDM) button "switch_user" (XFCE4) --> /usr/bin/gdmflexiserver --> /usr/bin/dm-tool ... (LightDM)

Problem was only with Mate and Cinnamon. I tried also write on Cinnamon github, but topic was closed. https://github.com/linuxmint/Cinnamon/issues/4629

So if you can also add support for /usr/bin/gdmflexiserver ( GDM ) if it will exist, I can manually create script /usr/bin/gdmflexiserver ( instead GDM ) with command to support LXDM or LightDM or maybe also other DM.

tele1 commented 6 years ago

If someone use "Whisker Menu" inside XFCE, can also change default "DM" command to other. for button "Switch Users" https://youtu.be/1k4_HZOvpdg?t=389

For Mate inside "mate menu" I don't see this possibility inside "mate brisk menu" I don't see this possibility and I don't see this button