C'est le vendor preset qui est activé. Le service est en mode static, qui est une variante de disabled.
Cf. la page de manuel systemctl(1) :
├──────────────────┼──────────────────────────────┼───────────┤
│"static" │ The unit file is not │ 0 │
│ │ enabled, and has no │ │
│ │ provisions for enabling in │ │
│ │ the "[Install]" unit file │ │
│ │ section. │ │
├──────────────────┼──────────────────────────────┼───────────┤
...
├──────────────────┼──────────────────────────────┼───────────┤
│"disabled" │ The unit file is not │ > 0 │
│ │ enabled, but contains an │ │
│ │ "[Install]" section with │ │
│ │ installation instructions. │ │
├──────────────────┼──────────────────────────────┼───────────┤
À vue de pif, je dirais qu'autre chose se charge de lancer le gestionnaire de connexion graphique. Un exemple sur Debian :
kibi@armor:~$ systemctl cat graphical.target
# /lib/systemd/system/graphical.target
# This file is part of systemd.
#
# systemd is free software; you can redistribute it and/or modify it
# under the terms of the GNU Lesser General Public License as published by
# the Free Software Foundation; either version 2.1 of the License, or
# (at your option) any later version.
[Unit]
Description=Graphical Interface
Documentation=man:systemd.special(7)
Requires=multi-user.target
Wants=display-manager.service
Conflicts=rescue.service rescue.target
After=multi-user.target rescue.service rescue.target display-manager.service
AllowIsolate=yes
kibi@armor:~$ systemctl cat display-manager.service
# /lib/systemd/system/lightdm.service
[Unit]
Description=Light Display Manager
Documentation=man:lightdm(1)
After=systemd-user-sessions.service
[Service]
# temporary safety check until all DMs are converted to correct
# display-manager.service symlink handling
ExecStartPre=/bin/sh -c '[ "$(cat /etc/X11/default-display-manager 2>/dev/null)" = "/usr/sbin/lightdm" ]'
ExecStart=/usr/sbin/lightdm
Restart=always
BusName=org.freedesktop.DisplayManager
Et cette unité display-manager.service est mise en place par le script de post-installation de lightdm. Extrait :
if [ "1ドル" = "configure" ];
then
invoke-rc.d dbus reload || true
# set default-display-manager systemd service link according to our config
if [ -e "$DEFAULT_DISPLAY_MANAGER_FILE" -a -d /etc/systemd/system/ ]; then
SERVICE=/lib/systemd/system/$(basename $(cat "$DEFAULT_DISPLAY_MANAGER_FILE")).service
if [ -e "$SERVICE" ]; then
ln -sf "$SERVICE" /etc/systemd/system/display-manager.service
else
echo "ERROR: $SERVICE is the selected default display manager but does not exist" >&2
fi
fi
fi
Cela doit être similaire pour les autres display managers.
À voir en fonction de ta distribution (que tu n'as pas spécifiée).
# Analyse incomplète/incorrecte ?
Posté par Cyril Brulebois (site web personnel) . En réponse au message probleme pour désactiver au démarrage gdm. Évalué à 4.
cosmoff :
Non, il n'est pas
enabled. Cf. la ligne :C'est le
vendor presetqui est activé. Le service est en modestatic, qui est une variante dedisabled.Cf. la page de manuel
systemctl(1):À vue de pif, je dirais qu'autre chose se charge de lancer le gestionnaire de connexion graphique. Un exemple sur Debian :
Et cette unité
display-manager.serviceest mise en place par le script de post-installation de lightdm. Extrait :Cela doit être similaire pour les autres display managers.
À voir en fonction de ta distribution (que tu n'as pas spécifiée).
Debian Consultant @ DEBAMAX