Troubleshooting Tmux

Jan 10, 2022 16:51 · 69 words · 1 minute read linux

For a while now, whenever I ran Tmux in my EXWM session, I always got this annoying warning message:

/usr/lib/Xorg.wrap: Only console users are allowed to run the X serve

The problem lay in my .zlogin file where I had:


I replaced the above with:

[ -z "$DISPLAY" ] && [ $XDG_VTNR -eq 1 ] && exec startx

And now I got rid of the above error message.