linux远程桌面:xrdp 安装失败

window 如何远程 Linux 桌面

  1. 安装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
  1. window 远程桌面
相关推荐
xiaoxiangsiyan29 分钟前
LNMP + Redis Sentinel 高可用架构部署手册(续)
运维·网络·数据库·redis·缓存·架构·sentinel
AIgorithmGEEK34 分钟前
Linux 权限管理:从「Permission Denied」到「畅行无阻」
linux·权限·chmod·粘滞位·umask·文件权限的构成
BullSmall1 小时前
scanoss-engine 本地最简部署 & 扫描命令(Linux/Anolis OS)
linux·运维·服务器
陈聪.1 小时前
Keepalived 高可用集群:从原理到企业级实践
运维
bellus-1 小时前
Ubuntu 26.04 Miniforge3 安装与配置完整指南
linux·运维·ubuntu
575771 小时前
户外净水器过滤效果怎么看:对照孔径、除菌率和认证三项再下单
运维·服务器
瞬间&永恒~2 小时前
【Docker】(四)Namespace 详解
运维·docker·容器
RD_daoyi2 小时前
Google核心算法不再通知!全年持续滚动更新
大数据·服务器·前端·网络·搜索引擎·.net
爱喝水的木子2 小时前
自建RustDesk私有服务器全攻略
运维·服务器
jieyucx2 小时前
【服务器特性】结合服务器/CMS:解析漏洞实战
运维·服务器·web安全·文件上传