Xfce 4.20 screensaver and locking

I disabled screensaver and lock screen in settings completely.
However after 5 min. the screen is turning black. Is this a bug in xfce 4.20 ?
It’s rather annoying when you’re watching a show so there’s no mouse or keyboard action.
Anyone experiencing the same and perhaps already know a solution ?

These services are masked with commands

sudo systemctl mask sleep.target suspend.target hibernate.target hybrid-sleep.target

/etc/systemd/sleep.conf has these entries

[Sleep]
AllowSuspend=no
AllowHibernation=no
AllowSuspendThenHibernate=no
AllowHybridSleep=no

inxi -zv8

Summary
System:
  Kernel: 6.12.11-1-MANJARO arch: x86_64 bits: 64 compiler: gcc v: 14.2.1
    clocksource: tsc avail: hpet,acpi_pm
    parameters: BOOT_IMAGE=/@/boot/vmlinuz-6.12-x86_64
    root=UUID=07cd6e1a-a41e-4dff-980a-ab7cdaa5cfa4 rw rootflags=subvol=@
    udev.log_priority=3
  Desktop: Xfce v: 4.20.0 tk: Gtk v: 3.24.43 wm: xfwm4 v: 4.20.0
    with: xfce4-panel tools: avail: xfce4-screensaver vt: 7 dm: LightDM
    v: 1.32.0 Distro: Manjaro base: Arch Linux
Machine:
  Type: Desktop System: ASUS product: N/A v: N/A serial: <superuser required>
  Mobo: ASUSTeK model: ROG STRIX B560-F GAMING WIFI v: Rev 1.xx
    serial: <superuser required> part-nu: SKU uuid: <superuser required>
    UEFI: American Megatrends v: 1017 date: 07/12/2021
Battery:
  Message: No system battery data found. Is one present?
Memory:
  System RAM: total: 32 GiB available: 31.11 GiB used: 10.93 GiB (35.1%)
  Message: For most reliable report, use superuser + dmidecode.
  Array-1: capacity: 64 GiB slots: 4 modules: 2 EC: None
    max-module-size: 16 GiB note: est.
  Device-1: Controller0-ChannelA-DIMM0 type: no module installed
  Device-2: Controller0-ChannelA-DIMM1 type: DDR4 detail: synchronous
    size: 16 GiB speed: spec: 2133 MT/s actual: 3600 MT/s volts: note: check
    curr: 1 min: 1 max: 1 width (bits): data: 64 total: 64
    manufacturer: Corsair part-no: CMK32GX4M2D3600C18 serial: N/A
  Device-3: Controller0-ChannelB-DIMM0 type: no module installed
  Device-4: Controller0-ChannelB-DIMM1 type: DDR4 detail: synchronous
    size: 16 GiB speed: spec: 2133 MT/s actual: 3600 MT/s volts: note: check
    curr: 1 min: 1 max: 1 width (bits): data: 64 total: 64
    manufacturer: Corsair part-no: CMK32GX4M2D3600C18 serial: N/A
PCI Slots:
  Permissions: Unable to run dmidecode. Root privileges required.
