Lock screen blank on resume xfce

This is the same issue as

Normally, I can just type my password into the blank screen and it will unlock, but sometimes this does not work and I have to restart the session.

Would really like a work around where I can unlock the session from the tty. I can always get a tty with CTL+ALT+F2 - the tty has a lower resolution than my xfce session.

I tried systemctl suspend from the tty but this just brought me back to the same state with out bringing up the unlock.

Eventually I give up and systemctl restart lightdm to get a fresh lightdm session and loose my work.

Now on kernel 6.10

inxi -SCGM
System:
  Host: ronald-NoFan Kernel: 6.6.10-1-MANJARO arch: x86_64 bits: 64
    Desktop: Xfce v: 4.18.1 Distro: Manjaro Linux
Machine:
  Type: Desktop Mobo: N/A model: N/A serial: <superuser required>
    UEFI-[Legacy]: American Megatrends v: 5.13 date: 05/13/2020
CPU:
  Info: quad core model: Intel Core i7-8665U bits: 64 type: MT MCP cache:
    L2: 1024 KiB
  Speed (MHz): avg: 412 min/max: 400/4800 cores: 1: 400 2: 400 3: 400 4: 400
    5: 400 6: 400 7: 500 8: 400
Graphics:
  Device-1: Intel WhiskeyLake-U GT2 [UHD Graphics 620] driver: i915 v: kernel
  Device-2: Microdia USB Live camera driver: snd-usb-audio,uvcvideo
    type: USB
  Display: x11 server: X.Org v: 21.1.10 driver: X: loaded: modesetting
    dri: iris gpu: i915 resolution: 5120x1440~60Hz
  API: OpenGL Message: Unable to show GL data. glxinfo is missing.

Hi @RonaldDuncan,

I think you mean 6.6.10:

Perhaps this helps.

Edit:

If you are able to do this:

…then you should be able to kill the locker process. See here:

https://forum.xfce.org/viewtopic.php?id=16718

(Note: I didn’t read the whole thing, the idea came to me when I looked quickly, so it might not even be relevant.)

Edit #2:

Also see:

https://askubuntu.com/questions/341014/unlock-login-screen-using-command-line

1 Like

Thanks,
I was unable to access unlocking xfce4-screensaver from ssh console / Desktop / Xfce Forums

However, I tested out using https://askubuntu.com/a/921726 and it seems to work perfectly.

Nice have a hopefully reliable way of getting back in.
Thanks once again.

loginctl list-sessions

Which gave me a list of the sessions. There are tty2-7 sessions and a lightdm session. The lightdm session id started with a c e.g. c11 - however unlocking this session did nothing. I needed to unlock the tty7 session to get back in.

$ loginctl list-sessions
SESSION  UID USER    SEAT  TTY  STATE  IDLE SINCE       
     10 1000 rjd     seat0 tty2 online yes  4h 35min ago
     11 1000 rjd     seat0 tty3 online yes  4h 42min ago
     12 1000 rjd     seat0 tty5 online no   -           
     13 1000 rjd     seat0 tty4 online yes  4h 40min ago
     14 1000 rjd     seat0 tty7 active no   -           
    c11  969 lightdm seat0 -    online no   -    

for the above

$ loginctl unlock-session 14

IS it light locker or xfce4screensaver?

See also this thread (And check the conf files)