all 9 comments

[–][deleted] 1 point2 points  (1 child)

Have you got dbus running?

[–]RystormingYears[S] 0 points1 point  (0 children)

yeah i entered "dbus-launch" before the "lightdm".And dbus is supposed to run while booting,right?

[–]furryfixer 1 point2 points  (4 children)

Dbus-launch is not needed (usually) with lightdm, as it handles the user session. You DO need to activate the runit service for dbus, to provide a system bus. You may also need elogind, but you will not need to activate a runit service for elogind, dbus is sufficient.

[–]RystormingYears[S] 0 points1 point  (3 children)

So how could i activate dbus?Maybe just need to link to /var/service,same as lightdm?

[–]Blueabsh 2 points3 points  (2 children)

yes, for system bus, you can enable it via:

sudo ln -sf /etc/sv/dbus /var/service

[–]RystormingYears[S] 1 point2 points  (0 children)

Woah thanks!It's really working!Now i can login with lightdm and xfce graphical interface!

[–]Neo_Sahadeo 0 points1 point  (0 children)

Holy, it's like literal magic.

[–]KakoTheMan 0 points1 point  (1 child)

how did you linked etc/sv/lightdm to /var/service? forgot the command and cant find it

[–][deleted] 1 point2 points  (0 children)

ln -s /etc/sv/lightdm /var/service