CPU:
  Info: model: 11th Gen Intel Core i7-11700K bits: 64 type: MT MCP
    arch: Rocket Lake gen: core 11 level: v4 note: check built: 2021+
    process: Intel 14nm family: 6 model-id: 0xA7 (167) stepping: 1
    microcode: 0x62
  Topology: cpus: 1x dies: 1 clusters: 8 cores: 8 threads: 16 tpc: 2
    smt: enabled cache: L1: 640 KiB desc: d-8x48 KiB; i-8x32 KiB L2: 4 MiB
    desc: 8x512 KiB L3: 16 MiB desc: 1x16 MiB
  Speed (MHz): avg: 800 min/max: 800/4900:5000 scaling: driver: intel_pstate
    governor: powersave cores: 1: 800 2: 800 3: 800 4: 800 5: 800 6: 800 7: 800
    8: 800 9: 800 10: 800 11: 800 12: 800 13: 800 14: 800 15: 800 16: 800
    bogomips: 115232
  Flags: 3dnowprefetch abm acpi adx aes aperfmperf apic arat
    arch_capabilities arch_perfmon art avx avx2 avx512_bitalg avx512_vbmi2
    avx512_vnni avx512_vpopcntdq avx512bw avx512cd avx512dq avx512f
    avx512ifma avx512vbmi avx512vl bmi1 bmi2 bts clflush clflushopt cmov
    constant_tsc cpuid cpuid_fault cx16 cx8 de ds_cpl dtes64 dtherm dts epb
    ept ept_ad erms est f16c flexpriority flush_l1d fma fpu fsgsbase fsrm
    fxsr gfni ht hwp hwp_act_window hwp_epp hwp_notify hwp_pkg_req ibpb ibrs
    ibrs_enhanced ida intel_pt invpcid lahf_lm lm mca mce md_clear mmx
    monitor movbe mpx msr mtrr nonstop_tsc nopl nx ospke pae pat pbe pcid
    pclmulqdq pdcm pdpe1gb pebs pge pku pln pni popcnt pse pse36 pts rdpid
    rdrand rdseed rdtscp rep_good sdbg sep sha_ni smap smep smx ss ssbd sse
    sse2 sse4_1 sse4_2 ssse3 stibp syscall tm tm2 tpr_shadow tsc tsc_adjust
    tsc_deadline_timer tsc_known_freq umip vaes vme vmx vnmi vpclmulqdq vpid
    x2apic xgetbv1 xsave xsavec xsaveopt xsaves xtopology xtpr
  Vulnerabilities:
  Type: gather_data_sampling mitigation: Microcode
  Type: itlb_multihit status: Not affected
  Type: l1tf status: Not affected
  Type: mds status: Not affected
  Type: meltdown status: Not affected
  Type: mmio_stale_data mitigation: Clear CPU buffers; SMT vulnerable
  Type: reg_file_data_sampling status: Not affected
  Type: retbleed mitigation: Enhanced IBRS
  Type: spec_rstack_overflow status: Not affected
  Type: spec_store_bypass mitigation: Speculative Store Bypass disabled via
    prctl
  Type: spectre_v1 mitigation: usercopy/swapgs barriers and __user pointer
    sanitization
  Type: spectre_v2 mitigation: Enhanced / Automatic IBRS; IBPB:
    conditional; RSB filling; PBRSB-eIBRS: SW sequence; BHI: SW loop, KVM: SW
    loop
  Type: srbds status: Not affected
  Type: tsx_async_abort status: Not affected
Graphics:
  Device-1: Intel RocketLake-S GT1 [UHD Graphics 750] vendor: ASUSTeK
    driver: i915 v: kernel alternate: xe arch: Xe process: Intel 10nm
    built: 2020-21 ports: active: HDMI-A-1 empty: DP-1,HDMI-A-2
    bus-ID: 00:02.0 chip-ID: 8086:4c8a class-ID: 0300
  Display: x11 server: X.org v: 1.21.1.15 compositor: xfwm4 v: 4.20.0
    driver: X: loaded: modesetting alternate: fbdev,vesa dri: iris gpu: i915
    display-ID: :0.0 note: <missing: xdpyinfo/xrandr>
  Monitor-1: HDMI-A-1 model: Idek Iiyama PLE2472HD serial: <filter>
    built: 2010 res: 1920x1080 dpi: 92 gamma: 1.2 chroma: red: x: 0.639 y: 0.349
    green: x: 0.333 y: 0.608 blue: x: 0.149 y: 0.055 white: x: 0.314 y: 0.329
    size: 531x299mm (20.91x11.77") diag: 609mm (24") ratio: 16:9
    modes: 1920x1080, 1600x1200, 1680x1050, 1280x1024, 1280x960, 1152x864,
    1152x720, 1024x768, 832x624, 800x600, 640x480, 720x400
  API: EGL v: 1.5 hw: drv: intel iris platforms: device: 0 drv: iris
    device: 1 drv: swrast gbm: drv: iris surfaceless: drv: iris x11: drv: iris
    inactive: wayland
  API: OpenGL v: 4.6 compat-v: 4.5 vendor: intel mesa v: 24.3.4-arch1.1
    glx-v: 1.4 direct-render: yes renderer: Mesa Intel Graphics (RKL GT1)
    device-ID: 8086:4c8a memory: 15.19 GiB unified: yes
  Info: Tools: api: eglinfo,glxinfo de: xfce4-display-settings x11: xprop
Audio:
  Device-1: Intel Tiger Lake-H HD Audio vendor: ASUSTeK driver: snd_hda_intel
    v: kernel alternate: snd_soc_avs,snd_sof_pci_intel_tgl bus-ID: 00:1f.3
    chip-ID: 8086:43c8 class-ID: 0403
  API: ALSA v: k6.12.11-1-MANJARO status: kernel-api with: aoss
    type: oss-emulator tools: alsactl,alsamixer,amixer
  Server-1: PipeWire v: 1.2.7 status: active with: 1: pipewire-pulse
    status: active 2: wireplumber status: active 3: pipewire-alsa type: plugin
    4: pw-jack type: plugin tools: pactl,pw-cat,pw-cli,wpctl
