通过Windwos的mstsc连接Linux桌面

本文介绍了如何在Windows环境下使用mstsc远程连接到Linux服务器,并设置了开机自启动VNC服务。内容包括确认yum环境,安装依赖包,启动VNC服务,设置连接用户,以及解决可能出现的密码不一致的报错问题。最后,成功实现了Windows与Linux的远程桌面连接。
摘要由CSDN通过智能技术生成

环境要求

1.确保linux服务器的init级别是5(带桌面)
2.要求root权限
3.关闭iptables,firealld,selinux
4.使用epel-release源

确认yum环境

[root@localhost ~]# rpm -qa | grep epel-release
epel-release-7-11.noarch
[root@localhost ~]# yum repolist
已加载插件:fastestmirror, langpacks
Repository base is listed more than once in the configuration
Repository updates is listed more than once in the configuration
Repository extras is listed more than once in the configuration
Repository centosplus is listed more than once in the configuration
Loading mirror speeds from cached hostfile
 * base: mirrors.aliyun.com
 * c7-media: 
 * epel: ftp.jaist.ac.jp
 * extras: mirrors.aliyun.com
 * updates: mirrors.aliyun.com
c7-media                                                                                                                                                                                                 
  • 2
    点赞
  • 13
    收藏
    觉得还不错? 一键收藏
  • 1
    评论
评论 1
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值