通过windows远程访问linux桌面的方法(简单)
2021-07-09 13:06
标签:upd cached gpg lease line star ica img 服务 Linux端 1.保证Linux是有桌面界面的版本 2.安装xrdp,xrdp在 EPEL仓库可以使用,所以配置 EPEL仓库:sudo rpm -Uvh https://dl.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.rpm 3.安装插件:sudo -y yum install xrdp,结果如下: 4.安装插件:sudo yum -y install tigervnc-server 5.启动服务:/bin/systemctl start xrdp.service Windows端: 1.打开远程桌面工具: 2.输入LinuxIP地址,阅读警告后点“是” 3.输入Linux用户名和密码 4.完美远程登录桌面。 通过windows远程访问linux桌面的方法(简单) 标签:upd cached gpg lease line star ica img 服务 原文地址:https://www.cnblogs.com/lizhangshu/p/9709531.html[hadoop@master ~]$ sudo yum -y install xrdp
Loaded plugins: fastestmirror, langpacks
Loading mirror speeds from cached hostfile
epel/x86_64/metalink | 8.5 kB 00:00:00
* base: mirrors.163.com
* epel: ftp.cuhk.edu.hk
* extras: mirrors.163.com
* updates: ftp.sjtu.edu.cn
epel | 4.7 kB 00:00:00
http://ftp.cuhk.edu.hk/pub/linux/fedora-epel/7/x86_64/repodata/repomd.xml: [Errno -1] repomd.xml does not match metalink for epel
Trying other mirror.
epel | 3.2 kB 00:00:00
(1/3): epel/x86_64/group_gz | 88 kB 00:00:00
(2/3): epel/x86_64/updateinfo | 943 kB 00:00:15
(3/3): epel/x86_64/primary | 3.6 MB 00:01:37
epel 12687/12687
Resolving Dependencies
--> Running transaction check
---> Package xrdp.x86_64 1:0.9.7-1.el7 will be installed
--> Processing Dependency: xorgxrdp for package: 1:xrdp-0.9.7-1.el7.x86_64
--> Running transaction check
---> Package xorgxrdp.x86_64 0:0.2.7-1.el7 will be installed
--> Finished Dependency Resolution
Dependencies Resolved
==============================================================================================================================================================================================
Package Arch Version Repository Size
==============================================================================================================================================================================================
Installing:
xrdp x86_64 1:0.9.7-1.el7 epel 416 k
Installing for dependencies:
xorgxrdp x86_64 0.2.7-1.el7 epel 62 k
Transaction Summary
==============================================================================================================================================================================================
Install 1 Package (+1 Dependent package)
Total download size: 478 k
Installed size: 2.2 M
Downloading packages:
warning: /var/cache/yum/x86_64/7/epel/packages/xorgxrdp-0.2.7-1.el7.x86_64.rpm: Header V3 RSA/SHA256 Signature, key ID 352c64e5: NOKEY ] 0.0 B/s | 0 B --:--:-- ETA
Public key for xorgxrdp-0.2.7-1.el7.x86_64.rpm is not installed
(1/2): xorgxrdp-0.2.7-1.el7.x86_64.rpm | 62 kB 00:00:01
(2/2): xrdp-0.9.7-1.el7.x86_64.rpm | 416 kB 00:00:07
----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Total 62 kB/s | 478 kB 00:00:07
Retrieving key from file:///etc/pki/rpm-gpg/RPM-GPG-KEY-EPEL-7
Importing GPG key 0x352C64E5:
Userid : "Fedora EPEL (7)
1 [hadoop@master ~]$ /bin/systemctl start xrdp.service
2 ==== AUTHENTICATING FOR org.freedesktop.systemd1.manage-units ===
3 Authentication is required to manage system services or units.
4 Authenticating as: root
5 Password:
6 ==== AUTHENTICATION COMPLETE ===
7 [hadoop@master ~]$
下一篇:C#-异常处理(十四)
文章标题:通过windows远程访问linux桌面的方法(简单)
文章链接:http://soscw.com/index.php/essay/102788.html