You are not logged in.

#1 2015-01-22 20:57:36

smnpl
Member
From: Germany
Registered: 2015-01-07
Posts: 54

light-locker on Xfce, LightDM, gtk-greeter

Hi everybody,

I just installed light-locker, but got my problems with that.
I already set and alias for xflock4 in my .bashrc, to make whisker work out of the box. However, light-locker wont lock my desktop.
Even "light-locker-command -l" doesn't work. There is no output at all (which, by linux philosophy would mean, everything was ok), but it doesn't lock as well...
Hope you guys have a clue on my problem, why light-locke won't lock me out (:

Best regards

Edit: As fyi I'm using sxlock atm. I can't get light-locker to work.

Last edited by smnpl (2015-01-24 10:02:08)


The road to wisdom? - Well, it's plain and simple to express: Err and err and err again but less and less and less. - Piet Hein -

Offline

#2 2015-01-24 17:48:48

Radioactiveman
Member
From: Germany
Registered: 2010-05-13
Posts: 388

Re: light-locker on Xfce, LightDM, gtk-greeter

light-locker-gtk2 is working fine on my Xfce system.

Are you sure light-locker is running? Is it enabled in the Xfce autostart settings?

There is no need for an alias, the better solution is to edit "/usr/bin/xflock4".
Add "light-locker-command --lock" near the other commands.

Offline

#3 2015-01-24 23:12:47

smnpl
Member
From: Germany
Registered: 2015-01-07
Posts: 54

Re: light-locker on Xfce, LightDM, gtk-greeter

Hi radioactiveman,

yep. I'm sure light-locker ist running. Running "light-locker-command -l" while light locker is not running is producing the according error output (something like "light locker is not running"). Though, I'm experiencing  a behaviour which (for me at least) is difficult to debug. As the programm  is behaving as if it is working, but without doing the thing it is supposed to to... Very weird I have to confess...
Thanks for your help so far, very appreciated!

Simon


The road to wisdom? - Well, it's plain and simple to express: Err and err and err again but less and less and less. - Piet Hein -

Offline

#4 2015-01-27 00:36:26

Radioactiveman
Member
From: Germany
Registered: 2010-05-13
Posts: 388

Re: light-locker on Xfce, LightDM, gtk-greeter

Have you already checked the output of "strace light-locker-command --lock"?

Offline

#5 2015-01-27 19:15:52

smnpl
Member
From: Germany
Registered: 2015-01-07
Posts: 54

Re: light-locker on Xfce, LightDM, gtk-greeter

Nope. First time I read of that command. Will try probably tomorrow evening, as I won't be on my machine by then.


The road to wisdom? - Well, it's plain and simple to express: Err and err and err again but less and less and less. - Piet Hein -

Offline

#6 2015-01-28 18:54:13

smnpl
Member
From: Germany
Registered: 2015-01-07
Posts: 54

Re: light-locker on Xfce, LightDM, gtk-greeter

Well, the output is pretty huge. Is there something I can grep for?
The last Part is the stuff below. Exiting with 0 would mean "everything ok"...

read(7, "light-locker\0", 4096)         = 13
read(7, "", 3072)                       = 0
close(7)                                = 0
munmap(0x7fd7c23e9000, 4096)            = 0
close(6)                                = 0
poll([{fd=3, events=POLLIN}], 1, 0)     = 1 ([{fd=3, revents=POLLIN}])
write(5, "\1\0\0\0\0\0\0\0", 8)         = 8
futex(0x14967d0, FUTEX_WAKE, 1)         = 1
futex(0x1498a90, FUTEX_WAKE, 1)         = 1
futex(0x148d048, FUTEX_WAKE, 1)         = 1
write(5, "\1\0\0\0\0\0\0\0", 8)         = 8
futex(0x14967d0, FUTEX_WAKE, 1)         = 1
futex(0x1498a90, FUTEX_WAKE, 1)         = 1
futex(0x149a4a0, FUTEX_WAIT, 0, NULL)   = 0
write(3, "\1\0\0\0\0\0\0\0", 8)         = 8
futex(0x148c4b0, FUTEX_WAKE, 2147483647) = 0
write(5, "\1\0\0\0\0\0\0\0", 8)         = 8
futex(0x14967d0, FUTEX_WAKE, 1)         = 1
write(5, "\1\0\0\0\0\0\0\0", 8)         = 8
futex(0x14967d0, FUTEX_WAKE, 1)         = 1
exit_group(0)                           = ?
+++ exited with 0 +++

Edit: wrapped code in code tag

Last edited by smnpl (2015-01-31 09:02:35)


The road to wisdom? - Well, it's plain and simple to express: Err and err and err again but less and less and less. - Piet Hein -

Offline

#7 2015-01-29 00:01:57

root
Member
From: 127.0.0.1
Registered: 2012-04-13
Posts: 297

Re: light-locker on Xfce, LightDM, gtk-greeter

@smnpl

IIRC it is advisable to put output inside [ code ] [ / code] tags.

Regards


\(o_X)/
                        'Cause I wanna be an Archy - An Archy in the UK // Sex Pistols

Offline

#8 2015-01-29 18:49:41

Radioactiveman
Member
From: Germany
Registered: 2010-05-13
Posts: 388

Re: light-locker on Xfce, LightDM, gtk-greeter

Is LightDM itself working correctly?
Which version do you have installed for LightDM and light-locker?
And do you use the GTK2 or GTK3 version?

Offline

#9 2015-01-31 09:07:45

smnpl
Member
From: Germany
Registered: 2015-01-07
Posts: 54

Re: light-locker on Xfce, LightDM, gtk-greeter

LightDM is working fine with GTK3 greeter.
Versions are.. (both from pacman)...
LightDM: 1:1.12.2-1
gtk3 greeter: 1:1.8.6-1


The road to wisdom? - Well, it's plain and simple to express: Err and err and err again but less and less and less. - Piet Hein -

Offline

#10 2015-01-31 13:52:53

Radioactiveman
Member
From: Germany
Registered: 2010-05-13
Posts: 388

Re: light-locker on Xfce, LightDM, gtk-greeter

And what's about light-locker? wink
Did you install it from the AUR?

Offline

#11 2015-02-01 10:52:25

smnpl
Member
From: Germany
Registered: 2015-01-07
Posts: 54

Re: light-locker on Xfce, LightDM, gtk-greeter

Sorry! Nope, its through Pacman, community repo, as well.
1.4.0-1


The road to wisdom? - Well, it's plain and simple to express: Err and err and err again but less and less and less. - Piet Hein -

Offline

Board footer

Powered by FluxBB