centos7 xrdp远程桌面连接
1.安装epel-releaseyum install epel-release -y2.安装xrdpyum install xrdp -y3.关闭防火墙和selinuxsystemctl stop firewalldsystemctl disable firewalldsetenforce 0vim /etc/sysconfig/selinux
1.安装epel-release
yum install epel-release -y
2.安装xrdp
yum install xrdp -y
3.关闭防火墙和selinux
systemctl stop firewalld
systemctl disable firewalld
setenforce 0
vim /etc/sysconfig/selinux
将SELINUX=enforcing 改成SELINUX=disabled
4.安装tigervnc和tigervnc-server
yum install tigervnc-server tigervnc -y
5.为当前用户设置vnc密码,如果是其他用户,先su到这个用户,然后再vncpasswd。
vncpasswd root ************不一定是root
6.配置xrdp.ini文件
vim /etc/xrdp/xrdp.ini
把max_bpp=32,改为max_bpp=24
7.启动xrdp服务,并设置为开机启动
systemctl start xrdp
systemctl enable xrdp
8.查看xrdp服务是否正常启动
systemctl status xrdp.service
ss -antup|grep xrdp
更多推荐
所有评论(0)