You are not logged in.

#1 2026-03-08 01:23:04

ZImperator
Member
Registered: 2026-01-11
Posts: 7

[SOLVED] Issue with xfce4 login

I have an issue with xfce4 on my laptop, specifically, when I log in. When my laptop is connected to my external monitor, I keep it closed. However, this seems to bamboozle xfce, which automatically puts my laptop into sleep when I login. This only happens when I log in right after my laptop starts up for the first time. I have to press keys on my keyboard to wake it back up, and this is getting annoying. How do I fix this? Also, please tell me if this is the right board to post this on(I'm not sure if I should post this here or on the laptop board.) Thank you!

Last edited by ZImperator (2026-03-10 14:38:02)

Offline

#2 2026-03-09 02:20:17

IFailALot
Member
Registered: 2024-05-29
Posts: 23

Re: [SOLVED] Issue with xfce4 login

Try this.
Edit the /etc/systemd/logind.conf file and ensure the line that is
HandleLidSwitch=suspend
is changed to
HandleLidSwitch=ignore

cheers

Offline

#3 2026-03-09 08:19:58

seth
Member
From: Don't DM me only for attention
Registered: 2012-09-03
Posts: 74,483

Re: [SOLVED] Issue with xfce4 login

If that's not it, https://archlinux.org/packages/extra/x8 … r-manager/ will most likely intercept logind anyway and handle this and since it's triggered by the login it is likely also responsible for falsely applying that state on login.
Another option would be that xfce intermittently reconfigures the outputs, deactivates the external one and thinks it's time to sleep, but from what I can tell, this hinges more on external power than extern outputs.

Is this on X11 or the experimental wayland backend?

Ftr, https://gitlab.xfce.org/xfce/xfce4-powe … issues/203

Offline

#4 2026-03-10 00:31:52

ZImperator
Member
Registered: 2026-01-11
Posts: 7

Re: [SOLVED] Issue with xfce4 login

seth wrote:

Is this on X11 or the experimental wayland backend?

This is on X11.
Also, I am using lightdm, & so I feel that config issues should be resolved there, but I will still try the logind option.

Offline

#5 2026-03-10 07:55:55

seth
Member
From: Don't DM me only for attention
Registered: 2012-09-03
Posts: 74,483

Re: [SOLVED] Issue with xfce4 login

I doubt this to be related to the DM (try the behavior when starting an openbox session) - or the logind.conf
xfce4-power-manager is optionial - do you have it installed? What happens if you remove it?

Offline

#6 2026-03-10 14:37:13

ZImperator
Member
Registered: 2026-01-11
Posts: 7

Re: [SOLVED] Issue with xfce4 login

IFailALot wrote:

Try this.
Edit the /etc/systemd/logind.conf file and ensure the line that is
HandleLidSwitch=suspend
is changed to
HandleLidSwitch=ignore

cheers

This seems to have worked. Thank you!

Offline

Board footer

Powered by FluxBB