Hi all.
I am trying to autologin and auto startx BSPWM but all I get is a black screen when calling startx.
Here's my .bash_profile
if [ -z "${DISPLAY}" ] && [ "${XDG_VTNR}" -eq 1 ]; then
exec startx
fi
The bspwmrc has permissions 700. Permissions on sxhkdrc is 600. I even gave execute permissions to .xinitrc (below).
#!/bin/sh
. /etc/X11/Xsession
polybar default &
sxhkd &
exec bspwm
It happens if I manually call it, and even when I explicitly tell it to start bspwm (i.e. startx bspwm). The stdout catches a "the command line or make sure that /usr/binis in your path."