远程连接linux桌面的方法

  

远程连接linux桌面的方法:

1,保证linux是有桌面界面的版本

2,安装xrdp, xrdp在EPEL仓库可以使用,所以配置EPEL仓库:sudo rpm -Uvh https://dl.fedoraproject.org/pub/epel/epel -发布最新7. - noarch.rpm

3,安装插件:sudo - y yum安装xrdp,结果如下:

[hadoop@master ~] $ sudo yum - y xrdp安装   加载插件:fastestmirror langpacks   从缓存hostfile加载镜像速度   epel/x86_64/metalink | 8.5 kB就是   *基础:mirrors.163.com   * epel: ftp.cuhk.edu.hk   *附加:mirrors.163.com   *更新:ftp.sjtu.edu.cn   epel | 4.7 kB就是   http://ftp.cuhk.edu.hk/pub/linux/fedora-epel/7/x86_64/repodata/repomd.xml: [Errno 1] repomd。xml为epel metalink不匹配   尝试其他的镜子。   epel | 3.2 kB就是   (1/3):epel/x86_64/group_gz | 88 kB就是   (2/3):epel/x86_64/updateinfo | 943 kB 00:00:15   (3/3):主| 3.6 MB 00:01:37 epel/x86_64/epel 12687/12687   解决依赖关系   ——比;运行的事务检查   ——比;包xrdp。x86_64 1:0.9.7-1。el7将安装   ——比;处理依赖关系:xorgxrdp包:1:xrdp el7.x86_64——0.9.7 - 1.   ——比;运行的事务检查   ——比;包xorgxrdp。x86_64 0:0.2.7-1。el7将安装   ——比;完成依赖分辨率      依赖性解析==============================================================================================================================================================================================包拱版本库的大?=============================================================================================================================================================================================安装:   xrdp x86_64 1:0.9.7-1。el7 epel 416 k   安装的依赖关系:   xorgxrdp x86_64 0.2.7-1。el7 epel 62 k      交易汇总==============================================================================================================================================================================================依赖包安装1包(+ 1)      总下载大小:478 k   安装尺寸:2.2米   下载包:   警告:/var/cache/yum/x86_64/7/epel/packages/xorgxrdp el7.x86_64——0.2.7 - 1.。rpm:头V3 RSA/SHA256签名、密钥ID 352 c64e5: NOKEY] 0.0 B/s | 0 B——:——:埃塔   公钥对xorgxrdp el7.x86_64——0.2.7 - 1.。rpm是没有安装   (1/2):xorgxrdp el7.x86_64——0.2.7 - 1.。rpm | 62 kB 00:00:01   (2/2):xrdp el7.x86_64——0.9.7 - 1.。rpm | 416 kB 00:00:07   ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------   总62 kB/s | 478 kB 00:00:07   从文件中检索关键:///etc/pki/rpm-gpg/RPM-GPG-KEY-EPEL-7   进口GPG密钥0 x352c64e5:   用户标识:“Fedora EPEL (7) & lt; epel@fedoraproject.org>“   指纹:91 e9 7 d7c 4 a5e 96 f1 7 f3e 888 f 6 a2f aea2 352 c 64 e5   包:epel-release-7-11。noarch(安装)   来自:/etc/pki/rpm-gpg/RPM-GPG-KEY-EPEL-7   运行的事务检查   运行事务测试   交易测试成功   运行的事务   null   null   null   null   null   null   null   null   null   null   null   null   null   null   null   null   null   null   null   null   null   null   null   null   null   null   null   null   null   null   null

远程连接linux桌面的方法