Network:
  Device-1: Intel Tiger Lake PCH CNVi WiFi driver: iwlwifi v: kernel
    bus-ID: 00:14.3 chip-ID: 8086:43f0 class-ID: 0280
  IF: wlo1 state: down mac: <filter>
  Device-2: Intel Ethernet I225-V vendor: ASUSTeK driver: igc v: kernel
    pcie: gen: 2 speed: 5 GT/s lanes: 1 port: N/A bus-ID: 03:00.0
    chip-ID: 8086:15f3 class-ID: 0200
  IF: enp3s0 state: up speed: 1000 Mbps duplex: full mac: <filter>
  IP v4: <filter> type: dynamic noprefixroute scope: global
    broadcast: <filter>
  IP v6: <filter> type: temporary dynamic scope: global
  IP v6: <filter> type: dynamic mngtmpaddr noprefixroute scope: global
  IP v6: <filter> type: temporary dynamic scope: global
  IP v6: <filter> type: dynamic mngtmpaddr noprefixroute scope: global
  IP v6: <filter> type: noprefixroute scope: link
  Info: services: NetworkManager, sshd, systemd-timesyncd
  WAN IP: <filter>
Bluetooth:
  Device-1: Intel AX201 Bluetooth driver: btusb v: 0.8 type: USB rev: 2.0
    speed: 12 Mb/s lanes: 1 mode: 1.1 bus-ID: 1-14:8 chip-ID: 8087:0026
    class-ID: e001
  Report: rfkill ID: hci0 rfk-id: 0 state: up address: see --recommends
Logical:
  Message: No logical block device data found.
RAID:
  Message: No RAID data found.
Drives:
  Local Storage: total: 7.28 TiB used: 3.57 TiB (49.1%)
  SMART Message: Unable to run smartctl. Root privileges required.
  ID-1: /dev/nvme0n1 maj-min: 259:1 vendor: Samsung model: SSD 980 PRO 1TB
    size: 931.51 GiB block-size: physical: 512 B logical: 512 B speed: 63.2 Gb/s
    lanes: 4 tech: SSD serial: <filter> fw-rev: 3B2QGXA7 temp: 27.9 C
    scheme: GPT
  ID-2: /dev/nvme1n1 maj-min: 259:0 vendor: Samsung model: SSD 980 PRO 1TB
    size: 931.51 GiB block-size: physical: 512 B logical: 512 B speed: 63.2 Gb/s
    lanes: 4 tech: SSD serial: <filter> fw-rev: 3B2QGXA7 temp: 28.9 C
    scheme: GPT
  ID-3: /dev/sda maj-min: 8:0 vendor: Western Digital
    model: WD60EFAX-68JH4N1 size: 5.46 TiB block-size: physical: 4096 B
    logical: 512 B speed: 6.0 Gb/s tech: HDD rpm: 5400 serial: <filter>
    fw-rev: 0A83 scheme: GPT
  Message: No optical or floppy data found.
Partition:
  ID-1: / raw-size: 100 GiB size: 100 GiB (100.00%) used: 8.64 GiB (8.6%)
    fs: btrfs dev: /dev/nvme1n1p2 maj-min: 259:4 label: N/A
    uuid: 07cd6e1a-a41e-4dff-980a-ab7cdaa5cfa4
  ID-2: /boot/efi raw-size: 1024 MiB size: 1022 MiB (99.80%)
    used: 584 KiB (0.1%) fs: vfat dev: /dev/nvme1n1p1 maj-min: 259:3 label: N/A
    uuid: 3DF3-620B
  ID-3: /data raw-size: 830.51 GiB size: 830.51 GiB (100.00%)
    used: 5.8 MiB (0.0%) fs: btrfs dev: /dev/nvme1n1p3 maj-min: 259:5 label: N/A
    uuid: ecaa4c32-2d98-4fa1-baef-e37a070d32dd
  ID-4: /home raw-size: 100 GiB size: 100 GiB (100.00%)
    used: 8.64 GiB (8.6%) fs: btrfs dev: /dev/nvme1n1p2 maj-min: 259:4
    label: N/A uuid: 07cd6e1a-a41e-4dff-980a-ab7cdaa5cfa4
  ID-5: /storage raw-size: 931.51 GiB size: 931.51 GiB (100.00%)
    used: 404.68 GiB (43.4%) fs: btrfs dev: /dev/nvme0n1p1 maj-min: 259:2
    label: N/A uuid: 86ab2e05-d7fb-4c4d-a76f-85e44feb0dbb
  ID-6: /var/cache raw-size: 100 GiB size: 100 GiB (100.00%)
    used: 8.64 GiB (8.6%) fs: btrfs dev: /dev/nvme1n1p2 maj-min: 259:4
    label: N/A uuid: 07cd6e1a-a41e-4dff-980a-ab7cdaa5cfa4
  ID-7: /var/log raw-size: 100 GiB size: 100 GiB (100.00%)
    used: 8.64 GiB (8.6%) fs: btrfs dev: /dev/nvme1n1p2 maj-min: 259:4
    label: N/A uuid: 07cd6e1a-a41e-4dff-980a-ab7cdaa5cfa4
  ID-8: /wd6tb raw-size: 5.46 TiB size: 5.46 TiB (100.00%)
    used: 3.17 TiB (58.1%) fs: btrfs dev: /dev/sda1 maj-min: 8:1 label: N/A
    uuid: cc4d8185-6f7c-4009-8574-ef2f3f65aa10
