Xsession: unable to launch
I get the below error when I login using the chadwm
Even though I have all the correct configs as per the readme, I don't understand why I get the above error. I have chmod all the scripts and the chadwm.desktop as well
I am on debian13
alex@machine-lan:~/.config/chadwm/scripts$ ls -alh
total 32K
drwxrwxr-x 4 alex alex 4.0K Sep 18 23:59 .
drwxrwxr-x 6 alex alex 4.0K Sep 18 23:18 ..
-rwxrwxr-x 1 alex alex 1.6K Sep 18 23:45 bar.sh
drwxrwxr-x 2 alex alex 4.0K Sep 18 23:18 bar_themes
-rwxrwxr-x 1 alex alex 2.8K Sep 18 23:18 fetch
drwxrwxr-x 2 alex alex 4.0K Sep 18 23:18 license
-rwxrwxr-x 1 alex alex 239 Sep 18 23:59 run.sh
alex@machine-lan:/usr/share/xsessions$ ls -alh
total 40K
drwxr-xr-x 2 root root 4.0K Sep 19 00:13 .
drwxr-xr-x 332 root root 12K Sep 18 23:24 ..
-rwxr-xr-x 1 root root 115 Sep 19 00:13 chadwm.desktop
-rw-r--r-- 1 root root 103 Aug 26 17:15 dwm.desktop
-rw-r--r-- 1 root root 8.0K Apr 18 00:11 gnome-xorg.desktop
-rw-r--r-- 1 root root 7.8K Apr 18 00:11 gnome.desktop
alex@machine-lan:/usr/share/xsessions$ cat chadwm.desktop
[Desktop Entry]
Name=chadwm
Comment=dwm made beautiful
Exec= /home/alex/.config/chadwm/scripts/run.sh
Type=Application
weird, did you chmod them
yes I chmod them
cd ~/.config/chadwm/scripts/ && chmod +x run.sh bar.sh
sudo chmod +x /usr/share/xsessions/chadwm.desktop
i couldn't find why it can't find the files even though its right there
Iget this when I run the run.sh inside of the GNOME
bash run.sh
dwm: another window manager is already running
[ 09/19/25 17:57:04.643 sanitize_options ERROR ] Backend not specified. You must choose one explicitly. Valid ones are:
[ 09/19/25 17:57:04.643 sanitize_options ERROR ] dummy
[ 09/19/25 17:57:04.643 sanitize_options ERROR ] xrender
[ 09/19/25 17:57:04.643 sanitize_options ERROR ] egl
[ 09/19/25 17:57:04.643 sanitize_options ERROR ] glx
[ 09/19/25 17:57:04.643 session_init FATAL ERROR ] Failed to get configuration, usually mean you have specified invalid options.
[ 09/19/25 17:57:04.643 main FATAL ERROR ] Failed to create new session.
this is my run.sh file
#!/bin/sh
xrdb merge ~/.Xresources
xbacklight -set 10 &
feh --bg-fill ~/Pictures/wall/gruv.png &
xset r rate 200 50 &
picom &
dash ~/.config/chadwm/scripts/bar.sh &
while type chadwm >/dev/null; do chadwm && continue || break; done
same here. I can start it with xstartx from console, but the .desktop doesn't work, in the sense that it will not find the run.sh
I have a Ubuntu Chadwm perfectly running, but on a new debian 13 install it is presenting this error.
I ended up wiping Debian clean, installing it withoud KDE Plasma, and it worked no problem
I ended up wiping Debian clean, installing it withoud KDE Plasma, and it worked no problem
ye, some issue with the display manager 😭