Marcin Górski

cat /etc/X11/default-display-manager
/usr/sbin/lightdm
locate lightdm.conf
/etc/lightdm/lightdm.conf
sudo nano -l /etc/lightdm/lightdm.conf
uncomment line 126 (delete #):
#autologin-user=
make it look like
autologin-user=your_user_name_here
then
Ctrl + O to save
Ctrl + X to quit
reboot or re-login your machine
cat /etc/X11/default-display-manager
/usr/sbin/gdm3
locate daemon.conf
sudo nano -l /etc/gdm3/daemon.conf
delete comment from lines:
AutomaticLoginEnable = true
AutomaticLogin = your username

Marcin Górski

I like to learn and do problem solving things. I’m looking forward to be a part of cyber-sec community. I’m training with TryHackMe & Polish TEAM HackerU.

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store