1106 shaares
1 result
tagged
autologin
A chaque fois j'oublie...
login auto:
# mkdir /etc/systemd/system/getty@tty1.service.d
#nano /etc/systemd/system/getty@tty1.service.d/autologin.conf
[Service]
ExecStart=
ExecStart=-/usr/bin/agetty --autologin <username> --noclear %I 38400 linux
// Le premier ExecStart n'est pas une erreur. Et c'est bien un %(i majuscule) pour ceux qui ont une mauvaise police
# systemctl enable multi-user.target
autostart X:
in ~/.bash_profile ou ~/.zprofile, ajouter
[[ -z $DISPLAY && $XDG_VTNR -eq 1 ]] && exec startx
login auto:
# mkdir /etc/systemd/system/getty@tty1.service.d
#nano /etc/systemd/system/getty@tty1.service.d/autologin.conf
[Service]
ExecStart=
ExecStart=-/usr/bin/agetty --autologin <username> --noclear %I 38400 linux
// Le premier ExecStart n'est pas une erreur. Et c'est bien un %(i majuscule) pour ceux qui ont une mauvaise police
# systemctl enable multi-user.target
autostart X:
in ~/.bash_profile ou ~/.zprofile, ajouter
[[ -z $DISPLAY && $XDG_VTNR -eq 1 ]] && exec startx