Hi Prescott

> It's been a while but luckily I've kept all my config changes in a git repo!

Thank you for your quick response and being able to dig this up!

> >How do you select to start bspwm: via a menu in your DM, after logging into 
> >your DM, from your ~/.xsession, ~/.xinitrc, etc.?  

> So I start bspwm by running `startx` at boot and had `exec bspwm` as the WM 
> launch command

This might be the crucial point: I’m guessing you are using ~/.xinitrc?
If you can reproduce the issue with ~/.xinitrc, could you test whether it also 
occurs when you use ~/.xsession instead (i.e. remove ~/.xinitrc!)?
AFAICT /etc/X11/Xsession.d/95dbus_update-activation-env sets up dbus correctly 
but everything in /etc/X11/Xsession* is only active if startx runs 
/etc/X11/xinit/xinitrc and it will not if ~/.xinitrc exists.

Thank you

henk

On Fri, 24 Feb 2023 11:25:16 -0600
Prescott HM <presc...@hidalgo-monroy.com> wrote:

> >I’m thinking your (dbus) environment is not initialized correctly when
> >starting your X-session. How do you start it?
> >Do you use some Display Manager, like xdm, gdm, etc.?
> >How do you select to start bspwm: via a menu in your DM, after logging into
> >your DM, from your ~/.xsession, ~/.xinitrc, etc.?  
> 
> It's been a while but luckily I've kept all my config changes in a git repo!
> 
> So I start bspwm by running `startx` at boot and had `exec bspwm` as the WM
> launch command, but had gotten it fixed by correctly starting it with `exec
> dbus- run-session -- bspwm`.
> 
> I think the biggest issue was as someone new to trying out lauching a 
> graphical
> session without a display manager, there really wasn't any indication of
> what exactly is needed to manually start that's taken for granted. It finally
> clicked when I started using other programs that require a D-Bus environment,
> and trying out Void Linux on some machines had me going through their docs
> where it's clearly stated that a session bus may be required for some 
> software.

Reply via email to