系统环境
- 服务端:centos7.7 Minimal
- 客户端:windows10
本实验中安装的系统没有安装桌面环境,我们需要自己安装,如果已经安装桌面了清跳过这一步 。Centos7提供了"Cinnamon Desktop","MATE Desktop","GNOME Desktop","KDE Plasma Workspaces","LXQt Desktop","Xfce"让我们安装 。
下面的命令列出可用环境组:
[root@localhost ~]# yum grouplistLoaded plugins: fastestmirrorThere 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.comAvailable Environment Groups:Minimal InstallCompute NodeInfrastructure ServerFile and Print ServerCinnamon DesktopMATE DesktopBasic Web ServerVirtualization HostServer with GUIGNOME DesktopKDE Plasma WorkspacesDevelopment and Creative WorkstationAvailable Groups:CinnamonCompatibility LibrariesConsole Internet ToolsDevelopment ToolsEducational SoftwareElectronic LabFedora PackagerGeneral Purpose DesktopGraphical Administration ToolsHaskellLXQt DesktopLegacy UNIX CompatibilityMATEMilkymistScientific SupportSecurity ToolsSmart Card SupportSystem Administration ToolsSystem ManagementTurboGears Application frameworkXfceDone我们可以选择自己喜欢的桌面环境,在这里选择安装Xfce桌面:[root@localhost ~]# yum -y install epel-release && yum groupinstall Xfce安装Xrdp[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服务器 。
【Centos7安装Xrdp远程桌面服务】
推荐阅读
- Windows安装Altstore教程
- Centos中VNC远程桌面程序的安装与使用教
- led平板灯的选购及安装
- 吊灯的安装方法及注意事项
- lede软路由安装教程
- nginx自动更新ssl证书
- Centos7.4 Yapi 服务搭建
- 如何在CentOS 8上安装和使用curl
- Centos7密码登录失败锁定设置
- 马桶盖掉了怎么安装上,马桶盖掉了用什么胶可以粘上
