включить/отключить автоматический вход в deb

Ответить
ya
^-^
Сообщения: 2336
Зарегистрирован: 16 дек 2021, 19:56

включить/отключить автоматический вход в deb

Сообщение ya »

Для гнома:

nano /etc/gdm3/daemon.conf

Код: Выделить всё

AutoLoginEnable = true 
AutoLogin=user1
Для lxqt:

mcedit /etc/sddm.conf

Код: Выделить всё

[AutoLogin]
User=gt
Session=lxqt.desktop
Relogin=true
ya
^-^
Сообщения: 2336
Зарегистрирован: 16 дек 2021, 19:56

Re: включить/отключить автоматический вход в deb

Сообщение ya »

https://forums.debian.net/viewtopic.php?t=148998

Below is the exact method I used to setup autologin at boot time for Debian LXQt.

This is tested and confirmed to work on both Debian 10 Buster and Debian 11 Bullseye:


# Determine your display manager

Код: Выделить всё

cat /etc/X11/default-display-manager
/usr/bin/sddm
# Determine your session(s)

Код: Выделить всё

ls /usr/share/xsessions
lxqt.desktop
# Make a /etc/sddm.conf.d/autologin.conf file and add info: (only for SDDM display manager)

Код: Выделить всё

cd /etc/sddm.conf.d
bash: cd: /etc/sddm.conf.d: No such file or directory
sudo mkdir /etc/sddm.conf.d
cd /etc/sddm.conf.d
sudo nano autologin.conf
# Add to the file:

Код: Выделить всё

# autologin
[Autologin]
User=[insert the desired user name here]
Session=lxqt.desktop
# ^x, y [enter]
# reboot to test!
Ответить