The officially official Devuan Forum!

You are not logged in.

#1 2018-10-19 20:15:40

narcisgarcia
Member
Registered: 2018-10-19
Posts: 7  

Users list in Slim display manager

Hello, I've just installed Devuan 2 with MATE desktop, and tasksel installer installs Slim sessions manager with this D.E.
I need to users list are shown, to be selected for GUI login.

Does anybody know if it's possible with Slim?
Otherwise, how to switch properly from Slim to Lightdm?

Offline

#2 2018-10-19 21:26:36

fsmithred
Administrator
Registered: 2016-11-25
Posts: 2,486  

Re: Users list in Slim display manager

ctrl-alt-F1 to drop to console and log in as root.

/etc/init.d/slim stop
apt-get install lightdm

A debconf dialog will come up and you can set lightdm to be the default display manager.

Edit /etc/lightdm/lightdm.conf to uncomment and change to true this:

#greeter-hide-users=false

so it looks like this:

greeter-hide-users=true

(Make sure you're in the section under "[SeatDefaults]" and not "# Seat defaults")
Start lightdm:

/etc/init.d/lightdm start

Shutdown/reboot buttons should still work in desktop and at the login screen. I'm not sure about mounting removable drives with this combination. Some tweaking may be necessary.

Don't try to uninstall slim. It's not worth the trouble. (It'll want to pull everything with it because it was installed as part of a task package.)

If you want to change back to slim, run dpkg-reconfigure lightdm and set slim as the default.

Offline

#3 2018-10-19 21:44:07

narcisgarcia
Member
Registered: 2018-10-19
Posts: 7  

Re: Users list in Slim display manager

Thank you; done (but with greeter-hide-users=false).
Shutdown action from desktop controls is not working now.

Last edited by narcisgarcia (2018-10-19 21:45:28)

Offline

#4 2018-10-19 22:39:16

golinux
Administrator
Registered: 2016-11-25
Posts: 3,316  

Re: Users list in Slim display manager

fsmithred . . . doesn't lightdm require a different backend than slim?  I never could get that straightened out.

Online

#5 2018-10-20 00:18:50

dxrobertson
Member
Registered: 2017-05-04
Posts: 232  

Re: Users list in Slim display manager

narcisgarcia wrote:

Shutdown action from desktop controls is not working now.

If you are having various permission problems, you may be experiencing the infamous libpolkit problem.  Cant shut down, cant mount usb devices, cant access wifi network...

Its been my experience that LightDM requires libpolkit-backend-elogind, as opposed to libpolkit-backend-consolekit (used by slim?).  Check to see what libpolkit you have installed, I suspect consolekit?

If you have consolekit installed,  try installing the elogind polkit:

apt-get install libpolkit-backend-elogind-1-0

This will remove consolekit and install elogind.

Offline

#6 2018-10-20 00:42:43

golinux
Administrator
Registered: 2016-11-25
Posts: 3,316  

Re: Users list in Slim display manager

And of course read the Release Notes.

Online

#7 2018-10-20 00:48:48

fsmithred
Administrator
Registered: 2016-11-25
Posts: 2,486  

Re: Users list in Slim display manager

True/False, Left/Right. Sometimes they switch places on me when I'm not looking. Sorry about that.

I tried this in a VM today and it worked, but you should heed the advice of the others.

Offline

#8 2018-10-20 16:23:11

narcisgarcia
Member
Registered: 2018-10-19
Posts: 7  

Re: Users list in Slim display manager

Thank you everyone.
This works perfectly to switch from Slim to Lightdm:

sudo apt-get install lightdm libpolkit-backend-elogind-1-0

I think:

  • lightdm should deped on libpolkit-backend-elogind-1-0

  • slim should deped on libpolkit-backend-consolekit-1-0

  • task-mate-desktop should depend on any of libpolkit-backend-consolekit-1-0 | libpolkit-backend-elogind-1-0

Without this last fix, installing libpolkit-backend-elogind-1-0 it's also removed task-mate-desktop and some other packages are suggested for autoremoval: gnome-orca speech-dispatcher libreoffice-gtk3 etc.

Offline

#9 2018-10-20 23:45:36

dxrobertson
Member
Registered: 2017-05-04
Posts: 232  

Re: Users list in Slim display manager

@narcisgarcia, glad to hear your problems resolved. 

There is another thread from the past where we were covering this very issue, and needed a Mate user to verify their experience with LightDM/Mate; in regards to elogind and consolekit.  You have become that person! 

It might help if you post your success/experience with LightDM/Mate/elogind on this thread-

https://dev1galaxy.org/viewtopic.php?id=2282

Thanks!

Last edited by dxrobertson (2018-10-21 00:07:52)

Offline

Board footer