大橙子网站建设,新征程启航
为企业提供网站建设、域名注册、服务器等服务
导读 | 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