0
点赞
收藏
分享

微信扫一扫

linux远程桌面:xrdp 安装失败

Jonescy 2024-10-05 阅读 16

window 如何远程 Linux 桌面

  1. 安装xrdp
yum install xrdp

systemctl start xrdp 

如果找不到软件包,就安装epel源,最好改成国内镜像的

在 /etc/yum.repos.d/ 下创建epel.repo,内容如下

[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
~   

添加后记得:清缓存重新获取元数据

yum clean all
yum makecache
  1. window 远程桌面
举报

相关推荐

0 条评论