How to Install Xrdp Server (Remote Desktop) on Ubuntu 18.04

本文介绍了如何在Ubuntu 18.04上安装和配置Xrdp服务器,包括安装桌面环境、Xrdp、防火墙配置以及使用Windows的RDP客户端进行连接。

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >

Installing Desktop Environment

sudo apt update
sudo apt install xfce4 xfce4-goodies xorg dbus-x11 x11-xserver-utils

Installing Xrdp

sudo apt install xrdp 
sudo systemctl status xrdp

You will see output like the following:

xrdp.service - xrdp daemon
   Loaded: loaded (/lib/systemd/system/xrdp.service; enabled; vendor preset: enabled)
   Active: active (running) since Sun 2019-07-28 22:40:53 UTC; 4min 21s ago
     Docs: man:xrdp(8)
           man:xrdp.ini(5)
  ...
sudo adduser xrdp ssl-cert  

Configuring Xrdp

sudo systemctl restart xrdp

Configuring Firewall

sudo ufw allow from 192.168.1.0/24 to any port 3389
sudo ufw allow 3389

Connecting to the Xrdp Server

If you have a Windows PC, you can use the default RDP client. Type “remote” in the Windows search bar and click on “Remote Desktop Connection”. This will open up the RDP client. In the “Computer” field, enter the remote server IP address and click “Connect”.

On the login screen, enter your username and password and click “OK”.

Whe first use, set up the panel by click:

USE DEFAULT CONFIG
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值