Page 3 of 10

Re: Booting MX-19 with runit

Posted: Sat Dec 07, 2019 7:41 am
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 :)

Re: Booting MX-19 with runit

Posted: Sat Dec 07, 2019 7:46 am
by Huckleberry Finn

Re: Booting MX-19 with runit

Posted: Sat Dec 07, 2019 9:28 am
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.

Re: Booting MX-19 with runit

Posted: Sat Dec 07, 2019 9:38 am
by oops
... Not tested yet, but one thing I especially like into sysvinit is: sysv-rc-conf , does an equivalent exist too for runit ?

Re: Booting MX-19 with runit

Posted: Sat Dec 07, 2019 9:50 am
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.

Re: Booting MX-19 with runit

Posted: Sat Dec 07, 2019 10:30 am
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- :) )

Re: Booting MX-19 with runit

Posted: Sat Dec 07, 2019 10:53 am
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/

Re: Booting MX-19 with runit

Posted: Sat Dec 07, 2019 11:53 am
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.

Re: Booting MX-19 with runit

Posted: Sat Dec 07, 2019 12:40 pm
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.

Re: Booting MX-19 with runit

Posted: Sat Dec 07, 2019 12:44 pm
by Huckleberry Finn
"Congratulations" with a single word.