Artix Linux Forum

Init systems => S6 => Topic started by: Spynud on 31 July 2024, 14:34:00

Title: Help please with systemctl command
Post by: Spynud on 31 July 2024, 14:34:00
Please help me, I wanted to install Budgie GUI and this requires the following commands:
$ sudo systemctl start lxdm.service
$ sudo systemctl enable lxdm.service
 What to do, I do not know, thanks in advance for the help
Title: Re: Help please with systemctl command
Post by: Worm_Jim on 31 July 2024, 14:56:42
What init do you have installed? Damn, I didn't notice...

https://wiki.artixlinux.org/Main/S6
Title: Re: Help please with systemctl command
Post by: cds on 01 August 2024, 00:26:57
Please help me, I wanted to install Budgie GUI and this requires the following commands:
$ sudo systemctl start lxdm.service
$ sudo systemctl enable lxdm.service
 What to do, I do not know, thanks in advance for the help

Ok... Now I'm confused
Title: Re: Help please with systemctl command
Post by: strange on 02 August 2024, 15:35:38
Make sure you first install the accompanying service package. For LXDM on Artix with S6, that would be lxdm-s6.
Then, to start the service, run:
Code: [Select]
sudo s6-rc start lxdm

To 'enable' the service (to start on system boot), I believe you need to create a file with the service name in the appropriate directory:
Code: [Select]
sudo touch /etc/s6/adminsv/default/contents.d/lxdm

All files in that contents.d directory correspond to service names that will be started during system boot. Remove it again to 'disable' it.