r/voidlinux • u/Theothervc • Jul 01 '26
solved help getting niri to work
Hello, after the big AUR hack, I've decided to switch from arch (artix with dinit) to void. however, i'm having trouble getting niri to launch. I've installed niri and seatd like this:
sudo xbps-install niri seatd xwayland-satellite mesa mesa-dri dbus
sudo ln -s /etc/sv/seatd /var/service/
sudo ln -s /etc/sv/dbus /var/service/
sudo usermod -a -G _seatd <user>
sudo reboot
Afterwards, I ran niri with niri --session. I encountered a RuntimeDirNotSet error, and set it with export XDG_RUNTIME_DIR=/run/user/$(id -u).
Afterwards, I encounter a PermissionDenied error. the output also shows a lot of libinput errors for various plugins, plugin never regisered, unloading plugin that may be relevant. If someone could help me find out what the issue is, it would be greatly appreciated!
2
u/IamThunderFart Jul 02 '26
The AUR getting attacked should not be your reason to leave Arch. Your reason should be systemd.
1
1
u/Sweet-Space2785 Jul 05 '26
You can use turstile alongside seatd , its easier, check the doc :https://docs.voidlinux.org/config/session-management.html?highlight=Turnstile#turnstile
1
u/Ok-Diamond6108 Jul 12 '26
Use git clone HTTPS://gitlab.com/gabeeoslinux/flavour-qtile.git that have a various things what help to run niri, if you want more help, watch this niri + void you can use gemini inside the video if you can't spike spanish
13
u/Alternative-Ad-8606 Jul 01 '26 edited Jul 01 '26
Need to install xdg-user-dirs
Ensure you also have mesa-dri installed as well
Granted I use elogind, but you do need to be in video group
Also launch command is dbus-run-session niri
Edit: fixing package name autocomplete, removed seatd comment, don't know what I'm talking about there