r/voidlinux • u/aleth_ • Apr 25 '26
Help launching Niri
I get this error and have no idea what to do.
13
Upvotes
r/voidlinux • u/aleth_ • Apr 25 '26
I get this error and have no idea what to do.
10
u/bankroll5441 Apr 25 '26
A.) why are you running it with root? B.)
dbus-run-session niri --session6
u/ByteCraft4Fun Apr 25 '26
AFAIK, you shouldn't try to start niri using Sudo.
The proper command is:
dbus-run-session niri --sessionAlso, you have to install dbus and elogind and start them on boot.
sudo xbps-install -S dbus elogindsudo ln -s /etc/sv/dbus /var/service/sudo ln -s /etc/sv/elogind /var/service/BTW, are you coming from another Linux distro or Windows?
6
u/-mhess- Apr 25 '26
sudo??
2
u/Blank-Inspection13 Apr 25 '26
no need enable elogind service , try disable elogind service 1st . elogind normally being launched by dbus-daemon. Only dbus service need to enable
1
u/The_educate_Canary Jun 07 '26
Did it work? I had the same message and i almost bricked my device
3
u/[deleted] Apr 25 '26
[removed] — view removed comment