CentOS7安裝xrdp
CentOS7安裝xrdp步驟
1.預設庫不包含xrdp,需要安裝epel庫。
yum install epel-release
然後安裝xrdp
yum install xrdp
2.安裝tigervnc-server
yum install tigervnc-server
如果需要客戶端,可同時安裝tigervnc
yum install tigervnc
3.為當前使用者設定vnc密碼,如果是其他使用者,先su到這個使用者,然後再vncpasswd。
vncpasswd
4.配置xrdp.ini檔案
vim /etc/xrdp/xrdp.ini
把max_bpp=32,改為max_bpp=24
5.配置selinux
chcon -t bin_t /usr/sbin/xrdp
chcon -t bin_t /usr/sbin/xrdp-sesman
6.啟動xrdp服務,並設定為開機啟動
systemctl start xrdp
systemctl enable xrdp
7.開啟防火牆3389埠
firewall-cmd --permanent --zone=public --add-port=3389/tcp
firewall-cmd --reload
8.檢視xrdp服務是否正常啟動
systemctl status xrdp.service
ss -antup|grep xrdp
成功後,可以使用windows的遠端桌面連線linux.
參考:http://blog.csdn.net/txz317/article/details/51734222
相關文章
- centos7系統安裝xrdp教程。CentOS
- Centos7安裝Xrdp遠端桌面服務CentOS
- centos7安裝圖形化介面並使用Windows遠端連線,安裝xrdpCentOSWindows
- Centos7安裝安裝部署dockerCentOSDocker
- CentOS7安裝php、安裝MySqlCentOSPHPMySql
- centos7 安裝pipCentOS
- CentOS7 安裝 MySQLCentOSMySql
- centos7安裝protobufCentOS
- 4.1 CentOS7安裝CentOS
- CentOS7安裝wpsCentOS
- VirtualBox安裝Centos7CentOS
- CentOS7 安裝NginxCentOSNginx
- CentOS7安裝OpenvswitchCentOS
- centos7 安裝rocketmqCentOSMQ
- CentOS7 安裝 dockerCentOSDocker
- centos7安裝dockerCentOSDocker
- CentOS7 安裝 memcacheCentOS
- CentOS7 安裝 libreofficeCentOS
- centos7 安裝 rcloneCentOS
- centos7安裝nginxCentOSNginx
- centos7安裝mysqlCentOSMySql
- Centos7 安裝 NginxCentOSNginx
- Centos7安裝RabbitMQCentOSMQ
- centos7安裝composerCentOS
- centos7安裝supervisorCentOS
- CentOS7安裝RedisCentOSRedis
- Centos7 安裝ffmpegCentOS
- centos7安裝HadoopCentOSHadoop
- centos7安裝教程詳解 centos7安裝詳細步驟CentOS
- mac virualbox 安裝centos7MacCentOS
- centos7快速安裝dockerCentOSDocker
- CentOS7 安裝配置 GitLabCentOSGitlab
- Centos7上安裝dockerCentOSDocker
- 【CentOS】CentOS7安裝PostgreSQLCentOSSQL
- centos7 docker 安裝教程CentOSDocker
- Centos7快速安裝RocketMQCentOSMQ
- centos7下安裝ffmpegCentOS
- centos7下安裝 dockerCentOSDocker
- CentOS7 下安裝 ElasticsearchCentOSElasticsearch