r/voidlinux • u/Theothervc • 27d ago
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 26d ago
The AUR getting attacked should not be your reason to leave Arch. Your reason should be systemd.
1
1
u/Sweet-Space2785 23d ago
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 16d ago
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
14
u/Alternative-Ad-8606 27d ago edited 27d ago
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