1. Ubuntu 20.04 LTS
$ vi /etc/gdm3/custom.conf
< custom.conf >
[daemon]
AutomaticLoginEnable=true
AutomaticLogin=root
[security]
AllowRoot=true
$ vi /etc/pam.d/gdm-password
< gdm-password >
#auth required pam_succeed_if.so user != root quiet_success
$ vi /etc/pam.d/gdm-autologin
< gdm-autologin >
#auth required pam_succeed_if.so user != root quiet_success
2. Ubuntu 18.04 LTS
$ vi /etc/gdm3/custom.conf
< custom.conf >
[daemon]
AutomaticLoginEnable=true
AutomaticLogin=root
[security]
AllowRoot=true
$ vi /etc/pam.d/gdm-password
< gdm-password >
#auth required pam_succeed_if.so user != root quiet_success (line 3: 주석)
$ vi /etc/pam.d/gdm-autologin
< gdm-autologin >
#auth required pam_succeed_if.so user != root quiet_success (line 3: 주석)
$ vi ~/.profile
< .profile >
tty -s && mesg n || true (제일 하단에 삽입)
3. Ubuntu 16.04 LTS
$ vi /etc/lightdm/lightdm.conf
< lightdm.conf >
[Seat:*]
autologin-user=root
$ vi ~/.profile
< .profile >
tty -s && mesg n || true
728x90
'Linux > Ubuntu' 카테고리의 다른 글
[Ubuntu] Static Library의 아키텍쳐 확인하는 법. (0) | 2021.01.25 |
---|---|
[Ubuntu] 리눅스 파일 시스템 압축하기. (0) | 2021.01.24 |
[Ubuntu] deb 파일 설치 방법. (0) | 2021.01.20 |
[Ubuntu] APT 패키지 다운로드 서버 변경 및 업데이트 (0) | 2021.01.10 |
[Ubuntu] GCC 빌드시 Warning, Error 색상 변경. (0) | 2021.01.10 |
댓글