LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Password
Debian This forum is for the discussion of Debian Linux.

Notices


Reply
  Search this Thread
Old 09-03-2013, 04:01 AM   #1
qrange
Senior Member
 
Registered: Jul 2006
Location: Belgrade, Yugoslavia
Distribution: Debian stable/testing, amd64
Posts: 1,061

Rep: Reputation: 47
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.
 
Old 09-03-2013, 10:27 PM   #2
evo2
LQ Guru
 
Registered: Jan 2009
Location: Japan
Distribution: Mostly Debian and CentOS
Posts: 6,724

Rep: Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705
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.
 
1 members found this post helpful.
Old 09-04-2013, 01:28 AM   #3
qrange
Senior Member
 
Registered: Jul 2006
Location: Belgrade, Yugoslavia
Distribution: Debian stable/testing, amd64
Posts: 1,061

Original Poster
Rep: Reputation: 47
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

Last edited by qrange; 09-04-2013 at 04:40 AM.
 
Old 09-04-2013, 07:31 AM   #4
jim_p
Member
 
Registered: Aug 2009
Distribution: Debian testing
Posts: 564

Rep: Reputation: 131Reputation: 131
Do you have lxpolkit installed?
 
1 members found this post helpful.
Old 09-05-2013, 01:16 AM   #5
qrange
Senior Member
 
Registered: Jul 2006
Location: Belgrade, Yugoslavia
Distribution: Debian stable/testing, amd64
Posts: 1,061

Original Poster
Rep: Reputation: 47
Jim, no lxpolkit is not installed. If I try to install it, aptitude says that lxsession conflicts with it.
 
Old 09-26-2013, 06:10 AM   #6
qrange
Senior Member
 
Registered: Jul 2006
Location: Belgrade, Yugoslavia
Distribution: Debian stable/testing, amd64
Posts: 1,061

Original Poster
Rep: Reputation: 47
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.
 
Old 09-26-2013, 06:29 AM   #7
Pap
Member
 
Registered: May 2011
Distribution: Salix 14.1 GNU/Linux, 64-bit
Posts: 70

Rep: Reputation: 29
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?
 
1 members found this post helpful.
Old 09-26-2013, 06:39 AM   #8
qrange
Senior Member
 
Registered: Jul 2006
Location: Belgrade, Yugoslavia
Distribution: Debian stable/testing, amd64
Posts: 1,061

Original Poster
Rep: Reputation: 47
thanks for the reply.

1) yes
2) yes
 
Old 09-26-2013, 10:26 AM   #9
Pap
Member
 
Registered: May 2011
Distribution: Salix 14.1 GNU/Linux, 64-bit
Posts: 70

Rep: Reputation: 29
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.

Last edited by Pap; 09-26-2013 at 10:27 AM.
 
Old 09-30-2013, 02:29 AM   #10
qrange
Senior Member
 
Registered: Jul 2006
Location: Belgrade, Yugoslavia
Distribution: Debian stable/testing, amd64
Posts: 1,061

Original Poster
Rep: Reputation: 47
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'.

Last edited by qrange; 10-01-2013 at 05:15 AM.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] [Mint LXDE] System Sound Not Working / Audio Manager Dark_Wolf Linux - Software 9 05-06-2012 06:57 AM
Debian/LXDE/IceWeasel Flash Not Working iball8888 Linux - Newbie 7 10-08-2009 02:02 PM
Cddb look up not working with K3b on LXDE the trooper Linux - Software 1 05-28-2009 03:50 PM
SuSe - XD2 -screenlock maxware Linux - Software 0 06-11-2004 09:22 AM
shortcut for screenlock tincat2 Linux - General 1 03-29-2004 05:16 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian

All times are GMT -5. The time now is 04:24 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration