Skip to main content
Topic: Enable Ly display manager service (Read 4368 times) previous topic - next topic
0 Members and 1 Guest are viewing this topic.

Enable Ly display manager service

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
Code: [Select]
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!

Re: Enable Ly display manager service

Reply #1
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.


Re: Enable Ly display manager service

Reply #3
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



Re: Enable Ly display manager service

Reply #6
So I just have to paste this content to /etc/runit/sv/ly/run ?

Re: Enable Ly display manager service

Reply #7
indeed, and make the file executable and create the link for the directory

 

Re: Enable Ly display manager service

Reply #8
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.

Re: Enable Ly display manager service

Reply #9
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.
up

Re: Enable Ly display manager service

Reply #10
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?

Re: Enable Ly display manager service

Reply #11
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?
Up

Re: Enable Ly display manager service

Reply #12
sudo ln -s /etc/runit/sv/ly-runit-service /etc/runit/service/ is not correct
as per wiki:
Quote
Enable service (in runlevel default)# ln -s /etc/runit/sv/service_name /run/runit/service

Re: Enable Ly display manager service

Reply #13
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
In the meantime, Ly made it into universe.
But the init-packages are still missing.
Code: [Select]
ARTIX Dinit + SDDM + Enlightenment