https://blog.csdn.net/xuexi_39/article/details/83011851
注意:如果Centos版本为7.0以下时
xrdp的启动方式:service xrdp start(这里必须由root启动)
xrdp的状态: service xrdp status
开机启动设置
centos 6 :使用chkconfig命令即可。
#chkconfig --add xrdp 添加nginx服务
#chkconfig xrdp on 开机自启nginx服务
#chkconfig xrdp off 关闭开机自启
#chkconfig --list | grep xrdp 查看
centos 7 :使用systemctl中的enable、disable 即可。
示例:
#systemctl enable xrdp.service 开机自启apache服务
#systemctl disable xrdp.service 关闭开机自启