select_user_hint is empty

Asked by Surlykke on 2013-02-03


I'm working on a greeter for LightDM (razor-lightdm-greeter). I access LightDM through the lightdm-qt-2 library. The property selectUserHint of QLightDM::Greeter is allways the empty string. (I can see from the code that it calls the function lightdm_greeter_get_select_user_hint in liblightdm-gobject/lightdm/greeter.h). I'm not sure what selectUser is suppose to hold. Some googling suggest it should be the last user logged in. There seems also to have been a property 'default-user' in lightdm.conf, but that is no longer honored.

What should selectUserHint hold? And is it being empty a sign that my system is messed up?

I'm on Arch, running lightdm 1.5.0. Also I'm running systemd, so AccountService is in play.

br. Chr.

Question information

English Edit question
Light Display Manager Edit question
No assignee Edit question
Solved by:
Robert Ancell
Last query:
Last reply:
Best Robert Ancell (robert-ancell) said : #1

selectUserHint is set by the daemon in cases where it is important that the greeter show a particular user. One case is when switching user sessions if authentication is required a greeter will be started with that user being authenticated.

Surlykke (christian-surlykke) said : #2

Thanks Robert Ancell, that solved my question.