Tôi đang sử dụng Ubuntu 14.04.2 LTS và sau khi mất điện, tôi không thể đăng nhập.
Máy tính đã hoạt động tốt trong một vài tháng trước khi điều này đột nhiên xảy ra.
Các triệu chứng là:
- Sau một lần thử đăng nhập, màn hình sẽ tắt trong khoảng 15 giây và quay lại màn hình đăng nhập.
- Tôi có thể đăng nhập với tư cách khách mà không gặp vấn đề gì
- Tôi có thể đăng nhập như chính mình thông qua tty1 ~ tty6
Tôi đã thử / kiểm tra những điều sau đây nhưng không thành công:
Thay đổi
.Xauthorityquyền sở hữu đã không làm việc
chown username:username .XauthorityThay đổi quyền thư mục người dùng không hoạt động
sudo chmod -R u+w /home/[username]Tôi đã thử can thiệp với lightdm
dpkg-reconfigure lightdmsudo mv ~/.Xauthority ~/.Xauthority.backup
sudo service lightdm restartKhông có gì trong
.xsession-errorsĐã thử
gdmthay vìlightdm, nhưng nó có cùng một vấn đềGỡ
lightdmcài đặt và cài đặt lại/tmpthư mục hiệndrwxrwxrwt
Không có giải pháp nào trong số này tôi tìm thấy trên mạng làm việc. Có ai giúp đuợc không?
Chỉnh sửa 1):
Khi tôi gõ sudo tail /var/log/lightdm/lightdm.log, có 10 dòng hiển thị. (Tất cả bắt đầu bằng DEBUG:):
Activating VT 7
Activating login1 session c3
Session pid=8697: Greeter connected version=1.10.4
Session pid=8697: Greeter start authentication for [username]
Session pid=8769: Started with service 'lightdm', username [username]
Session pid=8769: Got 1 message from PAM
Session pid=8697: Propmpt greeter with 1 message
User /org/freedesktop/Accounts/User 1000 changed (repeated 3 times)
Ngoài ra, khi tôi gõ ls /usr/share/xsessions/, nó hiển thị
gnome.desktop ubuntu.desktop
Chỉnh sửa 2):
sudo grep 'lightdm:' /var/log/auth.log | tailđưa ra những điều sau đây, tất cả bắt đầu bằng lightdm::
pam_ck_connector(lightdm:session): nox11 mode, ignoring PAM_TTY :0
pam_unix(lighdm:session): session closed for user [username]
PAM unable to dlopen(pam_kwallet.so): /lib/security/pam_kwallet.so: cannot open shared object file: No such file or directory
PAM adding faulty module: pam_kwallet.so
pam_unix(lightdm-greeter:session): session opened for user lightdm by (uid=0)
pam_ck_connector(lightdm-greeter:session): nox11 mode, ignoring PAM_TTY :0
PAM unable to dlopen(pam_kwallet.so): /lib/security/pam_kwallet.so: cannot open shared object file: No such file or directory
PAM adding faulty module: pam_kwallet.so
pam_succeed_if(lightdm:auth): requirement "user ingroup nopasswdlogin" not met by user [username]"
(this one starts with sudo: instead of lightdm:) [username] : TTY=tty1 ; PWD=/home/[username] ; USER=root ; COMMAND=/bin/grep lightdm: /var/log/auth.log
sudo grep 'lightdm:' /var/log/auth.log | tail
sudo tail /var/log/lightdm/lightdm.log)? phiên người dùng thông thường của bạn được liệt kê trong thư mục xsimes (ls /usr/share/xsessions/)?