Artix Linux Forum

Init systems => runit => Topic started by: JamesLowry1289 on 21 August 2020, 15:36:30

Title: How to change display manager?
Post by: JamesLowry1289 on 21 August 2020, 15:36:30
I installed Artix cinnamon with runit.
Now I switch to herbstluftwm and want to try out other display managers (slim and cdm...)
Arch wiki only give method using systemd.
I tried reading runit's documents and what's inside /etc/runit but can't figure things out.
I have no experience with runit.
What should I do to change my display manager?
Title: Re: How to change display manager?
Post by: artoo on 21 August 2020, 18:04:06
Afaik, we do not have a herbstluft runit service in our repos, or any support of a particular "fringe" DM.

As things are, you would need to read more runit documentation and create a runit service.
Title: Re: How to change display manager?
Post by: JamesLowry1289 on 22 August 2020, 08:14:48
Afaik, we do not have a herbstluft runit service in our repos, or any support of a particular "fringe" DM.

As things are, you would need to read more runit documentation and create a runit service.

Thanks, I'll try it later.
Title: Re: How to change display manager?
Post by: negative on 22 August 2020, 08:15:45
slim has a runit service in artix

Code: [Select]
world/slim-runit 20200523-1 (runit-world)
    runit service scripts for slim

in order to run a runit service, install one with "-runit" as the one above.

to enable service, you must create a symlink from the runit directorty (/etc/runit/sv/<service name, aka slim>) to /etc/runit/runsvdir/default

to remove a service, just delete it from /etc/runit/runsvdir/default

https://wiki.artixlinux.org/Main/Runit
Title: Re: How to change display manager?
Post by: JamesLowry1289 on 24 August 2020, 10:46:28
to enable service, you must create a symlink from the runit directorty (/etc/runit/sv/<service name, aka slim>) to /etc/runit/runsvdir/default
Thanks, was trying to figure that out, but that didn't work.
After loggin in, whichever DE I choose, it only shows slim's wallpapar and a few xterm instances.
If I close all the xterm windows, it goes back to slim log in screen.
Title: Re: How to change display manager?
Post by: negative on 25 August 2020, 07:58:41
Thanks, was trying to figure that out, but that didn't work.
After loggin in, whichever DE I choose, it only shows slim's wallpapar and a few xterm instances.
If I close all the xterm windows, it goes back to slim log in screen.

so you are able to see the slim login but it wont open your window manager after login?

you need to have "exec <your-window-manager>" in .xinitrc... slim does not "exec" your wm/de like lightdm/sddm/lxdm does.

thsi could be outdated by now, but still good for reference
https://wiki.archlinux.org/index.php/SLiM
Title: Re: How to change display manager?
Post by: JamesLowry1289 on 01 September 2020, 08:20:34
so you are able to see the slim login but it wont open your window manager after login?

you need to have "exec <your-window-manager>" in .xinitrc... slim does not "exec" your wm/de like lightdm/sddm/lxdm does.

thsi could be outdated by now, but still good for reference
https://wiki.archlinux.org/index.php/SLiM
Thanks, it works.