How do I set a display manager on an OpenRC system? I'm trying to use the Ly display manager.

E.g. on a systemd distro I'd do

$ sudo systemctl enable ly.service

but how do I do it here?


Generally speaking, with OpenRC you add a service starting on boot with:

rc-update add $service default, where $service is a init file coded for OpenRC. Is located in /etc/init.d/$service and is invoked by #!/sbin/openrc-run, that is the directive at the beginning of the service file.

Here you can figure how to write a openrc init script by yourself.

.: Francesco

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.