r/voidlinux • • Oct 18 '26

How to disable a service - lightDM

I'm wanting to just boot back to the terminal and them use startx to start a particular window manager. If I just stop lightDM I'm just kicked out of the current session and brought back to the lightDM prompt.

5 Upvotes

7 comments sorted by

5

u/Ok-Zombie4921 Oct 18 '26

sudo rm -rf /var/service/lightdm

1

u/AudioPhil15 Oct 23 '26

No need for the -rf since it's just removing a symlink

-2

u/Simple_Hamster_4096 Oct 18 '26

If you are new to non-systemd inits, it would be advisable to read up. The Void docs explain everything.

This is pretty basic stuff - perhaps a simpler Linux distro would better suit your needs...

16

u/[deleted] Oct 18 '26 • Bravo

[removed] — view removed comment

1

u/StrangerFantastic392 Oct 20 '26

Is /var/service the default? Not /etc/runit/runsvdir/sv? I am linking my services to the last one..

2

u/Rafael_Jacov Oct 21 '26

yes you should link to /var/service in voidlinux