跳转至

如何配置xRDP默认桌面

概要: 配置RDP远程连接Linux时的默认桌面环境

创建时间: 2022.05.19 01:03:17

更新时间: 2023.07.30 23:44:35

Gnome 3

Bash
1
2
3
echo "gnome-session" > ~/.Xclients
chmod +x ~/.Xclients
sudo systemctl restart xrdp.service

Gnome Fallback

Bash
1
2
3
echo "gnome-fallback" > ~/.Xclients
chmod +x ~/.Xclients
sudo systemctl restart xrdp.service

KDE

Bash
1
2
3
echo "startkde" > ~/.Xclients
chmod +x ~/.Xclients
sudo systemctl restart xrdp.service

MATE

Bash
1
2
3
echo "mate-session" > ~/.Xclients
chmod +x ~/.Xclients
sudo systemctl restart xrdp.service

Cinnamon

Bash
1
2
3
echo "cinnamon" > ~/.Xclients
chmod +x ~/.Xclients
sudo systemctl restart xrdp.service

Xfce4

Bash
1
2
3
echo "startxfce4" > ~/.Xclients
chmod +x ~/.Xclients
sudo systemctl restart xrdp.service

参考