Instant logout with i3/bspwm

Hello!
Does anyone knows how to fix the instant logout from i3/bspwm on non-LTS/Hardened kernels?
It seems that at least for me i3 and bspwm only work with LTS kernel.
GPU : IntelHD first gen

Try a liiiiiiiiiiiiiiiittle more info. Hardware info, logs, you know, the usual…

1 Like

I’ve solved the issue.
I’m not 100% sure how (since apparently I can’t re-created it right now lol).

I’ve edited/created the monitor.sh script in the ~/.screenlayout/ (you can use also ArandR with gui to do this, it’s imperative that you name the file monitor.sh)

My monitor.sh (it’s set to VGA1 and 1600x900 as resolution)

#!/bin/sh
xrandr --output DP1 --off --output DP2 --off --output HDMI1 --off --output HDMI2 --off --output VGA1 --primary --mode 1600x900 --pos 0x0 --rotate normal --output VIRTUAL1 --off

It appears that xrandr was booting me out of the session when trying to determine my resolution on newer kernels.

You actually need to do this in EndeavourOS i3. It is required for full functionality. Please read the wiki:

5 Likes

This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.