
여기무슨 일이 일어나고 있는지 보여주는 비디오 링크입니다. 폰으로 찍어서 화질이 안좋은점 양해부탁드립니다.
노트북을 켜면 드라이브 설정을 위해 비밀번호를 입력하는데 로그인 화면이 뜨고, 비밀번호를 입력하면 화면이 검게 변하고, 그 다음 나타나는 화면이 로그인 화면이다. 비밀번호를 다시 입력하고 Enter를 누르면 같은 일이 발생합니다.
터미널에 입력하면
ls -al .*thority
pwd
출력은 먼저,
-rw------- 1 amolith amolith 14000 Jun 19 11:21 .ICEauthority
-rw------- 1 amolith amolith 59 Jun 19 14:19 .Xauthority
그 다음에
/home/amolith
ls -al
디렉터리 에서 명령을 실행하면 home
다음과 같은 결과가 나타납니다.
total 24
drwxr-xr-x 4 root root 4096 Jun 3 11:28 .
drwxr-xr-x 24 root root 4096 Jun 8 09:30 ..
drwr------ 41 amolith amolith 12288 Jun 19 14:19 amolith
drwxrwxr-x 3 root root 4096 Jun 3 11:28 .encryptfs
명령이 df
실행되면,
Filesystem 1K-blocks Used Available Use% Mounted on
udev 932664 0 9326764 0% /dev
tempfs 191324 6164 185160 4% /run
/dev/mapper/ubuntu--vg-root 12831848 12234968 0 100% /
tmpfs 956604 12 956592 1% /dev.shm
tmpfs 5120 4 5116 1% /run/lock
tmpfs 956604 0 956604 0% /sys/fs/cgroup
/dev/loopo 81408 81408 0 100% /snap/core/1689
/dev/loop1 366336 366336 0 100% /snap/libreoffice/19
/dev/loop2 187008 187008 0 100% /snap/atom/8
/dev/loop3 187008 187008 0 100% /snap/atom/9
/dev/sda1 474712 123440 322242 28% /boot
tmpfs 191320 8 191312 1% /run/user/112
tmpfs 191320 0 191320 0% /run/user/1000
/home/amolith/.Private 12831848 12831848 0 100% /home/amolith
루트로 로그인할 때:
Error found when loading /root/.profile:
mesg: ttyname failed: Inappropriate ioctl for device
`ls -alt | 더 -7
total 133596
-rw------- 1 amolith amolith 18585 Jun 20 13:19 .bash_history
drwxr-xr-x 41 amolith amolith 12288 Jun 20 13:03 .
-rw------- 1 amolith amolith 59 Jun 20 13:03 .Xauthority
drwxr-xr-x 38 amolith amolith 12288 Jun 20 09:17 .cache
drwx------ 3 amolith amolith 4096 Jun 19 14:16 .gnupg
내가 실행할 때 grep mesg .profile
:
mesg n || true
dpkg -l *nvidia*
출력:
Desired=Unknown/Install/Remove/Purge/Hole
| Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend
|/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
||/ Name Version Architecture Description
++-==============-==========-============-=================================================
un nvidia-common <none> <none> (no description available)
un nvidia-legacy- <none> <none> (no description available)
un nvidia-prime <none> <none> (no description available)
un nvidia-vdpau-d <none> <none> (no description available)
저는 우분투를 처음 접했습니다. 일주일 반 전에 ChromeOS에서 사용하기 시작했기 때문에 모든 것이 나에게 매우 낯설고 새롭습니다. 어떤 도움이라도 대단히 감사하겠습니다!
답변1
부분 답변... 작업 진행 중...
1 단계:(새로 추가하여 다시 편집한 후 재부팅)
sudo pico /etc/lightdm/lightdm.conf
[LightDM]
[SeatDefaults]
greeter-show-manual-login=true
allow-guest=true
[XDMCPServer]
[VNCServer]
2 단계:
- 일반 사용자로 텍스트 터미널에 로그인하십시오.
- 유형
ls -al .*thority*
- 최소한 두 개의 .old 파일이 표시되어야 하며, 다시 생성된 경우 더 많을 수도 있습니다.
- .old 파일이 두 개만 보이는 경우
mv .ICEauthority.old .ICEauthority
mv .Xauthority.old .Xauthority
3단계:
- 처음 5줄을 입력
ls -alt | more -7
하고 보여주세요(댓글이 아닌 질문에 복사하여 붙여넣으세요).
4단계:
- 유형
sudo passwd root
- 관리자 비밀번호를 입력하세요
- 루트의 새 비밀번호를 두 번 입력하세요.
- 를 입력한
exit
다음 control-alt-f7을 눌러 일반 로그인 화면으로 돌아갑니다. - 새 비밀번호로 루트에 로그인해 보세요.
5단계:
- 일반 로그인 화면에서 위쪽/아래쪽 화살표를 사용하여 게스트가 나타나는지, 게스트로 로그인할 수 있는지 확인하세요.
6단계:
- 루트 계정에서
terminal
대시에서 시작- 프로필 수정
pico .profile
또는gedit .profile
mesg n || true
로 변경tty -s && mesg n || true
- 파일을 저장하고 pico/gedit 종료
- 로그아웃하고 루트로 다시 로그인한 후 오류가 없는지 확인하세요.