Page 1 of 1

Starting a DM with openrc

Posted: 08 Sep 2017, 03:57
by ncmprhnsbl
Since the inclusion of Artix repos to replace manjaro core repo (extra and communty are still used), openrc is now used for the init as well as service manager.
This means that /etc/mtab is no longer used, which breaks our system for autostarting the Desktop Manager(DM) (and so the Desktop).

So far, i've found a couple of ways around this:
for example, if you're using LightDM,
install (live and to your extracted DE module) package : displaymanager-openrc (this supplies the openrc service for starting a DM)
edit /etc/conf.d/xdm
change line:

Code: Select all

DISPLAYMANAGER="xdm"
to

Code: Select all

DISPLAYMANAGER="lightdm"
then you need to enable the xdm service:

Code: Select all

sudo rc-update add xdm default
and be sure to copy /etc/runlevels/default/xdm (symlink) to your DE module

some notes:
lxdm doesnt seem to be viable because of a bug which causes it to crash on first startup..
slim isn't included in the xdm openrc service script (although i have managed to get it to work via a roundabout way(lengthy))

Starting a DM with openrc

Posted: 08 Sep 2017, 12:46
by n0ctilucient
Have you tried this approach with qingyDM?

Starting a DM with openrc

Posted: 08 Sep 2017, 13:34
by ncmprhnsbl
fairly safe to say this approach will not work with qingy, since it replaces agettys, and displaymanager-openrc is all about X displaymanagers...
with openrc init, i believe it would require the writing of a bunch of quingy scripts(openrc services) to replace the agetty services in the default runlevel..
i'd be more inclined to bypass a displaymanager altogether and go straight to X via xinitrc (possibly hacking an agetty service for autologin)
(have yet to investigate this)