1

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?

2

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

| improve this answer | |
  • 1
    One remark: I'd say "after boot" to avoid confusion, since boot is another runlevel, not default. To start service "on boot" the command should be rc-update add $service boot. See wiki.gentoo.org/wiki/Handbook:X86/Working/… – g4s8 Sep 28 '19 at 12:53

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.