栏目分类:
子分类:
返回
名师互学网用户登录
快速导航关闭
当前搜索
当前分类
子分类
实用工具
热门搜索
名师互学网 > IT > 系统运维 > 运维 > Linux

ubuntu 配置远程remote

Linux 更新时间: 发布时间: IT归档 最新发布 模块sitemap 名妆网 法律咨询 聚返吧 英语巴士网 伯小乐 网商动力

ubuntu 配置远程remote

https://www.e2enetworks.com/help/knowledge-base/how-to-install-remote-desktop-xrdp-on-ubuntu-18-04/

    安装xrdp包
sudo apt-get install xrdp
    安装桌面环境
sudo apt-get install xfce4
    After installation, configure XRDP to use XFCE environment with below command
sudo sed -i.bak '/fi/a #xrdp multiple users configuration n xfce-session n' /etc/xrdp/startwm.sh

By default Xrdp uses the /etc/ssl/private/ssl-cert-snakeoil.key file which is readable only by users that are members of the “ssl-cert” group. Execute the following command to add the xrdp user to the group

sudo adduser xrdp ssl-cert  
    Allow RDP port in Firewall
    Post configuring, To connect with the RDP session you need to allow the port in firewall which by default is closed. Run the below command to open the port in Ubuntu 18.04

If you have enabled UFW, Use below command

sudo ufw allow 3389/tcp

If Iptables is running on your server, Use below command

sudo iptables -A INPUT -p tcp --dport 3389 -j ACCEPT

sudo netfilter-persistent save

sudo netfilter-persistent reload
    Restart the Xrdp application
    Restart once the Xrdp application to make sure all the above changes are reflected.
sudo /etc/init.d/xrdp restart
转载请注明:文章转载自 www.mshxw.com
本文地址:https://www.mshxw.com/it/718885.html
我们一直用心在做
关于我们 文章归档 网站地图 联系我们

版权所有 (c)2021-2022 MSHXW.COM

ICP备案号:晋ICP备2021003244-6号