Hello everybody! I'm new to the Artix world and I already find it powerful and interesting. I've just finished a fresh installation and I wanted to use the Ly DM. So I found this version which is compatible with runit: https://github.com/drozdowsky/ly-void
By the way, it assumes that a service is enabled from /etc/sv/service_name to /var/service/, whereas Artix uses /etc/runit/sv/service_name linked to /run/runit/service.
So, if I do
sudo ln -s /etc/sv/ly-runit-service /var/service/
as the README suggests, the DM doesn't start for obvious reasons. So my question is, how do I enable the Ly DM service?
Thanks folks!
For runit services the following is required:
sudo ln -s /etc/runit/sv/<service> /run/runit/service/
You can check https://wiki.artixlinux.org/Main/Runit for more info.
Thank you for your reply. I know that, but there is no ly-runit-service in /etc/runit/sv/
Ly is not in our repo (also, for arch it is only in aur) so you would have to create the /etc/runit/sv/ly/run file manually
you might try using the content of https://raw.githubusercontent.com/drozdowsky/ly-void/master/res/ly-runit-service/run
So I just have to paste this content to /etc/runit/sv/ly/run ?
indeed, and make the file executable and create the link for the directory
So, I have created the file /etc/runit/sv/ly/run with this content https://raw.githubusercontent.com/drozdowsky/ly-void/master/res/ly-runit-service/run .
Then I have made it executable with sudo chmod a+x /etc/runit/sv/ly/run and created the link with sudo ln -s /run/runit/service/, but when I reboot the DM doesn't start.
Okay I have an update. I have created /etc/runit/sv/ly-runit-service/run with this content https://raw.githubusercontent.com/drozdowsky/ly-void/master/res/ly-runit-service/run .
Then I tried:
- sudo ln -s /etc/runit/sv/ly-runit-service /etc/runit/service/
but if I try:
- sudo sv restart ly-runit-service
it says:
- fail: ly-runit-service: unable to change to service directory: file does not exist
So, I tried to do:
- sudo ln -s /etc/runit/sv/ly-runit-service /etc/runit/runsvdir/current/
and then:
- sudo sv restart ly-runit-service
and it says:
- timeout: down: ly-runit-service: 1s, normally up, want up
so I think that for some reason it is not able to start the service.
The strange thing is that it doesn't recognize the service when it is placed where it should be, and it does recognize the service when it is not where it should be. Why?
sudo ln -s /etc/runit/sv/ly-runit-service /etc/runit/service/ is not correct
as per wiki:
In the meantime, Ly made it into universe.
But the init-packages are still missing.
Did anybody create an init package for the Ly display manager?
https://universe.artixlinux.org/x86_64/ly-0.5.2-2.1-x86_64.pkg.tar.zst (https://universe.artixlinux.org/x86_64/ly-0.5.2-2.1-x86_64.pkg.tar.zst)
https://github.com/nullgemm/ly (https://github.com/nullgemm/ly)
You already posted in the older topic (https://forum.artixlinux.org/index.php/topic,2136.msg22605/topicseen.html#msg22605). Please don't create multiple similar topics. Merging.
On topic, why not create a package for the init you are using yourself?
Before I will try to do so, I'd like to know, if anybody did so before me. Since it is in universe, it is actually quite likely that sbd. already created some init for it.