Bug 28286 - XFCE Light Locker: Resume from suspend gives a desktop visible a couple seconds before a VT switch to Light Locker on TTY2. TTY1 still accessible and unlocked
Summary: XFCE Light Locker: Resume from suspend gives a desktop visible a couple secon...
Status: NEW
Alias: None
Product: Mageia
Classification: Unclassified
Component: RPM Packages (show other bugs)
Version: Cauldron
Hardware: All Linux
Priority: High critical
Target Milestone: Mageia 8
Assignee: Jani Välimaa
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-02-03 01:20 CET by Morgan Leijström
Modified: 2024-05-05 22:08 CEST (History)
3 users (show)

See Also:
Source RPM: xfce4-power-manager-4.16.0-1.mga8.src.rpm
CVE:
Status comment:


Attachments

Description Morgan Leijström 2021-02-03 01:20:23 CET
Description of problem: Anyone can see desktop briefly

Steps to Reproduce:
1. Boot Live xfce to desktop
2. Mageia menu -> Log out button -> suspend button
3. Wake it up
4. See desktop a couple seconds. (on my old machine more than 3s first time...)
5. ...then desktop get covered by login

Ideas:
Can login screen be launced before suspend?
If not possible to fix at login, maybe can xfce minimize all windows before suspending?
Morgan Leijström 2021-02-03 01:22:24 CET

Priority: Normal => High
CC: (none) => jani.valimaa

Morgan Leijström 2021-02-03 01:43:34 CET

Whiteboard: (none) => 8RC take 5
Keywords: (none) => 8rc1
Target Milestone: --- => Mageia 8

Comment 1 Morgan Leijström 2021-02-03 20:07:36 CET
Sidenote: the Login button is not translated. I don't know if it should be.
That word is probably understood in most port of the world anyway...
Comment 2 Aurelien Oudelet 2021-02-04 14:30:29 CET
What about the specification of the machine? It is too slow that light locker opens itself too slowly?

CC: (none) => ouaurelien

Comment 3 Morgan Leijström 2021-02-04 15:43:44 CET
Thinkpad T400: 2x2,2 MHz 64 bit 4G RAM, some for its time decent GPU, no problem with internet tv, video etc.

Comparison: Larger apps like Mageia Control Center is *much* quicker.

But i have come to think that it may not be the screen locker that is slow.
Maybe erroneoulsy old image data is shown, while the screen locker is invisibly up, like the problem at login where old graphic data are still shown a couple seconds at login; see https://bugs.mageia.org/show_bug.cgi?id=24134#c35

Anyway, in this case too, it would work around that bug if screen locker was fully launched *before* entering sleep - i dont know if that is technically easily possible to achieve.

This problem of screen showing up before locker as principle is as old as from last millenia, i think it was never correctly implemented.  It is just that what i see here is worse than ever.
Aurelien Oudelet 2021-02-09 15:55:41 CET

Whiteboard: 8RC take 5 => (none)

Comment 4 Aurelien Oudelet 2021-03-21 17:49:31 CET
Mageia 8 XFCE, x86_64 from classic ISO and under a VM.

I CAN reproduce the behaviour.
Putting system to sleep is OK. Wake from sleep briefly display the XFCE desktop and switches to lightdm-greeter on other TTY to ask for password.

You can see this using a mediam sized Virtualbox window: the window is redrew and you see a VT switch.
Using virtual Keyboard, I see tty2 is owned by lightdm locker asking for current user credential...
BUT!! tty1 is the already running desktop and totally UNLOCKED! this is crazy and insane!

XScreenSaver is not installed by default.

Light Locker preferences are owned by xfce4-power-manager-4.16.0-1.mga8.src.rpm

I remember that XFCE sometimes displayed 2 login screen when screen is locked. 2 process in conflicts.
Now, situation is somewhat worse. What ScreenLocker should be run by default?
Better to ask xfce maintainer, @Jani can you answer ^^, please?

Source RPM: (none) => xfce4-power-manager-4.16.0-1.mga8.src.rpm
Keywords: 8rc1 => (none)
Severity: normal => critical
Summary: Resume login: xfce desktop visible a couple seconds - Xscreensaver(?) far too slow to start => XFCE Light Locker: Resume from suspend gives a desktop visible a couple seconds before a VT switch to Light Loocker on TTY2. TTY1 still accessible and unlocked

Aurelien Oudelet 2021-03-21 17:49:57 CET

Summary: XFCE Light Locker: Resume from suspend gives a desktop visible a couple seconds before a VT switch to Light Loocker on TTY2. TTY1 still accessible and unlocked => XFCE Light Locker: Resume from suspend gives a desktop visible a couple seconds before a VT switch to Light Locker on TTY2. TTY1 still accessible and unlocked

Comment 5 Aurelien Oudelet 2021-04-03 21:30:52 CEST
@Jani, can you please tell something about that I discovered above?

Assigning to you, feel free to reassign back if irrelevant.

Assignee: bugsquad => jani.valimaa

Comment 6 Raoul 2024-05-05 22:08:59 CEST
Something similar, here.
I work under Mate. When I leave my workplace and come back many minutes later - well after time time-to-lock time, the screen is black but a movement on the mousepad display the graphical environement which is still accessible a few seconds (up to 10 !?) before the screen saver locks the system. During this short time, I have already tested than I can send some commands...

This unsecure things arrive near 1 ober 5-6 times.

Intel 64 bits, Mageia uptodate
Screesaver used: Ecran vide (Empty screen)

CC: (none) => raoul.behrend


Note You need to log in before you can comment on or make changes to this bug.