Booting MX-19 with runit

Here is where you can post tips and tricks to share with other users of MX. Do not ask for help in this Forum.
Message
Author
Huckleberry Finn

Re: Booting MX-19 with runit

#21 Post by Huckleberry Finn »

Thank you. I believe you'll make it perfect soon :)

Yesterday I thought to install and try GDM but quit.. Wondering Slim also :)

Huckleberry Finn

Re: Booting MX-19 with runit

#22 Post by Huckleberry Finn »


User avatar
Head_on_a_Stick
Posts: 919
Joined: Sun Mar 17, 2019 3:37 pm

Re: Booting MX-19 with runit

#23 Post by Head_on_a_Stick »

Head_on_a_Stick wrote: Sat Dec 07, 2019 7:36 am It's not perfect because some services are started several times but LightDM runs and the exit dialogue works.
I have a better fix now: just edit /etc/runit/2 and change "/etc/rc2.d" to "/etc/rc5.d".

This command will change the file:

Code: Select all

sudo sed -i -e 's/rc2/rc5/' /etc/runit/2
Then reboot to test.
mod note: Signature removed, please read the forum rules

User avatar
oops
Posts: 1931
Joined: Tue Apr 10, 2018 5:07 pm

Re: Booting MX-19 with runit

#24 Post by oops »

... Not tested yet, but one thing I especially like into sysvinit is: sysv-rc-conf , does an equivalent exist too for runit ?
Pour les nouveaux utilisateurs: Alt+F1 pour le manuel, ou FAQS, MX MANUEL, et Conseils Debian - Info. système “quick-system-info-mx” (QSI) ... Ici: System: MX-19_x64 & antiX19_x32

User avatar
Head_on_a_Stick
Posts: 919
Joined: Sun Mar 17, 2019 3:37 pm

Re: Booting MX-19 with runit

#25 Post by Head_on_a_Stick »

oops wrote: Sat Dec 07, 2019 9:38 am one thing I especially like into sysvinit is: sysv-rc-conf , does an equivalent exist too for runit ?
Yes:

Code: Select all

sudo sysv-rc-conf
:-)

But note that the stock runit package only runs services symlinked to /etc/rc2.d (runlevel 2) because in Debian runlevels 2-5 are identical. MX reserves runlevel 5 for the graphical desktop and their LightDM package only symlikns the init script to /etc/rc5.d, which is why it won't run OOTB.
mod note: Signature removed, please read the forum rules

Huckleberry Finn

Re: Booting MX-19 with runit

#26 Post by Huckleberry Finn »

Head_on_a_Stick wrote: Sat Dec 07, 2019 9:28 amjust edit /etc/runit/2 and change "/etc/rc2.d" to "/etc/rc5.d"
:number1: That's It !!!

Did it manually: "Edit as Root", saved, Rebooted and also tested screen-lock, then suspend with screen-lock...

All Fine ! That simple :D

Thank you so much.

( Maybe MX Team consider an MX-runit version -at least, non-official- :) )

User avatar
Buck Fankers
Posts: 770
Joined: Sat Mar 10, 2018 8:06 pm

Re: Booting MX-19 with runit

#27 Post by Buck Fankers »

Where is the ISO?!? :grin: :wink:

Seriously, someone has to post it, later, when you guys sort everything out, for people like me, that have two left hands... :wink: I hope I can at some point end up with having antiX with runit and Xfce, yay!

Btw, since Void Linux uses Runit exclusively, they probably have some other solutions it they may be needed...

https://docs.voidlinux.org/config/runit/

SwampRabbit
Posts: 3602
Joined: Tue Jun 14, 2016 2:02 pm

Re: Booting MX-19 with runit

#28 Post by SwampRabbit »

Huckleberry wrote: Sat Dec 07, 2019 7:41 am Thank you. I believe you'll make it perfect soon :)

Yesterday I thought to install and try GDM but quit.. Wondering Slim also :)
Slim always worked well for me under Gentoo with OpenRC.

But I see ya’ll found a fix for LightDM possibly already.
NEW USERS START HERE FAQS, MX Manual, and How to Break Your System - Don't use Ubuntu PPAs! Always post your Quick System Info (QSI) when asking for help.

User avatar
Head_on_a_Stick
Posts: 919
Joined: Sun Mar 17, 2019 3:37 pm

Re: Booting MX-19 with runit

#29 Post by Head_on_a_Stick »

Buck Fankers wrote: Sat Dec 07, 2019 10:53 am Where is the ISO?
64-bit (amd64) image here: https://drive.google.com/open?id=1Y9Y_Q ... NkgrGBdNes

sha512sum: https://drive.google.com/open?id=1rEoJ1 ... M4RtLeDxfw

Image integrity is crucial so please remember to check by placing the sha512sum file and the ISO image in the same working directory and then running

Code: Select all

sha512sum -c MX-19_runit.iso.sha512
Expected output:

Code: Select all

MX-19_runit.iso: OK
The image has a slightly different fix: LightDM's init script is now enabled for runlevels 2-5 rather than just runlevel 5; /etc/runit/2 is not modified.
mod note: Signature removed, please read the forum rules

Huckleberry Finn

Re: Booting MX-19 with runit

#30 Post by Huckleberry Finn »

"Congratulations" with a single word.

Post Reply

Return to “Tips & Tricks by users (not for help)”