Jump to content

Startx or BSPWM seems to not be working


Go to solution Solved by Falken,

Recommended Posts

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."
 

Edited by Falken
Further info
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...

Important Information

Terms of Use - Privacy Policy - Guidelines