redhat 8.10按照图形化界面

dnf grouplist
dnf groupinstall "Server with GUI"

systemctl isolate graphical.target
立即切换图形
systemctl set-default graphical.target 设置默认图形启动

root:
export DISPLAY=:0.0
xhost +
grid:
export DISPLAY=:0.0

posted @ 2025-12-30 11:43  ocmji  阅读(3)  评论(0)    收藏  举报