Just installed xubuntu 18.04. Lock screen doesn't work: when I click in the locker image on the ower right corner of the menu, nothing happens.

Trying to debug it I found out that apparently there is some environment variable missing:

# light-locker

** (light-locker:5830): ERROR **: 14:42:54.829: Environment variable XDG_SESSION_PATH not set. Is LightDM running?
Trace/breakpoint trap (core dumped)

Some extra info:

$ env | grep -i manager

How do I make the lock screen work?

  • As a normal user, not root, what does env | grep -i manager show? – DK Bose Dec 15 '18 at 0:58
  • Included in the main question. – Rsevero Dec 17 '18 at 13:13

Your Answer

By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

Browse other questions tagged or ask your own question.