Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

No Switch User Button in gnome-screensaver due to gdm->mdmflexiserver name change #1

Closed
crossroadstech opened this issue May 4, 2012 · 5 comments

Comments

@crossroadstech
Copy link

On LMDE 201204 MATE, with MDM replacing GDM3, gnome-screensaver is missing the switch user button at the password prompt when unlocking the screen.

This is because gnome-screensaver will only show the button if /usr/bin/gdmflexiserver exists. An easy fix is to have a symlink for /usr/bin/gdmflexiserver that points to /usr/bin/mdmflexiserver. I propose adding the symlink as part of the install process.

@crossroadstech
Copy link
Author

Sorry, I forgot to add... this issue occurs when using the cinnamon DE which uses gnome-screensaver.

@clefebvre
Copy link
Member

Thanks for finding the cause and the solution. I'm not comfortable with creating links in the postinst...

We could make mdm conflict with gdm (just to be on the safe side), and provide that link in MDM. Alternatively we could make sure it doesn't exist, create it in the postinst and remove it in the prerm... I don't like that much though to be honest..

@clefebvre
Copy link
Member

I wonder if that problem isn't at a higher scope than MDM.. I just checked Ubuntu 12.04 and lightdm and they don't define this either. Ideally the fix should go in gnome-screensaver, which shouldn't rely on such a basic test. I'll have a look at Mint 13 Cinnamon and see if we can fix that at the distribution level itself.

What's your opinion on all of this?

@crossroadstech
Copy link
Author

I've also found this naming issuing provides a problem with using mate-screensaver and GDM3... mate-screensaver will only show the switch-user button if /usr/bin/mdmflexiserver exists.

So basically in order to run both MATE and Cinnamon and to have the Switch User button available in both environments (mate-screensaver and gnome-screensaver), mdmflexiserver and gdmflexiserver has to exist.

I think the simplest answer is to either go with your your idea above (make mdm conflict with gdm and create...) or maybe restore the gdmflexiserver name to it and make the necessary correction in mate-screensaver so it will reference gdmflexiserver instead of mdmflexiserver.

@clefebvre
Copy link
Member

Fixed by d469df7

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants