Artix Linux Forum

Artix Linux => Installation / Migration / Configuration => Topic started by: Erik R on 08 December 2018, 18:39:41

Title: [Solved] XDM and OprenRC
Post by: Erik R on 08 December 2018, 18:39:41
Hi,

Long time gentoo/funtoo user installed Artix OpenRc today and discovered the lack of suitable rc-scripts to start the display manager. With a recent funtoo-installation available I copied and modified a few files and it works like a charm.

The four files attached shall be move saved as follows (note the changed file-extension to be able to attach):

I did not discover any missing dependencies but there might be some. Please inform in this thread.

The changes I made was to /etc/init.d/xdm:

If I stay with artix and eventually learn how to package those things I might make a package. Until then I just supply those files  8)

Title: Re: [Solved] XDM and OprenRC
Post by: artoo on 09 December 2018, 01:41:37
You just need to install displaymanager-openrc to have all the stuff installed you proposed.
Title: Re: [Solved] XDM and OprenRC
Post by: Erik R on 09 December 2018, 08:10:31
Well, strange that other packages I'v come across are named XXX-runit and XXX-openrc except for this that use a completely different name. Is there a reason for that?

There is no displaymanager-runit either.

Perhaps my conclusion of naming convention is wrong and there is no naming-convention runit/openrc?

// Erik
Title: Re: [Solved] XDM and OprenRC
Post by: nous on 10 December 2018, 13:49:43
Well, strange that other packages I'v come across are named XXX-runit and XXX-openrc except for this that use a completely different name. Is there a reason for that?
There is no displaymanager-runit either.
Perhaps my conclusion of naming convention is wrong and there is no naming-convention runit/openrc?
// Erik
Try xdm-runit... There's a small discrepancy here, we usually use the same "basename" for both inits.
Title: Re: [Solved] XDM and OprenRC
Post by: konimex on 10 December 2018, 14:55:41
Well, strange that other packages I'v come across are named XXX-runit and XXX-openrc except for this that use a completely different name. Is there a reason for that?

There is no displaymanager-runit either.

Perhaps my conclusion of naming convention is wrong and there is no naming-convention runit/openrc?

// Erik
On OpenRC-based systems, display manager's initscripts are unified under one sole initscript (based on Gentoo's initscript found in x11-base/xorg-server). So you can just set it on /etc/conf.d/xdm.

Meanwhile in runit systems their service scripts are packaged separately per display manager. So you might want to look into their respective packages like sddm-runit, lxdm-runit, etc.