Other 14.2 - Hyprland - hyprctl only works for root

I'm unable to utilize hyprctl monitors for example due to the .socket & .socket2 not being spawned upon launching hyprland from command line as a normal user. If I login with the root account I don't have any issues launching.

/var/run/xdg/$USER/hypr/hyprland signature/.socket . sock.

Receive an error stating could not connect to the two sockets that are missing.
 
I figured it out. you need to launch with

dbus-launch exit-with-session ck-launch-session hyprland

No issues now. 🙌
Upon a fresh install I determined that seated is the issue. I disable seated in rc.conf and I installed consolekit2 and Basu hyperctl monitors works without issue.
 
I couldn't get at the launch otherwise. I was throwing a debus errors launching as it sits with that command it watches without an issue.
 
It works and maybe ill get less error and crashing. Time will tell.
P.s. i was able to start Hyprland without all these commands - just used Hyprland :)
btw this is how i used to launching it:
➜ hyprland --config ~/.config/hypr/hyprland.conf 2>~/.hyprland.err >~/.hyprland.log

after adding dbus command for testing:
➜ dbus-launch --exit-with-session ck-launch-session hyprland --config ~/.config/hypr/hyprland.conf 2>~/.hyprland.err >~/.hyprland.log
 
FreeBSD 15 - Hyprland works amazing now.

Ensure your part of the video group and enable seated in rc.conf and start from command line with hyprland.

Seatd issues have been resolved.
 
Back
Top