[Testing - Trixie] Xfce lock screen issue?

- - ALL UNSTABLE / TESTING THREADS SHOULD BE POSTED HERE - -
This sub-forum is the dedicated area for the ongoing Unstable/Testing releases of Debian. Advanced, or Experienced User support only. Use the software, give, and take advice with caution.
Post Reply
Message
Author
User avatar
kalle123
Posts: 390
Joined: 2015-03-21 11:17
Location: Rhineland - Germany
Has thanked: 6 times
Been thanked: 16 times

[Testing - Trixie] Xfce lock screen issue?

#1 Post by kalle123 »

At the moment I am preparing for the oncoming change to trixie from bookworm with 2 installations on my bookworm desktop.

- A trixie in a VBox
and a
- trixie on an external SSD connected USB 3.

Not using trixie for a certain time, I do get on both systems (VBox and USB 3) after 5 min al lock screen.

Please see attached pics.
1.jpg
1.jpg (36.21 KiB) Viewed 607 times
2.jpg
2.jpg (29.51 KiB) Viewed 607 times
3.jpg
3.jpg (16.9 KiB) Viewed 607 times
4.jpg
4.jpg (42.03 KiB) Viewed 607 times
4.jpg is my setting under different bookworm installations. 'Not activating Lock screen when system is going to sleep' prevented in bookworm this behavior, but not in trixie here.

Could someone here please check?

br KH

User avatar
FreewheelinFrank
Global Moderator
Global Moderator
Posts: 2529
Joined: 2010-06-07 16:59
Has thanked: 48 times
Been thanked: 280 times

Re: [Testing - Trixie] Xfce lock screen issue?

#2 Post by FreewheelinFrank »

These don't seem to be the 4.20 screens that will go into Trixie.
There is no dedicated "security" tab anymore. Lock screen management was massively simplified and "Light Locker" was dropped. "lock-on-sleep" is now synchronized with xfce4-session and xfce4-screensaver.

Screen locking settings are now only handled by xfce4-screensaver to avoid conflicts. A button to open xfce4-screensaver-preferences was added:
https://xfce.org/about/tour

Is xfce4-screensaver part of the install? Is light-locker still there? Possibly Trixie is still in transition and this switch hasn't been completed yet.

I have a live image of Trixie XFCE and will investigate when I'm at the computer.

User avatar
kalle123
Posts: 390
Joined: 2015-03-21 11:17
Location: Rhineland - Germany
Has thanked: 6 times
Been thanked: 16 times

Re: [Testing - Trixie] Xfce lock screen issue?

#3 Post by kalle123 »

FreewheelinFrank wrote: 2025-01-10 17:15 I have a live image of Trixie XFCE and will investigate when I'm at the computer.
Thx. I'll wait and hopefully others do a short check too. Could be caused by the change from Xfce 4.18 to Xfce 4.20 or it could be a sheer Debian thing? If confirmed ....

Could then place a report at https://gitlab.xfce.org, but as we are on Debian, the prime address is a bug report.

br KH :wink:

User avatar
FreewheelinFrank
Global Moderator
Global Moderator
Posts: 2529
Joined: 2010-06-07 16:59
Has thanked: 48 times
Been thanked: 280 times

Re: [Testing - Trixie] Xfce lock screen issue?

#4 Post by FreewheelinFrank »

kalle123 wrote: 2025-01-10 18:41
Thx. I'll wait and hopefully others do a short check too. Could be caused by the change from Xfce 4.18 to Xfce 4.20 or it could be a sheer Debian thing? If confirmed ....

Could then place a report at https://gitlab.xfce.org, but as we are on Debian, the prime address is a bug report.

br KH :wink:
I'm pretty sure it's an XFCE 4.20 thing, with 4.20 "dropping" Light Locker (see previous quote).

I've been testing Testing, and I can confirm that light-locker is installed, xfce4-screensaver isn't, and the screen is locked when "Put to sleep after" and "Switch off after" are ticked in the Display tab.

The system also attempts to suspend after a period with nothing ticked, and screen lock is attempted but fails (as it does in Bookworm), presumably due to the same issue.

https://wiki.debian.org/Xfce#Suspend_an ... ght_issues

I think the only way to change this behaviour would be to configure light-locker directly.

xfce4-screensaver has been added to Testing. I tried uninstalling light-locker and installing xfce4-screensaver and the extra options in the XFCE tour screenshots appeared. It didn't have any effect, probably because a reboot with changes would be needed, which isn't possible in a live image.

The XFCE tour says xfce4-screensaver is going to handle screen locking in 4.20. I don't know if Debian Testing will switch to xfce4-screensaver at some point. Probably worth checking if there is a bug report for this.

Another thing I can look at is the xfce4-session config file in Trixie to see what the lock command is now.

https://forum.manjaro.org/t/light-locke ... l/156558/6

CwF
Global Moderator
Global Moderator
Posts: 3217
Joined: 2018-06-20 15:16
Location: Colorado
Has thanked: 67 times
Been thanked: 284 times

Re: [Testing - Trixie] Xfce lock screen issue?

#5 Post by CwF »

FreewheelinFrank wrote: 2025-01-12 05:29 It didn't have any effect, probably because a reboot with changes would be needed, which isn't possible in a live image.
logoff/logon cycle?
Mottainai

User avatar
FreewheelinFrank
Global Moderator
Global Moderator
Posts: 2529
Joined: 2010-06-07 16:59
Has thanked: 48 times
Been thanked: 280 times

Re: [Testing - Trixie] Xfce lock screen issue?

