centos7.7配置远程桌面--通过mstsc访问

1、配置repo

1.1、配置Centos Repo

参考 https://blog.csdn.net/weixin_43905458/article/details/103629308

1.2、配置Epel Repo

[root@openstack-magnum-k8s ~]# cat /etc/yum.repos.d/epel.repo
[epel]
name=epel
baseurl=https://http://mirrors.tuna.tsinghua.edu.cn/epel/7/x86_64/
gpgcheck=0

2、安装rpm包

yum -y groupinstall "X Window System"
yum -y groupinstall "GNOME Desktop"
yum install -y xrdp --enablerepo=epel
yum install -y tigervnc-server

3、启动服务并关闭防火墙

systemctl enable xrdp
systemctl start xrdp
systemctl stop firewalld

4、TroubleShooting

使用mstsc链接时,报以下错误

VNC error - only supporting 8,15,16 and 24 bpp rdp connections

可以通过如下方法解决

4.1、cmd 窗口输入mstsc

4.2、点开选项

4.3、显示中选择真彩色24

发布了19 篇原创文章 · 获赞 1 · 访问量 437

猜你喜欢

转载自blog.csdn.net/weixin_43905458/article/details/103822160
今日推荐