安裝 XFCE4 這個桌面環境
- sudo dnf groupinstall xfce-desktop
網路要開啓RDP專用的連接埠
- sudo firewall-cmd --add-port=3389/tcp
- sudo firewall-cmd --permanent --add-port=3389/tcp
安裝 TigerVNC 與 xRDP
- sudo dnf install tigervnc tigervnc-server
- sudo dnf install xrdp
開啟 xRDP 服務
- sudo systemctl enable xrdp.service
- sudo systemctl enable xrdp-sesman
- sudo systemctl start xrdp-sesman
- sudo systemctl start xrdp.service
設定遠端連線用的桌面環境是XFCE
- sudo echo "startxfce4" > ~/.Xclients
- sudo chmod +x ~/.Xclients
- sudo systemctl restart xrdp.service
_EOF_
沒有留言:
張貼留言