LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Debian (https://www.linuxquestions.org/questions/debian-26/)
-   -   LXDE, screenlock not working (https://www.linuxquestions.org/questions/debian-26/lxde-screenlock-not-working-4175475679/)

qrange 09-03-2013 04:01 AM

LXDE, screenlock not working
 
I have a problem with lxde-screenlock.desktop, command lxlock exits with this error:

"Not running inside a display manager, XDG_SEAT_PATH not defined"

Indeed, XDG_SEAT_PATH is not set, should I do it manually and with what value?

I think one of recent apt upgrades is the cause.
Using Debian_testing_amd64.

Thanks.

evo2 09-03-2013 10:27 PM

Hi,

Quote:

I have a problem with lxde-screenlock.desktop, command lxlock exits with this error:

"Not running inside a display manager, XDG_SEAT_PATH not defined"
is lxlock exiting prematurely? Or have you just noticed that when it does exit it reports that message?

Also, how are you launching lxde? Are you using lxsession?

Quote:

indeed, XDG_SEAT_PATH is not set, should I do it manually and with what value?
If you are running a proper lxsession I suspect that it should be set (I use ck-launch-session and that variable is set).
Quote:

I think one of recent apt upgrades is the cause.
Using Debian_testing_amd64.
It seems lxsession was upgraded from 4.6 to 4.9 recently:
http://ftp-master.metadata.debian.or....2-1_changelog
(also in your /usr/share/doc/lxsessoin/changelog.Debian.gz)
It would not be amazing if this upgrade introduced a bug.

Evo2.

qrange 09-04-2013 01:28 AM

thanks evo2.
when I click on lock icon on taskbar, or press ctrl+alt+L nothing happens. so I tried lxlock from bash and it exited with that error (and without locking screen).
it seems I'm using lxsession: 00:00:00 /usr/bin/lxsession -s LXDE -e LXDE

don't know how its started, I'm using gdm3

edit: that last update of lxsession removed this:
[REMOVE, DEPENDENCIES] lxsession-edit:amd64

jim_p 09-04-2013 07:31 AM

Do you have lxpolkit installed?

qrange 09-05-2013 01:16 AM

Jim, no lxpolkit is not installed. If I try to install it, aptitude says that lxsession conflicts with it.

qrange 09-26-2013 06:10 AM

I still have this problem :/

Jim, lxpolkit command seems to be part of lxsession now. if I don't start it manually, I can't change advanced settings in 'users and groups' for eg. (but screenlock doesn't work either way)

Does it mean lxpolkit need to be run in ~/.config/lxsession/LXDE/autostart?

thanks.

Pap 09-26-2013 06:29 AM

Al least in my system (Debian 8 64-bit), $XDG_SEAT_PATH is not defined, but lxlock works perfectly with xscreensaver installed. I would first check the following:
(1) is xscreensaver installed in your system?
(2) is the user you are logged in the "powerdev" group?

qrange 09-26-2013 06:39 AM

thanks for the reply.

1) yes
2) yes

Pap 09-26-2013 10:26 AM

I just recall an update, on same system as yours (Debian testing 64 bit), and around the time you first posted the problem here. For some reason, LXDE dependencies were broken after that update. What I did (and it worked) was to uninstall everything related to LXDE (purge), and reinstall it again (via aptitude). I believe it is worth a try, if you didn't try that yet, that is.

qrange 09-30-2013 02:29 AM

I purged and reinstalled: lxde-core, lxde, lxsession
but it didn't help.


edit: it seems 'Lock Screen (xscreensaver)' works, so I'll just use that instead of 'ScreenLock'.


All times are GMT -5. The time now is 01:52 PM.