Makrennel / hyprland-void

void linux hyprland templates for building with xbps-src
Other
114 stars 11 forks source link

Can't start hyprland #40

Closed Baturax closed 4 months ago

Baturax commented 4 months ago

I installed and everything worked fine. but when i try to start Hyprland it gives error. I also isntalled and started elogind. [CRITICAL] Critical error thrown: XDG_RUNTIME_DIR is not set! terminate called after throwing an instance of 'std::runtime_error' what(): XDG_RUNTIME_DIR is not set! fish: Job 1, 'Hyprland' terminated by signal SIGABRT (Abort)

Baturax commented 4 months ago

btw i set xdg using this: echo "export XDG_RUNTIME_DIR=/run/user/$(id -u)" >> ~/.bashrc but now got another error. hyprlandCrashReport13603.txt

Baturax commented 4 months ago

okay sorry for this. it was my bad. i set it to /tmp and worked now.

Makrennel commented 4 months ago

Yeah, elogind or systemd is usually used to automatically set this environment variable, otherwise you have to set it yourself if you're only using seatd by itself.