Closed tleydxdy closed 5 years ago
Can you elaborate on what exactly you've done? The wiki article discusses .xinitrc
which sx
doesn't use.
Besides that, it's not immediately obvious why there should be any differences.
that's what I thought. I was adding those config in .config/sx/sxrc, after it didn't work, I copied it to .xinitrc and tried startx and things worked fine. tbh the only reason I could think of is that DISPLAY is 1 instead of 0.
Trying to reason about this and why you might get a permission error is leading me to think of the authority file. Since sx
doesn't use the de facto location of HOME/.Xauthority
try including XAUTHORITY
along with DISPLAY
in your dbus-update-activation-environment
command, e.g.:
dbus-update-activation-environment --systemd DISPLAY XAUTHORITY
I'll try to understand this issue in the mean time if that doesn't work.
that actually worked, thanks!
Oh nice, thanks for the follow up. This also means I don't have to do anything \o/.
I'll update the wiki article as well to mention the need for potential need for XAUTHORITY
.
Starting i3 with config for gnome-keyring according to ArchWiki
startx works fine, but not sx. Using sx still shows: