修改linux默认启动界面——从命令行模式转换为图形化模式

从命令行模式转换为图形化模式

首先需要安装对应的图形化安装包

yum groupinstall "GNOME Desktop" "Graphical Administration Tools"
  • 报错
Transaction check error:
file /boot/efi/EFI/centos from install of fwupdate-efi-12-5.el7.centos.x86_64 conflicts with file from package grub2-common-1:2.02-0.65.el7.centos.2.noarch
  • 更新软件包
yum upgrade -y #(会升级所有包并删除旧包)
  • 安装软件包组
yum groupinstall "GNOME Desktop" "Graphical Administration Tools"即可

修改默认启动配置

[root@hmm ~]# systemctl get-default
graphical.target
[root@hmm ~]# systemctl set-default graphical.target
[root@hmm ~]# systemctl get-default
graphical.target
[root@hmm ~]# 

重启

[root@hmm ~]# reboot

image

posted on   代码你敲我不敲  阅读(345)  评论(0编辑  收藏  举报

相关博文:
阅读排行:
· 分享一个免费、快速、无限量使用的满血 DeepSeek R1 模型,支持深度思考和联网搜索!
· 使用C#创建一个MCP客户端
· ollama系列1:轻松3步本地部署deepseek,普通电脑可用
· 基于 Docker 搭建 FRP 内网穿透开源项目(很简单哒)
· 按钮权限的设计及实现

导航

统计

返回顶端
点击右上角即可分享
微信分享提示