美文网首页城市故事简友广场
Centos 7.6图形界面安装及VNC搭建

Centos 7.6图形界面安装及VNC搭建

作者: 05eecbe19a62 | 来源:发表于2019-07-22 21:31 被阅读0次

图形界面安装

1. yum -y update

2.yum groupinstall "X Window System"  //注意有引号

3.yum groupinstall "GNOME Desktop" "Graphical Administration Tools"

4.systemctl set-default graphical.target //(图形界面模式)

5.reboot //(重启系统)

VNC搭建

1. yum install epel-release

2. yum install xrdp

3. yum install tigervnc-server

4. vncpasswd root //好像没什么用

5. systemctl stop firewalld.service //关闭防火墙

6. systemctl disable firewalld.servie

7. vim /etc/selinux/config //关闭SElinux, SELINUX=disabled

8. systemctl start xrdp //启动xrdp

9. systemctl enable xrdp //设置自动启动

客户端可以使用Windows自带的MSTC连接, 也可以使用MobaXterm

如果进入桌面后打不开设置,运行这个命令yum reinstall libwbclient

相关文章

网友评论

    本文标题:Centos 7.6图形界面安装及VNC搭建

    本文链接:https://www.haomeiwen.com/subject/xmuglctx.html