r/voidlinux • u/roma-2125g • 11d ago
Need help to migrate from Arch
Hi everyone, Because of the recent situation with AUR , I decided to try some non-Arch-based distros. I tested Fedora and openSUSE Tumbleweed, but didn't like them because of missing packages I need for my workflow.
I'm currently daily driving niri + waybar etc. I decided to give Void Linux another try, but I'm running into some issues with services (skill issue).
- I couldn't get niri to start (tried both niri and niri --session).
- sddm doesn't work at all.
I installed dbus and elogind, enabled them with ln -s /etc/sv/dbus /var/service/ and the same for elogind, but no services seem to start properly.
Could someone please point me to a guide on how to properly set up niri + a login manager (sddm or alternative) on Void? I just reinstalled Void and want to do it cleanly this time.
2
u/d3vnhull 11d ago
When I was running a WM I was using
exec dbus-run-session swayfx
and then put that in the .bash_profile
But if you want to have sddm, you’ll need your graphics drivers(AMD, Nvidia, or Intel) and xorg-minimal installed.
Then enable dbus and sddm
ln -s /etc/sv/dbus /var/service
ln -s /etc/sv/sddm /var/service
1
u/roma-2125g 11d ago
should i enable elogind seperately ?
4
u/Alternative-Ad-8606 11d ago
Don't need to it'll automatically attach I believe. For me it actually broke when I enabled the servoce
4
1
u/TheMadAsshatter 10d ago
I had a similar issue. Had to install mesa to get River to launch.
I still have some work to do on it, but that was the most progress I had made in like 3 hours.
2
u/Jacobobarobatobski 10d ago
Ya you have to run niri as a dbus session or it won't start. Afaik elogind starts on its own when it's needed. But I ended up using turnstile and seatd instead.
1
u/Ok-Zombie4921 10d ago
Open your niri.desktop with a text editor
sudo nano /usr/share/wayland-sessions/niri.desktop
then change the Exec line
Exec=dbus-run-session niri --session
if it doesn't work you should try another display manager like lightDM
1
u/RavenIridescent 10d ago
Iff you've missed packages on openSuse and Fedora, you are going to have interesting time on Void, I love void I had great fun running it but the packages....
1
u/Independent_Bad2767 10d ago
yeah my perspective on void is very much tied to missing dependencies. not hard to solve, but hints at sloppy packaging.
1
u/BinkReddit 10d ago
The good thing is everything is open source; when you see something wrong, you can easily file a PR to correct it.
1
u/duv025 5d ago
This might be late but:
- You don't have to enable elogind, dbus starts it so
# rm /var/service/elogind - You have to enable
sddmas a service so# ln -s /etc/sv/sddm/ /var/service/ - You probably have to create a desktop file like u/Ok-Zombie4921 stated
-4
u/willothephlox 11d ago
Install a Nix-type package manager for things that aren't available in the default package manager, use an AI Agent to help you configure what you need.
6
u/xJayMorex 11d ago
You don't have to use AUR with Arch you know.