Страница 1 из 1
включить/отключить автоматический вход в deb
Добавлено: 08 окт 2023, 06:51
ya
Для гнома:
nano /etc/gdm3/daemon.conf
Для lxqt:
mcedit /etc/sddm.conf
Код: Выделить всё
[AutoLogin]
User=gt
Session=lxqt.desktop
Relogin=true
Re: включить/отключить автоматический вход в deb
Добавлено: 11 окт 2023, 09:41
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)
# 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!