首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >完全去除GDM

完全去除GDM
EN

Ask Ubuntu用户
提问于 2018-03-11 10:16:20
回答 1查看 3.8K关注 0票数 0

最近我尝试从这里安装Gnome https://popey.com/blog/posts/my-ubuntu-1604-gnome-setup.html

在安装过程中,我记得gdm3要求我在目录中设置某种默认文件,使其成为默认文件。我接受了它,并迅速前进,我真的不喜欢Gnome,并想删除它。

我做了所有的清洗,sudo apt-get remove gnome-ubuntu-desktop和其他所有的事情。但是,当我启动系统时,灰色屏幕就会出现,当我关闭系统时,也会出现相同的屏幕,尽管中间有一个蓝色加载图标。

我希望它在显示时显示"Ubuntu“。我不知道如何完全删除这个gdm3显示管理器。

我已经将dpkg重新配置为使用lightdm,但是gdm3屏幕仍然在lightdm的登录屏幕之前,并且,我已经以我在互联网上发现的每一种方式删除了gdm3。

EN

回答 1

Ask Ubuntu用户

发布于 2018-03-11 13:43:43

试一试:以纯文本模式开始

代码语言:javascript
复制
Switch on your computer. Wait until the BIOS has finished loading, and press and hold Shift, which will bring up the Grub menu.

Select the line which starts with Advanced options.

Select the line ending with (recovery mode)

Press Return and your machine will begin the boot process.

After a few moments, your PC should display a menu with a number of options, including Drop to root shell prompt. Press Return with this option highlighted.

The PC will start in a terminal.

运行以下命令:

以读写模式安装分区。

代码语言:javascript
复制
mount -o remount,rw /
mount --all

更新存储库

代码语言:javascript
复制
apt-get update

安装智能和德沃恩

代码语言:javascript
复制
apt-get install --reinstall aptitude deborphan

消除在Ubuntu中不需要的gnome组件

代码语言:javascript
复制
aptitude remove '?and(?reverse-depends(gnome),?not(?reverse-depends(?exact-name(ubuntu-desktop))))'

重新安装ubuntu-桌面

代码语言:javascript
复制
apt-get install --reinstall ubuntu-desktop

消除孤儿包

代码语言:javascript
复制
deborphan
apt-get --purge remove $(deborphan)
deborphan --libdevel
apt-get --purge remove $(deborphan --libdevel)
deborphan --find-config
dpkg --purge $(deborphan --find-config)

删除不必要的包

代码语言:javascript
复制
apt-get autoremove

删除下载的包

代码语言:javascript
复制
apt-get clean

再启动系统

代码语言:javascript
复制
reboot
票数 0
EN
页面原文内容由Ask Ubuntu提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://askubuntu.com/questions/1013843

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档