chadwm icon indicating copy to clipboard operation
chadwm copied to clipboard

Xsession: unable to launch

Open J4ker opened this issue 7 months ago • 5 comments

I get the below error when I login using the chadwm

Image

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 

J4ker avatar Sep 19 '25 05:09 J4ker

weird, did you chmod them

siduck avatar Sep 19 '25 09:09 siduck

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

J4ker avatar Sep 19 '25 12:09 J4ker

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.

FlutterFraz avatar Nov 10 '25 21:11 FlutterFraz

I ended up wiping Debian clean, installing it withoud KDE Plasma, and it worked no problem

FlutterFraz avatar Nov 24 '25 13:11 FlutterFraz

I ended up wiping Debian clean, installing it withoud KDE Plasma, and it worked no problem

ye, some issue with the display manager 😭

siduck avatar Nov 24 '25 13:11 siduck