1. 更新软件仓库

    sudo apt update
    sudo apt upgrade

  2. 安装支持包 : Xorg, Xrdp, Xserver, Xfce4 and Mate Packages

    sudo apt-get install xorg
    sudo apt-get install xserver-xorg-core
    sudo apt-get install xorgxrdp

  3. 安装XFCE4桌面环境

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

  4. 安装XRDP

    sudo apt install xrdp
    sudo systemctl status xrdp
    sudo systemctl restart xrdp

  5. 环境设置
    5.1 XFCE桌面配置
sudo sed -i.bak '/fi/a #xrdp multiple users configuration \n xfce-session \n' /etc/xrdp/startwm.sh

5.2 在配置文件中,加入XFCE会话

echo xfce4-session > ~/.xsession

6 重启服务

sudo systemctl restart xrdp

标签: xrdp

添加新评论