合 xrdp远程桌面工具安装
简介
yum安装
1 2 3 4 5 6 7 8 9 10 11 | -- 安装远程桌面xrdp yum -y install xrdp && yum groupinstall -y Xfce # sed -i 's/port=3389/port=3390/g' /etc/xrdp/xrdp.ini sed -i 's/max_bpp=32/max_bpp=24/g' /etc/xrdp/xrdp.ini echo xfce4-session > /root/.xsession chmod +x /root/.xsession systemctl restart xrdp && systemctl enable xrdp # echo xfce4-session > /home/oracle/.xsession # chmod +x /home/oracle/.xsession # 访问Linux(mstsc): 192.168.59.220:3389 |
rpm安装
已验证系统:anolisos龙蜥8
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 | -- RHEL 7 wget https://rpmfind.net/linux/epel/7/x86_64/Packages/x/xrdp-0.9.22.1-2.el7.x86_64.rpm wget https://rpmfind.net/linux/epel/7/x86_64/Packages/x/xorgxrdp-0.9.19-1.el7.x86_64.rpm rpm -ivh xrdp-0.9.22.1-2.el7.x86_64.rpm --nodeps rpm -ivh xorgxrdp-0.9.19-1.el7.x86_64.rpm -- anolisos龙蜥8 wget https://rpmfind.net/linux/epel/8/Everything/x86_64/Packages/i/imlib2-1.4.9-8.el8.x86_64.rpm wget https://rpmfind.net/linux/epel/8/Everything/x86_64/Packages/x/xrdp-0.9.23.1-1.el8.x86_64.rpm wget https://rpmfind.net/linux/epel/8/Everything/x86_64/Packages/x/xorgxrdp-0.9.19-5.el8.x86_64.rpm rpm -ivh imlib2-1.4.9-8.el8.x86_64.rpm rpm -ivh xorgxrdp-0.9.19-5.el8.x86_64.rpm rpm -ivh xrdp-0.9.23.1-1.el8.x86_64.rpm --nodeps # sed -i 's/port=3389/port=3390/g' /etc/xrdp/xrdp.ini # sed -i 's/max_bpp=32/max_bpp=24/g' /etc/xrdp/xrdp.ini echo xfce4-session > /root/.xsession chmod +x /root/.xsession systemctl enable xrdp systemctl restart xrdp systemctl status xrdp |
debian安装
1 2 3 4 5 6 7 8 9 10 11 12 13 14 | -- 安装xrdp -- debian 13、12和11,其它不能安装 apt-get install -y xrdp xorgxrdp adduser xrdp ssl-cert # sed -i 's/port=3389/port=3390/g' /etc/xrdp/xrdp.ini # sed -i 's/max_bpp=32/max_bpp=24/g' /etc/xrdp/xrdp.ini echo xfce4-session > /root/.xsession chmod +x /root/.xsession systemctl restart xrdp && systemctl enable xrdp # 访问Linux(mstsc): 192.168.59.220:3389 安装完成后,即可使用Windows远程桌面工具登录Ubuntu。 |
Ubuntu和Debian安装xrdp
http://www.c-nergy.be/products.html
1 2 3 4 | wget https://c-nergy.be/downloads/xRDP/xrdp-installer-1.4.8.zip unzip xrdp-installer-1.4.8.zip chmod +x xrdp-installer-1.4.8.sh ./xrdp-installer-1.4.8.sh |