Centos7实现3389远程桌面登录

简介:

rpm -Uvh https://dl.fedoraproject.org/pub/epel/7/x86_64/e/epel-release-7-5.noarch.rpm

Retrieving https://dl.fedoraproject.org/pub/epel/7/x86_64/e/epel-release-7-5.noarch.rpm

warning: /var/tmp/rpm-tmp.lK4Kbv: Header V3 RSA/SHA256 Signature, key ID 352c64e5: NOKEY

Preparing...                          ################################# [100%]

Updating / installing...

   1:epel-release-7-5                 ################################# [100%]

rpm -Uvh http://li.nux.ro/download/nux/dextop/el7/x86_64/nux-dextop-release-0-1.el7.nux.noarch.rpm

Retrieving http://li.nux.ro/download/nux/dextop/el7/x86_64/nux-dextop-release-0-1.el7.nux.noarch.rpm

warning: /var/tmp/rpm-tmp.LIgfx0: Header V4 RSA/SHA1 Signature, key ID 85c6cd8a: NOKEY

Preparing...                          ################################# [100%]

Updating / installing...

   1:nux-dextop-release-0-1.el7.nux   ################################# [100%]

cat /etc/yum.repos.d/xrdp.repo

cat: /etc/yum.repos.d/xrdp.repo: No such file or directory

cat >>/etc/yum.repos.d/xrdp.repo<<eof

> [xrdp]

> name=xrdp

> baseurl=http://li.nux.ro/download/nux/dextop/el7/x86_64/

> enabled=1

> gpgcheck=0

> eof

cat /etc/yum.repos.d/xrdp.repo==>检查

[xrdp]

name=xrdp

baseurl=http://li.nux.ro/download/nux/dextop/el7/x86_64/

enabled=1

gpgcheck=0

yum -y install xrdp ==>因为centos7没有源所以必须按上面的操作来自己建源,要先安装vncserver可以参考前面的

chcon --type=bin_t /usr/sbin/xrdp

chcon --type=bin_t /usr/sbin/xrdp-sesman

firewall-cmd --permanent --zone=public --add-port=3389/tcp==>开放3389端口

systemctl restart firewalld==>重启防火墙


安装完成用远程桌面登录可以使用

 netstat -antupl | grep xrdp或ss -antup | grep xrdp查看


     本文转自whshurk 51CTO博客,原文链接http://blog.51cto.com/shurk/1745768:,如需转载请自行联系原作者



相关文章
|
2天前
|
弹性计算 安全 数据安全/隐私保护
远程桌面连接Windows实例,提示“为安全考虑,已锁定该用户账户,原因是登录尝试或密码更改尝试过多”错误解决方案
远程桌面连接Windows实例,提示“为安全考虑,已锁定该用户账户,原因是登录尝试或密码更改尝试过多”错误解决方案
298 0
|
Linux 网络安全 数据安全/隐私保护
SSH登录树莓派、远程桌面登录树莓派以及VNC方式登录树莓派
SSH登录树莓派、远程桌面登录树莓派以及VNC方式登录树莓派
297 0
SSH登录树莓派、远程桌面登录树莓派以及VNC方式登录树莓派
|
网络协议 Windows
使用ipv6进行远程桌面3389端口登录
使用ipv6进行远程桌面3389端口登录
924 0
|
网络协议 Ubuntu Linux
|
安全 Unix Linux
Centos7系统安装远程桌面服务
Xrdp是Microsoft远程桌面协议(RDP)的一个开源实现,它允许以图形方式控制远程系统。
Centos7系统安装远程桌面服务
|
测试技术 Linux 数据安全/隐私保护
|
Linux Windows
Linux-通过Windows远程桌面访问CentOS
  我的环境是CentOS 7.2,首先要确保该环境能上网。 首先安装【epel-release-latest-7.noarch.rpm】 rpm -Uvh https://dl.
2896 0
|
网络协议 Shell Linux
使用Holer远程桌面登录家里电脑和公司内网电脑
Holer是一个免费开源的内网穿透工具,它可以将局域网服务器代理到公网的内网穿透工具,支持转发基于TCP协议的报文。可以使用Holer远程桌面登录家里电脑和公司内网电脑
5059 0

热门文章

最新文章