您好,登錄后才能下訂單哦!
導讀 | Xrdp是Microsoft遠程桌面協議(RDP)的一個開源實現,它允許以圖形方式控制遠程系統。使用RDP,您可以登錄到遠程計算機并創建一個真正的桌面會話,就像您登錄到本地計算機一樣。 |
本實驗中安裝的系統沒有安裝桌面環境,我們需要自己安裝,如果已經安裝桌面了清跳過這一步。Centos7提供了"Cinnamon Desktop","MATE Desktop","GNOME Desktop","KDE Plasma Workspaces","LXQt Desktop","Xfce"讓我們安裝。
下面的 命令列出可用環境組:
[root@localhost ~]# yum grouplist Loaded plugins: fastestmirror There is no installed groups file. Maybe run: yum groups mark convert (see man yum) Loading mirror speeds from cached hostfile * base: mirrors.tuna.tsinghua.edu.cn * epel: mirrors.aliyun.com * extras: mirrors.aliyun.com * updates: mirrors.aliyun.com Available Environment Groups: Minimal Install Compute Node Infrastructure Server File and Print Server Cinnamon Desktop MATE Desktop Basic Web Server Virtualization Host Server with GUI GNOME Desktop KDE Plasma Workspaces Development and Creative Workstation Available Groups: Cinnamon Compatibility Libraries Console Internet Tools Development Tools Educational Software Electronic Lab Fedora Packager General Purpose Desktop Graphical Administration Tools Haskell LXQt Desktop Legacy UNIX Compatibility MATE Milkymist Scientific Support Security Tools Smart Card Support System Administration Tools System Management TurboGears application framework Xfce Done
我們可以選擇自己喜歡的桌面環境,在這里選擇安裝Xfce桌面:
[root@localhost ~]# yum -y install epel-release && yum groupinstall Xfce
[root@localhost ~]# yum -y install xrdp
安裝完成之后,設置開機啟動并啟動xrdp
[root@localhost ~]# systemctl start xrdp && systemctl enable xrdp
創建~/.Xclients,設置默認啟動xfce4桌面
[root@localhost ~]# echo "xfce4-session" > ~/.Xclients [root@localhost ~]# chmod +x .Xclients
安裝Xrdp服務器允許您通過圖形界面從本地管理CentOS 7服務器。
本文原創地址: https://www.linuxprobe.com/centos7-xrdp-remote-desktop.html
免責聲明:本站發布的內容(圖片、視頻和文字)以原創、轉載和分享為主,文章觀點不代表本網站立場,如果涉及侵權請聯系站長郵箱:is@yisu.com進行舉報,并提供相關證據,一經查實,將立刻刪除涉嫌侵權內容。