![Ubuntu 18.04 LTS 输入登录详细信息后出现登录循环](https://linux22.com/image/914602/Ubuntu%2018.04%20LTS%20%E8%BE%93%E5%85%A5%E7%99%BB%E5%BD%95%E8%AF%A6%E7%BB%86%E4%BF%A1%E6%81%AF%E5%90%8E%E5%87%BA%E7%8E%B0%E7%99%BB%E5%BD%95%E5%BE%AA%E7%8E%AF.png)
从 /etc/modprobe.d/ 中删除“blacklist nvidiafb”(它是帧缓冲区配置文件)并使用 sudo nano 将其放回后,我遇到了登录循环,因为它看起来很糟糕。
好吧,当我删除它时,图形缩放得非常高,然后我放回线路并重新启动,但我遇到了登录循环。我运行了一个命令来查看问题,它转储了输出。这是收到的所有警告的示例,因为原始文件非常漂亮大的。
不幸的是,我无法在没有图形的情况下卸载 gnome 扩展,而且当我运行 startx 时,还会出现“xinit:与 X 服务器的连接丢失”的提示。我重新安装了 nvidia-driver-390 和 gnome 桌面,但没有任何效果。由于我不懂技术,我注意到扩展或桌面出了问题,也许是 nvidia 出了问题,因为 X 服务器出现故障。我几乎想不出办法了。
摆弄设置的原因是为了能够通过 itch.io 启动 i386 应用程序
Search "WARNING" (26 hits in 1 file)
D:\Bootloop.txt (26 hits)
Line 103: Aug 04 13:50:55 Kazuki gnome-session[1233]: gnome-session-binary[1233]: WARNING: App 'spice-vdagent.desktop' exited with code 1
Line 104: Aug 04 13:50:55 Kazuki gnome-session-binary[1233]: WARNING: App 'spice-vdagent.desktop' exited with code 1
Line 117: Aug 04 13:50:56 Kazuki gnome-shell[1241]: JS WARNING: [resource:///org/gnome/shell/ui/windowManager.js 1477]: reference to undefined property "MetaWindowXwayland"
Line 349: Aug 04 13:51:04 Kazuki /usr/lib/gdm3/gdm-x-session[1652]: (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
Line 788: Aug 04 13:51:05 Kazuki /usr/lib/gdm3/gdm-x-session[1652]: warning: output not found; ignoring
Line 789: Aug 04 13:51:05 Kazuki /usr/lib/gdm3/gdm-x-session[1652]: warning: output not found; ignoring
Line 1037: Aug 04 13:51:11 Kazuki gnome-session[1706]: gnome-session-binary[1706]: WARNING: App 'spice-vdagent.desktop' exited with code 1
Line 1038: Aug 04 13:51:11 Kazuki gnome-session-binary[1706]: WARNING: App 'spice-vdagent.desktop' exited with code 1
Line 1065: Aug 04 13:51:13 Kazuki gnome-shell[1811]: JS WARNING: [/usr/share/gnome-shell/extensions/[email protected]/appIcons.js 1028]: unreachable code after return statement
Line 1089: Aug 04 13:51:35 Kazuki gnome-session[1706]: gnome-session-binary[1706]: WARNING: Application 'org.gnome.Shell.desktop' killed by signal 5
Line 1093: Aug 04 13:51:35 Kazuki gnome-session-binary[1706]: WARNING: Application 'org.gnome.Shell.desktop' killed by signal 5
Line 1099: Aug 04 13:51:37 Kazuki gnome-shell[3449]: JS WARNING: [/usr/share/gnome-shell/extensions/[email protected]/appIcons.js 1028]: unreachable code after return statement
Line 1111: Aug 04 13:51:37 Kazuki gnome-session[1706]: gnome-session-binary[1706]: WARNING: Application 'org.gnome.Shell.desktop' killed by signal 5
Line 1112: Aug 04 13:51:37 Kazuki gnome-session[1706]: gnome-session-binary[1706]: WARNING: App 'org.gnome.Shell.desktop' respawning too quickly
Line 1113: Aug 04 13:51:37 Kazuki gnome-session-binary[1706]: WARNING: Application 'org.gnome.Shell.desktop' killed by signal 5
Line 1116: Aug 04 13:51:37 Kazuki gnome-session-binary[1706]: WARNING: App 'org.gnome.Shell.desktop' respawning too quickly
Line 1869: Aug 04 13:53:56 Kazuki gnome-session[5948]: gnome-session-binary[5948]: WARNING: App 'spice-vdagent.desktop' exited with code 1
Line 1870: Aug 04 13:53:56 Kazuki gnome-session-binary[5948]: WARNING: App 'spice-vdagent.desktop' exited with code 1
Line 1925: Aug 04 13:53:56 Kazuki gnome-shell[6047]: JS WARNING: [/usr/share/gnome-shell/extensions/[email protected]/appIcons.js 1028]: unreachable code after return statement
Line 1961: Aug 04 13:54:16 Kazuki gnome-session[5948]: gnome-session-binary[5948]: WARNING: Application 'org.gnome.Shell.desktop' killed by signal 5
Line 1962: Aug 04 13:54:16 Kazuki gnome-session-binary[5948]: WARNING: Application 'org.gnome.Shell.desktop' killed by signal 5
Line 1996: Aug 04 13:54:17 Kazuki gnome-shell[6315]: JS WARNING: [/usr/share/gnome-shell/extensions/[email protected]/appIcons.js 1028]: unreachable code after return statement
Line 2009: Aug 04 13:54:17 Kazuki gnome-session[5948]: gnome-session-binary[5948]: WARNING: Application 'org.gnome.Shell.desktop' killed by signal 5
Line 2010: Aug 04 13:54:17 Kazuki gnome-session[5948]: gnome-session-binary[5948]: WARNING: App 'org.gnome.Shell.desktop' respawning too quickly
Line 2013: Aug 04 13:54:17 Kazuki gnome-session-binary[5948]: WARNING: Application 'org.gnome.Shell.desktop' killed by signal 5
Line 2014: Aug 04 13:54:17 Kazuki gnome-session-binary[5948]: WARNING: App 'org.gnome.Shell.desktop' respawning too quickly
答案1
真是尴尬。我找到了解决办法。
关于登录循环,这与我使用的内核版本有关。名称非常神秘。当我输入“sudo update-initramfs -u”时,我从 4.18.0.25 内核切换到 5.0.0.23 内核。启动时我列出了其中三个。当我选择 4.18.0.25 时,没有登录循环,所以问题出在 5.0.0.23 上。当我修改 /etc/modprobe.d 中的帧缓冲区时,我没有更新 initramfs。更新后,不再有登录循环。
嗯,关于扩展问题,这是因为 nvidia 驱动程序被破坏了,因为我认为当我升级 initramfs 时,驱动程序没有加载,而且我的 GPU 扩展出现了故障。我执行了“sudo nano /etc/modprobe.d/blacklist.conf”,并根据以下建议添加了“blacklist nouveau”“blacklist lbm-nouveau”“options nouveau modeset=0”“alias nouveau off”“alias lbm-nouveau off”这里因为 nvidia-smi 不工作。
关于 Wayland 问题,我取消了注释并确保禁用它,这样 Xorg 就成为唯一的选择。我还删除了 /etc/X11/Xorg.conf
我很高兴能修复它。这很棘手。Nvidia 故障导致我的分辨率设置为 960x600,无法调高。对眼睛来说还不错,但也不是高清的。另外,很抱歉打扰了。