I can run X with startx and I can start sddm typing it in as root, but I haven't figured out how to get it to start on boot.
First, make sure you have the
accountsservice and
displaymanager-openrc packages installed. Then,e dit the relevant line in the file: "/etc/conf.d/xdm" to
DISPLAYMANAGER="sddm"
If you want sddm to start automatically everytime you boot, then:
# rc-update add xdm
And finally, to start the DM:
# rc-service xdm start
sudo rc-update add xdm default and sudo openrc
I think is better as it echos back if service was able to be started, it will only try to start the recently added, if you add many services this at the end will start them all and works well in a script.
Ooops, yes, it is add and not enable. Sorry, bad habits from a cruel world :P . I will edit the previous post.
[Thanks for your help.
I don't want to open up another thread for this as it is very related.
1 If you run runit would
ln -s /etc/runit/sv/sddm /run/runit/service/sddm
be all that is different from those instructions?
2 Where does /etc/sddm.conf come from? In a VB installation I used sddm sddm-artix-theme and sddm-runit but /etc/sddm.conf doesn't exist. I would expect it to come with sddm itself but it didn't. This is the first time I encountered this.
3 Looking at sddm.conf in my main installation the commands for shutdown/reboot use loginctl which don't exist in artix, right?
Not a big problem but at some point some of this should be revised to match openrc and runit
No. Assuming you meant the runit ln command and openrc rc-service enable command. Both enable the service, so the service would start immediately.
It's the old configuration file kept for compatibility as the new configuration file are typically placed in /etc/sddm.conf.d/<file>.conf. Probably autogenerated. See man 5 sddm.conf for more information.
loginctl is part of elogind, which should exist in both openrc and runit systems.
Got you. Thanks.
I still didn't find anything in /etc/sdd*
Maybe I will remove and reinstall, something didn't work right with sddm.
One of the problems I've had with sddm is that its conf file doesn't allow root, or if it is modified with minimum and maximum ids then all those pseudo-nologi-users appear on the list. Then you have to block them from being listed. When I use an AUR theme for sddm which includes a different conf file the problem is solved, only real users and root appear.
default conf is located in
/usr/lib/sddm/sddm.conf.d/