Swap:
  Kernel: swappiness: 60 (default) cache-pressure: 100 (default) zswap: no
  ID-1: swap-1 type: zram size: 31.11 GiB used: 0 KiB (0.0%) priority: 100
    comp: zstd avail: lzo-rle,lzo,lz4,lz4hc,deflate,842 max-streams: 16
    dev: /dev/zram0
Unmounted:
  Message: No unmounted partitions found.
USB:
  Hub-1: 1-0:1 info: hi-speed hub with single TT ports: 16 rev: 2.0
    speed: 480 Mb/s (57.2 MiB/s) lanes: 1 mode: 2.0 chip-ID: 1d6b:0002
    class-ID: 0900
  Hub-2: 1-6:2 info: ASMedia ASM1074 High-Speed hub ports: 4 rev: 2.1
    speed: 480 Mb/s (57.2 MiB/s) lanes: 1 mode: 2.0 power: 100mA
    chip-ID: 174c:2074 class-ID: 0900
  Device-1: 1-6.4:4 info: Logitech Mouse type: mouse
    driver: hid-generic,usbhid interfaces: 1 rev: 2.0
    speed: 1.5 Mb/s (183 KiB/s) lanes: 1 mode: 1.0 power: 100mA
    chip-ID: 046d:c077 class-ID: 0301
  Hub-3: 1-9:3 info: VIA Labs USB2.0 Hub ports: 4 rev: 2.1
    speed: 480 Mb/s (57.2 MiB/s) lanes: 1 mode: 2.0 chip-ID: 2109:2817
    class-ID: 0900
  Device-1: 1-9.4:7 info: Metadot Das Keyboard 6 Pro type: keyboard,mouse
    driver: hid-generic,usbhid interfaces: 2 rev: 2.0 speed: 12 Mb/s (1.4 MiB/s)
    lanes: 1 mode: 1.1 power: 500mA chip-ID: 24f0:20a1 class-ID: 0301
  Hub-4: 1-10:5 info: Genesys Logic Hub ports: 4 rev: 2.0
    speed: 480 Mb/s (57.2 MiB/s) lanes: 1 mode: 2.0 power: 100mA
    chip-ID: 05e3:0608 class-ID: 0900
  Device-1: 1-11:6 info: ASUSTek AURA LED Controller type: HID
    driver: hid-generic,usbhid interfaces: 2 rev: 2.0 speed: 12 Mb/s (1.4 MiB/s)
    lanes: 1 mode: 1.1 power: 16mA chip-ID: 0b05:19af class-ID: 0300
    serial: <filter>
  Device-2: 1-14:8 info: Intel AX201 Bluetooth type: bluetooth driver: btusb
    interfaces: 2 rev: 2.0 speed: 12 Mb/s (1.4 MiB/s) lanes: 1 mode: 1.1
    power: 100mA chip-ID: 8087:0026 class-ID: e001
  Hub-5: 2-0:1 info: super-speed hub ports: 5 rev: 3.1
    speed: 20 Gb/s (2.33 GiB/s) lanes: 2 mode: 3.2 gen-2x2 chip-ID: 1d6b:0003
    class-ID: 0900
  Hub-6: 2-5:2 info: ASMedia ASM1074 SuperSpeed hub ports: 4 rev: 3.0
    speed: 5 Gb/s (596.0 MiB/s) lanes: 1 mode: 3.2 gen-1x1 power: 8mA
    chip-ID: 174c:3074 class-ID: 0900
Sensors:
  System Temperatures: cpu: 28.0 C mobo: N/A
  Fan Speeds (rpm): N/A
