window 如何远程 Linux 桌面
- 安装xrdp
powershell
yum install xrdp
systemctl start xrdp
如果找不到软件包,就安装epel源,最好改成国内镜像的
在 /etc/yum.repos.d/ 下创建epel.repo,内容如下
powershell
[epel]
name=Extra Packages for Enterprise Linux 7 - $basearch
baseurl=http://mirrors.aliyun.com/epel/7/$basearch
failovermethod=priority
enabled=1
gpgcheck=1
gpgkey=http://mirrors.aliyun.com/epel/RPM-GPG-KEY-EPEL-7
[epel-debuginfo]
name=Extra Packages for Enterprise Linux 7 - $basearch - Debug
baseurl=http://mirrors.aliyun.com/epel/7/$basearch/debug
failovermethod=priority
enabled=0
gpgcheck=1
gpgkey=http://mirrors.aliyun.com/epel/RPM-GPG-KEY-EPEL-7
[epel-source]
name=Extra Packages for Enterprise Linux 7 - $basearch - Source
baseurl=http://mirrors.aliyun.com/epel/7/SRPMS
failovermethod=priority
enabled=0
gpgcheck=1
gpgkey=http://mirrors.aliyun.com/epel/RPM-GPG-KEY-EPEL-7iPATH=$PATH:${JAVA_HOME}/bin
~
添加后记得:清缓存重新获取元数据
powershell
yum clean all
yum makecache
- window 远程桌面