18.04 升级仅启动到命令行屏幕

18.04 升级仅启动到命令行屏幕

我一直在运行 17.10,它已完全更新且是最新版本,并尝试升级到 18.04。我的系统应该完全能够支持新发行版,它是运行 nVidia GTX 550 显卡的四核 AMD 系统。(我还在其上运行 Windows 10,并进行了所有最新升级,并且为了怀旧而复制了一份 Win 7。)

我尝试过多次使用命令行(带或不带开发者选项)和 GUI 方法,每次升级似乎都完美完成,但最后,它重新启动到黑屏,只有命令行。它需要登录名和密码(我以前从未使用过,总是自动登录),然后告诉我“欢迎使用 Ubuntu 18.04 LTS”,还有一些其他信息,然后返回命令提示符,仍然是黑屏。

显然,这是一个问题,所以我将其清除并恢复到以前的版本(再次)。有人知道出了什么问题吗?升级后我的屏幕显示全文如下:


Ubuntu 18.04 LTS BigBoy tty1 [NOTE:  BigBoy is my computer's name, no laughing]

BigBoy login:dave

Password:

Welcome to Ubuntu 18.04 LTS (GNU/Linux 4.15.0-20-generic x86_64)

* Documentation:  https://help.ubuntu.com
* Management:  https://landscape.canonical.com
* Support:  https:ubuntu.com/advantage

* Meltdown, Spectre and Ubuntu:  What are the attack vectors, how the fixes work, 
and everything else you need to know -- https:ubu.one/u2know

0 packages can be updated
0 updates are security updates

You have packages from the Hardware Enablement Stack (HWE) installed that are going 
out of support on 2016-08-04.

There is a graphics stack installed on this system.  An upgrade to a configuration 
supported for the full lifetime of the LTS will become available on 2016-07-21 and 
can be installed by running "update manager" in the Dash.

The programs included with the Ubuntu system are free software;  the exact 
distribution terms for each program are described in the individual files in 
/usr/share/doc/*/copyright.

Ubuntu comes with ABSOLUTELY NO WARRANTY, to the extent permitted by applicable law.

dave@BigBoy:"$

答案1

“startx” 确实可以让您从命令行地狱进入正常的桌面环境。一旦进入,根据 Helene 给我的链接,问题很容易解决。显然,升级过程使显示管理器包“lightdm”处于损坏状态,必须重新安装(然后选择它代替“gdm”)。因此,系统启动后,只需运行“sudo apt-get install lightdm”即可。现在一切都正常启动了。

答案2

在终端中输入startx。

这会带来新的环境。

或者它可能会给你很多错误,你可以将这些错误添加到你的问题中!

相关内容