Repos:
  Packages: pm: pacman pkgs: 1108 libs: 333 tools: pamac,yay
  Active pacman repo servers in: /etc/pacman.d/mirrorlist
    1: https://manjaro.kurdy.org/stable/$repo/$arch
    2: https://manjaro.mirrors.lavatech.top/stable/$repo/$arch
    3: https://mirror.23m.com/manjaro/stable/$repo/$arch
    4: https://ftp.halifax.rwth-aachen.de/manjaro/stable/$repo/$arch
    5: https://ftp.gwdg.de/pub/linux/manjaro/stable/$repo/$arch
    6: https://mirror.alpix.eu/manjaro/stable/$repo/$arch
    7: https://mirror.netcologne.de/manjaro/stable/$repo/$arch
Processes:
  CPU top: 5 of 397
  1: cpu: 16.5% command: VirtualBoxVM pid: 2561 mem: 4840.9 MiB (15.1%)
  2: cpu: 4.7% command: Xorg pid: 937 mem: 120.5 MiB (0.3%)
  3: cpu: 4.6% command: VBoxSVC pid: 2083 mem: 52.7 MiB (0.1%)
  4: cpu: 3.4% command: VirtualBoxVM pid: 2125 mem: 929.0 MiB (2.9%)
  5: cpu: 0.8% command: xfwm4 pid: 1185 mem: 63.7 MiB (0.2%)
  Memory top: 5 of 397
  1: mem: 4840.9 MiB (15.1%) command: VirtualBoxVM pid: 2561 cpu: 16.5%
  2: mem: 929.0 MiB (2.9%) command: VirtualBoxVM pid: 2125 cpu: 3.4%
  3: mem: 237.3 MiB (0.7%) command: konsole pid: 5015 cpu: 0.3%
  4: mem: 222.2 MiB (0.6%) command: VirtualBox pid: 3316 cpu: 0.4%
  5: mem: 120.5 MiB (0.3%) command: Xorg pid: 937 cpu: 4.7%
Info:
  Processes: 397 Power: uptime: 1h 38m states: freeze,mem,disk suspend: deep
    avail: s2idle wakeups: 0 hibernate: platform avail: shutdown, reboot,
    suspend, test_resume image: 12.43 GiB
    services: upowerd,xfce4-power-manager Init: systemd v: 257
    default: graphical tool: systemctl
  Compilers: gcc: 14.2.1 Shell: Bash v: 5.2.37 running-in: konsole
    inxi: 3.3.37

Hi @stormschip,

Most likely this:

Already done but the effect is the same. Screen turned black.
Imho this is when 4.20 was installed.

Well, seeing as I’m on Plasma…

:man_shrugging:

right you mean you have a plasma desktop ?
I mean this not a manjaro issue however is this bug known to the xfce devs and hopefully a solution ? It’s easy for me to use a plasma desktop however i’ve used xfce for quit a few years. Never had problems with it

lockscreen

In Power Manager → Display tab - uncheck the Display power management.

power

Thanks but did that already. Same behaviour on eos. Imho xfce 4.20 issue

I had the same problem and I need to enable the system tray icon in xfce4-power-manager-settings and click on the icon to activate presentation mode. Without that, my screen will lock whatever the other options.

3 Likes

Thanks, it helped. Hope the bug will be solved in future xfce releases.
Configured it in all vm’s and tested it … no black screens anymore

I just want to note Presentation mode is not a solution, but a workaround at best if any. Most probably the problem is in xfce4-screensaver because i have never had it installed instead i use the “old” light-locker and it works fine).

1 Like

Yes, I think it’s a bug with the new method:

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.

1 Like

I don’t have xfce4-screensaver installed, but it still happens. The only way I found around it is the Presentation Mode.

If Manjaro XFCE was installed before Dec 2023 it might still be using light-locker to lock screen

ArchWiki - Xfce - Session - Lock the Screen

xflock4 is the reference Shell script which is used to lock an Xfce session.

It tries to lock the screen with either xfce4-screensaver, xscreensaver or light-locker.
It consecutively looks for the corresponding binary or exits with return code 1 if it fails to find any of these.

1 Like

no more light-locker with Xfce 4.20.
with version xfce4-screensaver 4.18.4-2 (xfce4-goodies),

login after suspend screen is ok ( no more black screen with mouse for nvidia cards , this trouble during more than one year , only restart lightdm was working )

It also works fine if you have neither xfce4-screensaver nor the now unsupported light-locker installed.

1 Like

Most of the Xfce users in this and other topics have been using light-locker for a few years with no problems, but if it is not working with Xfce 4.20 it should be uninstalled

xfce4-screensaver has better options for screen blanking and locking, but I still need Presentation Mode to watch full screen videos in Firefox