Artix Linux Forum

Artix Linux => Applications & Software => Topic started by: vonhun on 30 November 2021, 12:10:22

Title: startx only starts dwm
Post by: vonhun on 30 November 2021, 12:10:22
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.
Title: Re: startx only starts dwm
Post by: strajder on 30 November 2021, 16:32:19
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
Title: Re: startx only starts dwm
Post by: vonhun on 30 November 2021, 17:17:32
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.