learning systemd: disable a "service" + create one to replace it

Reindl Harald h.reindl at thelounge.net
Mon Apr 29 09:32:57 UTC 2013



Am 29.04.2013 11:22, schrieb Mihamina Rakotomandimby:
> Hi all,
> 
> Configuration: F17 LXDE spin.
> 
> I would like to
> 1°) disable LXDM launch
> 2°) launch a custom script i the place of it
> 
> The custom script is just a one-liner:
>   /usr/bin/X :1 -query my.session.server
> 
> # chkconfig --list:
> livesys            0:off    1:off    2:off    3:on    4:on    5:on    6:off
> livesys-late       0:off    1:off    2:off    3:on    4:on    5:on    6:off
> netconsole         0:off    1:off    2:off    3:off    4:off    5:off    6:off
> network            0:off    1:off    2:off    3:off    4:off    5:off    6:off
> spice-vdagentd     0:off    1:off    2:off    3:off    4:off    5:on    6:off
> 
> => I see no mention of "lxdm".
> 
> I also tried:
> # find / -type f -name '*.service'
> 
> => No mention of "lxdm"
> 
> 1°) Where to find it, in order to disable it?

in F17 you have "prefdm.service"

/usr/lib/systemd/system/prefdm.service
/etc/X11/prefdm

the "kdm.service" and lookalikes are introduced with F18

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 263 bytes
Desc: OpenPGP digital signature
URL: <http://lists.fedoraproject.org/pipermail/users/attachments/20130429/1855b9ab/attachment.sig>


More information about the users mailing list