#6 Post by FreewheelinFrank »

CwF wrote: 2025-01-12 05:44
FreewheelinFrank wrote: 2025-01-12 05:29 It didn't have any effect, probably because a reboot with changes would be needed, which isn't possible in a live image.
logoff/logon cycle?
Good idea! I'll try that.

User avatar
kalle123
Posts: 390
Joined: 2015-03-21 11:17
Location: Rhineland - Germany
Has thanked: 6 times
Been thanked: 16 times

Re: [Testing - Trixie] Xfce lock screen issue?

#7 Post by kalle123 »

We are approaching the release change in near future and for a then 'stable' release that seen behavior is NOT OK for the average desktop user, I think.

1.jpg
1.jpg (13.89 KiB) Viewed 513 times
NOT ticking that box here should make things clear. NO LOCK SCREEN! Light Locker we have in bookworm and it works there as expected.

I don't have a problem writing a bug report, BUT on what package?

I would pick xfce4-power-manager

bookworm 4.18.1-1 did as supposed and trixie testing 4.20.0-1 does not. Let the developers have a look!

br KH :wink:

User avatar
FreewheelinFrank
Global Moderator
Global Moderator
Posts: 2529
Joined: 2010-06-07 16:59
Has thanked: 48 times
Been thanked: 280 times

Re: [Testing - Trixie] Xfce lock screen issue?

#8 Post by FreewheelinFrank »

kalle123 wrote: 2025-01-12 08:13 We are approaching the release change in near future and for a then 'stable' release that seen behavior is NOT OK for the average desktop user, I think.

NOT ticking that box here should make things clear. NO LOCK SCREEN! Light Locker we have in bookworm and it works there as expected.

I don't have a problem writing a bug report, BUT on what package?

I would pick xfce4-power-manager

bookworm 4.18.1-1 did as supposed and trixie testing 4.20.0-1 does not. Let the developers have a look!

br KH :wink:
Absolutely it needs to be fixed.

The good news is everything seems to work with light-locker removed and xfce4-screensaver installed. (Logoff/Logon - hat tip to CwF).

Initially I set screen blank in the Display tab and the screen was locked after blanking Then I hit the "Screensaver management" button, and there is no locking when the screensaver is enabled and lock is not enabled.

I then went back to the Display tab and re-enabled blanking and the screen did not lock. The screensaver image did appear for a moment, but this could probably be avoided by setting the screensaver to blank screen.

I suppose the bug is in whatever package still has light-locker as a dependency and not xfce4-screensaver, as XFCE 4.20 cannot now change light-locker settings/

User avatar
kalle123
Posts: 390
Joined: 2015-03-21 11:17
Location: Rhineland - Germany
Has thanked: 6 times
Been thanked: 16 times

Re: [Testing - Trixie] Xfce lock screen issue?

#9 Post by kalle123 »

Bug report is out.

https://bugs.debian.org/cgi-bin/bugrepo ... ug=1092854

Made it in a hurry and I am not writing 3 reports a week, but I think this issue should be cleared before release.
Pointed to this thread here ....

KH

eggert717
Posts: 4
Joined: 2020-01-25 13:02

Re: [Testing - Trixie] Xfce lock screen issue?

#10 Post by eggert717 »

I uninstalled light-locker and the problem is gone for me no more lock screen, all I setup is to turn off the monitor I don't suspend or anything like that but,
everything seems to be working as expected.

Hope this helps

User avatar
FreewheelinFrank
Global Moderator
Global Moderator
Posts: 2529
Joined: 2010-06-07 16:59
Has thanked: 48 times
Been thanked: 280 times

Re: [Testing - Trixie] Xfce lock screen issue?

#11 Post by FreewheelinFrank »

eggert717 wrote: 2025-01-22 22:52 I uninstalled light-locker and the problem is gone for me no more lock screen, all I setup is to turn off the monitor I don't suspend or anything like that but,
everything seems to be working as expected.

Hope this helps
Install xfce4-screensaver if you want to be able to change screen blanking, sleep and locking from XFCE. I'm trying it in Trixie and everything seems to work. Doesn't seem to have the suspend issue that has been present in XFCE for years. At least, I think I've tried every combination of blank/lock suspend/lock and haven't seen it yet. Also seems to be a lot quicker waking up the screen (the Intel issue?).

https://wiki.debian.org/Xfce

https://wiki.debian.org/light-locker%C2%A0

User avatar
kalle123
Posts: 390
Joined: 2015-03-21 11:17
Location: Rhineland - Germany
Has thanked: 6 times
Been thanked: 16 times

Re: [Testing - Trixie] Xfce lock screen issue?

#12 Post by kalle123 »

Thank you both for posting those ways, to circumvent that behavior. Is fine for testing, but for a trixie stable release the developers should look into this and don't have a user search the net for a solution ... Therefore a bug report and I hope this is solved in near future.

User avatar
eriefisher
Posts: 141
Joined: 2008-06-04 03:49
Location: Ontario's West Coast
Has thanked: 1 time
Been thanked: 1 time

Re: [Testing - Trixie] Xfce lock screen issue?

#13 Post by eriefisher »

Light-locker is not part of Xfce but rather lightdm project. I'm not sure why the Debian Xfce folks package it in to the DE. xfce4-screensaver seems to work fine although I don't use it personally. I also don't let my laptop sleep/hibernate. If I do want to lock the screen I use dm-tool lock.I have it set as a command in the whiskermenu.
____________________________________________
There's a manual?
Siduction
Debian Sid
Xfce4 4.20

Post Reply