Skip to main content
Topic solved
This topic has been marked as solved and requires no further attention.
Topic: startx only starts dwm (Read 969 times) previous topic - next topic
0 Members and 1 Guest are viewing this topic.

startx only starts dwm

I'm trying to switch to xmonad and have this issue. Whenever I type startx, it only starts dwm.
Things I did;
I edited the ~/.xinitrc file to change the "exec dwm" line to "exec xmonad". Also I thought maybe this could be related to xmonad and tried to replace with bspwm but nothing changed.

Re: startx only starts dwm

Reply #1
Are you using X.Org or Wayland? Have you changed /etc/X11/xinit/xinitrc or any other relevant configuration file in your system? Link your initialization files (~/.bashrc and similar). Also link your entire ~/.xinitrc (use https://paste.artixlinux.org).

Related: https://wiki.archlinux.org/title/Xinit

 

Re: startx only starts dwm

Reply #2
I'm using xorg.
I solved the issue, seems like I had multiple xinitrc files. I removed the file and problem solved, thanks for help.