You are not logged in.
Pages: 1
Hey,
I have the problem that there is no prompt for a password after I wake up my laptop from sleep.
But lock screen is activated under Settings -> Power Manager -> Extended -> Lock screen when going for suspend/hibernate.
I tried to activate "Lock screen before sleep" under Settings -> Session and Startup -> Advanced
too. But the problem is the same. No password request after suspend :-(
Greets
Offline
Slim comes with slimlock, but (afaik) it is not linked in to any desktop environment's "lock" settings. It is designed to be run manually, or by, e.g. xautolock timeout.
I know that xautolock has suspend logic in place to run the locker program if the clock suddenly jumps forward by a set amount (I use this feature on my laptop), but you might be able to set something up with systemd events, or poke around in XFCE's settings for a way to set the locker program.
Last edited by WorMzy (2013-12-18 22:12:02)
Sakura:-
Mobo: MSI MAG X570S TORPEDO MAX // Processor: AMD Ryzen 9 5950X @4.9GHz // GFX: AMD Radeon RX 5700 XT // RAM: 32GB (4x 8GB) Corsair DDR4 (@ 3000MHz) // Storage: 1x 3TB HDD, 6x 1TB SSD, 2x 120GB SSD, 1x 275GB M2 SSD
Making lemonade from lemons since 2015.
Offline
XFCE calls xflock4 when it wants to lock the screen, so you'll have to make sure the first xflock4 script in your $PATH calls your locker (slimlock)
https://bbs.archlinux.org/viewtopic.php?id=143805
the default xflock4 supports xscreensaver, gnome-screensaver, xlock and slock.
Last edited by progandy (2013-12-18 22:48:22)
| alias CUTF='LANG=en_XX.UTF-8@POSIX ' | alias ENGLISH='LANG=C.UTF-8 ' |
Offline
Thanks for your answers. I read the linked thread, but I'm not sure how to solve my problem with this information. I'm able to open /usr/bin/xflock4.
But what should I change there? I have no experience with scripting :-(
Greets
Offline
Thanks for your answers. I read the linked thread, but I'm not sure how to solve my problem with this information. I'm able to open /usr/bin/xflock4.
But what should I change there? I have no experience with scripting :-(Greets
I suggest you put a symlink to slimlock in /usr/local/bin:
ln -s ../../bin/slimlock /usr/local/bin/xflock4| alias CUTF='LANG=en_XX.UTF-8@POSIX ' | alias ENGLISH='LANG=C.UTF-8 ' |
Offline
Thank you for your response.
I created the link via
sudo ln -s /usr/bin/slimlock /usr/local/bin/xflock4
and there is a difference now. If I press sleep button (or close the lid) the laptop suspends. But if I reactivate it, there is a weird problem.
I can see my desktop for ~2s and then for ~0.5s the login screen. But then it goes to sleep again. If I wake it up the second time, everything looks fine. I'm asked for my password and can login without problems. Even WLAN is working ;-)
Maybe this has something to do with problems regarding my xfce4 Because sometimes if I choose shutdown, it reboots. And (not everytime, too) after I booted the first time or restarted, my WLAN module is not recognized anymore (most of the time, a reboot helps).
Greets
Last edited by Arche (2013-12-20 21:13:51)
Offline
Pages: 1