我刚刚在我的工作站上安装了 Ubuntu 18.04.5 LTS 以及推荐的 nvidia 驱动程序,我曾经sudo ubuntu-drivers autoinstall这样做过,并ubuntu-drivers devices建议安装nvidia-driver-450-server - distro non-free recommended.
但是,安装推荐的驱动后,我的包系统坏了。当我尝试使用“软件更新程序”更新软件时,我收到以下消息:
Run Code Online (Sandbox Code Playgroud)The package system is broken. Check if you are using third party repositories. If so disable them, since they are a common source of problems. Furthermore run the following command in a Terminal: apt-get install -f Transaction failed: The package system is broken The following packages have unmet dependencies: libnvidia-gl-450: Depends: libnvidia-common-450 but it is not installed Depends: libgcc1 …
我运行 Ubuntu 18.04 的计算机卡在登录循环中。我使用 lightdm 作为我的显示管理器,但尝试切换到 gdm3 并没有解决问题(我仍然陷入登录循环)。
我尝试按照此处找到的修复程序进行修复,但运行后我的主目录中ls -la没有.Xauthority文件。我认为这与我的登录循环问题有关,但我不确定如何创建新.Xauthority文件?
更新:我切换到gdm3并且现在可以登录 Unity 几秒钟。桌面加载,但一分钟后我再次进入登录循环。