CentOS6.5 安装XRDP远程桌面
2016-05-06 10:02
627 查看
这篇文章主要介绍了在CentOS6.5系统上简单安装配置XRDP服务器,也适用于RedHat系的其他Linux系统,需要的朋友可以参考下
测试环境:
目标服务器:CentOS 6.5-X86_64 本机win7 64位
必备软件包:
xorg-x11-fonts-misc-7.2-9.1.el6.noarch.rpm
tigervnc-server-1.1.0-5.el6_4.1.x86_64.rpm
xrdp-0.6.1-4.el6.x86_64.rpm
第一步:
1、在rpmfindyuan下载xrdp安装包
http://rpmfind.net/linux/rpm2html/search.php?query=xrdp
2、xorg和tigervnc-server安装包都可以在系统镜像文件中找到。或者在fedora源下载
http://dl.fedoraproject.org/pub/epel/6/x86_64/
第二步:
使用rpm安装(按照上述必备软件包顺序安装)
rpm -ivh
xorg-x11-fonts-misc-7.2-9.1.el6.noarch.rpm
rpm -ivh tigervnc-server-1.1.0-5.el6_4.1.x86_64.rpm
rpm -ivh xrdp-0.6.1-4.el6.x86_64.rpm(xrdp默认安装在/etc目录下)
第三步:
xrdp默认的端口是3389,在iptables中添加端口列外或者直接关闭防火墙
查看防火墙状态
service iptables status
关闭防火墙
service iptables stop
chkconfig off
如果还没有关闭防火墙用下面命令关掉,将服务器上的防火墙删除
chkconfig --del iptabels (服务内删除iptables)
配置selinux
vi /etc/selinux/config
第四步:
#将mysqld 放入linux启动管理体系中
chkconfig --add xrdp
#查看全部服务在各运行级状态
chkconfig --list xrdp
#只要运行级别3启动,其他都关闭
chkconfig --levels 245 xrdp off
第五步:
维护xrdp
service xrdp status
service xrdp start
service xrdp stop
netstart -tnlp |grep xrdp 可以看到3389端口
第六步:
现在我们也可以在windows下远程linux了,windows下用mstsc命令即可:
测试环境:
目标服务器:CentOS 6.5-X86_64 本机win7 64位
必备软件包:
xorg-x11-fonts-misc-7.2-9.1.el6.noarch.rpm
tigervnc-server-1.1.0-5.el6_4.1.x86_64.rpm
xrdp-0.6.1-4.el6.x86_64.rpm
第一步:
1、在rpmfindyuan下载xrdp安装包
http://rpmfind.net/linux/rpm2html/search.php?query=xrdp
2、xorg和tigervnc-server安装包都可以在系统镜像文件中找到。或者在fedora源下载
http://dl.fedoraproject.org/pub/epel/6/x86_64/
第二步:
使用rpm安装(按照上述必备软件包顺序安装)
rpm -ivh
xorg-x11-fonts-misc-7.2-9.1.el6.noarch.rpm
rpm -ivh tigervnc-server-1.1.0-5.el6_4.1.x86_64.rpm
rpm -ivh xrdp-0.6.1-4.el6.x86_64.rpm(xrdp默认安装在/etc目录下)
第三步:
xrdp默认的端口是3389,在iptables中添加端口列外或者直接关闭防火墙
查看防火墙状态
service iptables status
关闭防火墙
service iptables stop
chkconfig off
如果还没有关闭防火墙用下面命令关掉,将服务器上的防火墙删除
chkconfig --del iptabels (服务内删除iptables)
配置selinux
vi /etc/selinux/config
第四步:
#将mysqld 放入linux启动管理体系中
chkconfig --add xrdp
#查看全部服务在各运行级状态
chkconfig --list xrdp
#只要运行级别3启动,其他都关闭
chkconfig --levels 245 xrdp off
第五步:
维护xrdp
service xrdp status
service xrdp start
service xrdp stop
netstart -tnlp |grep xrdp 可以看到3389端口
第六步:
现在我们也可以在windows下远程linux了,windows下用mstsc命令即可:
相关文章推荐
- linux查看目录大小
- 在阿里云中编译Linux4.5.0内核 - Ubuntu内核编译教程
- 修改PyPI源
- 每天一个linux命令(5):rm 命令
- 每天一个linux命令(4):mkdir命令
- 浅谈Linux 内存中的Cache: buffers 与 cached
- 使用VS Code 开发.NET Core 应用程序 部署到Linux 跨平台
- selinux
- linux下通过yum安装svn及配置
- Linux crontab定时java程序
- linux下svn创建版本库/导入/导出
- centos7 Nexus maven私有仓库
- linux命令mv:移动文件、文件重命名
- 2016年学习linux决心书
- 我的2016年Linux学习决心书(老男孩在线教育Linux培训就业班第二期)
- VirtualBox安装增强功能(Linux)及挂载共享盘
- Linux 系统分析命令图
- 查看Linux系统信息命令
- robotframework 精简安装方法(pip版)
- Linux whatis man man: nothing appropriate