这里是菜鸟。
我在尝试安装 Linux Homebrew 时搞砸了一些东西,现在我无法登录到我的主桌面(当我正确输入我的凭据时,我被踢出)。从那时起,我卸载了该软件并尝试了一些修复方法,我将在这里列出这些方法以及其他一些相关信息(我希望如此)
当前操作系统:
Linux 5.4.0-40-通用#44 Ubuntu SMP x86_64
显卡
00:02.0 VGA 兼容控制器:英特尔公司 UHD Graphics 620 (Whiskey Lake)
我尝试过的故障排除:
- 遵循此堆栈交换中的最佳答案:Ubuntu 陷入登录循环
- 安装了 libpam-kwallet4 和 libpam-kwallet5,修复了日志文件中出现的错误,但最终似乎只是一个幌子
- 安装 libpam-winbind
- 在 GRUB 中禁用 quiet-splash
- 已启用 nomodeset
- 重新安装 xorg
- Ubuntu 从 19.10 更新至 20.04
一个特别让我印象深刻的错误(我已经忘记是怎么得到这个错误的......可能是来自startx?)如下:
FATAL: Module fbcon not found in directory /lib/modules/5.4.0-40-genericintel
这看起来很可怕,所以可能是相关的
以下是 Xorg.0 日志文件中我尚未弄明白的一些其他错误:
EE: Screen 0 deleted because of no matching config section
EE: Open /dev/dri/card0: No such file or directory
EE: No devices detected
EE: Systemd-logind: failed to get session: PID 967 does not belong to any known session
最后,这是我尝试登录时 auth.log 文件中的一段代码。
Jul 20 15:54:28 Virgil-ZenBook-UX431FA sudo: name : TTY=tty4 ; PWD=/home/name ; USER=root ; COMMAND=/bin/systemctl restart gdm
Jul 20 15:54:28 Virgil-ZenBook-UX431FA sudo: pam_unix(sudo:session): session opened for user root by name(uid=0)
Jul 20 15:54:38 Virgil-ZenBook-UX431FA sudo: pam_unix(sudo:session): session closed for user root
Jul 20 15:54:38 Virgil-ZenBook-UX431FA gdm-launch-environment]: pam_unix(gdm-launch-environment:session): session opened for user gdm by LOGIN(uid=0)
Jul 20 15:54:38 Virgil-ZenBook-UX431FA systemd-logind[941]: New session c6 of user gdm.
Jul 20 15:54:38 Virgil-ZenBook-UX431FA systemd: pam_unix(systemd-user:session): session opened for user gdm by (uid=0)
Jul 20 15:54:38 Virgil-ZenBook-UX431FA gnome-keyring-daemon[12333]: couldn't access control socket: /run/user/121/keyring/control: No such file or directory
Jul 20 15:54:38 Virgil-ZenBook-UX431FA gnome-keyring-daemon[12337]: couldn't access control socket: /run/user/121/keyring/control: No such file or directory
Jul 20 15:54:38 Virgil-ZenBook-UX431FA gnome-keyring-daemon[12337]: couldn't access control socket: /run/user/121/keyring/control: No such file or directory
Jul 20 15:54:39 Virgil-ZenBook-UX431FA gdm-launch-environment]: pam_unix(gdm-launch-environment:session): session closed for user gdm
Jul 20 15:54:39 Virgil-ZenBook-UX431FA systemd-logind[941]: Session c6 logged out. Waiting for processes to exit.
Jul 20 15:54:39 Virgil-ZenBook-UX431FA systemd-logind[941]: Removed session c6.
Jul 20 15:54:39 Virgil-ZenBook-UX431FA gdm-launch-environment]: pam_unix(gdm-launch-environment:session): session opened for user gdm by LOGIN(uid=0)
Jul 20 15:54:39 Virgil-ZenBook-UX431FA systemd-logind[941]: New session c7 of user gdm.
Jul 20 15:54:43 Virgil-ZenBook-UX431FA gnome-keyring-daemon[12560]: couldn't access control socket: /run/user/121/keyring/control: No such file or directory
Jul 20 15:54:43 Virgil-ZenBook-UX431FA gnome-keyring-daemon[12563]: couldn't access control socket: /run/user/121/keyring/control: No such file or directory
Jul 20 15:54:43 Virgil-ZenBook-UX431FA gnome-keyring-daemon[12563]: couldn't access control socket: /run/user/121/keyring/control: No such file or directory
Jul 20 15:54:44 Virgil-ZenBook-UX431FA polkitd(authority=local): Registered Authentication Agent for unix-session:c7 (system bus name :1.138 [/usr/bin/gnome-shell], object path /org/freedesktop/PolicyKit1/Authe>
Jul 20 15:54:47 Virgil-ZenBook-UX431FA gdm-password]: pam_unix(gdm-password:auth): Couldn't open /etc/securetty: No such file or directory
Jul 20 15:54:53 Virgil-ZenBook-UX431FA gdm-password]: pam_unix(gdm-password:auth): Couldn't open /etc/securetty: No such file or directory
Jul 20 15:54:53 Virgil-ZenBook-UX431FA gdm-password]: gkr-pam: unable to locate daemon control file
Jul 20 15:54:53 Virgil-ZenBook-UX431FA gdm-password]: gkr-pam: stashed password to try later in open session
Jul 20 15:54:53 Virgil-ZenBook-UX431FA gdm-password]: pam_unix(gdm-password:session): session opened for user name by (uid=0)
Jul 20 15:54:53 Virgil-ZenBook-UX431FA systemd-logind[941]: New session 7 of user name.
Jul 20 15:54:53 Virgil-ZenBook-UX431FA gdm-password]: gkr-pam: gnome-keyring-daemon started properly and unlocked keyring
Jul 20 15:54:58 Virgil-ZenBook-UX431FA gdm-password]: pam_unix(gdm-password:session): session closed for user name
Jul 20 15:54:58 Virgil-ZenBook-UX431FA systemd-logind[941]: Session 7 logged out. Waiting for processes to exit.
Jul 20 15:54:58 Virgil-ZenBook-UX431FA systemd-logind[941]: Removed session 7.
Jul 20 15:55:06 Virgil-ZenBook-UX431FA login[13942]: pam_unix(login:auth): Couldn't open /etc/securetty: No such file or directory
Jul 20 15:55:10 Virgil-ZenBook-UX431FA login[13942]: pam_unix(login:auth): Couldn't open /etc/securetty: No such file or directory
Jul 20 15:55:10 Virgil-ZenBook-UX431FA login[13942]: pam_unix(login:session): session opened for user name by LOGIN(uid=0)
可能还值得一提的是,我现在正在使用远程桌面(ctrl + alt + f4 -> startx),有些应用程序拒绝启动。不确定这是否相关。如果我可以提供任何其他信息,请告诉我。