Page 1 of 1

xrdp not installed

Posted: 2019/09/12 10:46:03
by nike
i have install centos 7.5 & update .It is running fine but i cannot install xrdp service due to below error
--> Package xrdp-selinux.x86_64 1:0.9.11-1.el7 will be installed
--> Processing Dependency: selinux-policy >= 3.13.1-252.el7.1 for package: 1:xrdp-selinux-0.9.11-1.el7.x86_64
--> Finished Dependency Resolution
Error: Package: 1:xrdp-selinux-0.9.11-1.el7.x86_64 (epel)
Requires: selinux-policy >= 3.13.1-252.el7.1
Installed: selinux-policy-3.13.1-229.el7_6.15.noarch (@updates)
selinux-policy = 3.13.1-229.el7_6.15
Available: selinux-policy-3.13.1-229.el7.noarch (base)
selinux-policy = 3.13.1-229.el7
Available: selinux-policy-3.13.1-229.el7_6.5.noarch (updates)
selinux-policy = 3.13.1-229.el7_6.5
Available: selinux-policy-3.13.1-229.el7_6.6.noarch (updates)
selinux-policy = 3.13.1-229.el7_6.6
Available: selinux-policy-3.13.1-229.el7_6.9.noarch (updates)
selinux-policy = 3.13.1-229.el7_6.9
Available: selinux-policy-3.13.1-229.el7_6.12.noarch (updates)
selinux-policy = 3.13.1-229.el7_6.12
Error: Package: xorgxrdp-0.2.11-1.el7.x86_64 (epel)
Requires: xorg-x11-server-Xorg(x86-64) = 1.20.4
Installed: xorg-x11-server-Xorg-1.20.1-5.6.el7_6.x86_64 (@updates)
xorg-x11-server-Xorg(x86-64) = 1.20.1-5.6.el7_6
Available: xorg-x11-server-Xorg-1.20.1-3.el7.x86_64 (base)
xorg-x11-server-Xorg(x86-64) = 1.20.1-3.el7
Available: xorg-x11-server-Xorg-1.20.1-5.el7.x86_64 (updates)
xorg-x11-server-Xorg(x86-64) = 1.20.1-5.el7
Available: xorg-x11-server-Xorg-1.20.1-5.1.el7.x86_64 (updates)
xorg-x11-server-Xorg(x86-64) = 1.20.1-5.1.el7
Available: xorg-x11-server-Xorg-1.20.1-5.2.el7_6.x86_64 (updates)
xorg-x11-server-Xorg(x86-64) = 1.20.1-5.2.el7_6
Available: xorg-x11-server-Xorg-1.20.1-5.3.el7_6.x86_64 (updates)
xorg-x11-server-Xorg(x86-64) = 1.20.1-5.3.el7_6
You could try using --skip-broken to work around the problem
You could try running: rpm -Va --nofiles --nodigest
In my server
# cat /etc/centos-release
CentOS Linux release 7.6.1810 (Core)
#uname -r
plz any help to install xrdp service ..thanks in advance

Re: xrdp not installed

Posted: 2019/09/15 15:05:08
by LordShacks
You'll need to manually update your selinux and xorg RPM's. I couldn't find a way to get yum to pick the required RPM versions automatically from the available repos. I downloaded the necessary RPM's and there dependencies from here:

You'll need the following RPM's:
  • selinux-policy-3.13.1-252.el7.1.noarch.rpm
  • selinux-policy-targeted-3.13.1-252.el7.1.noarch.rpm
  • xorg-x11-server-common-1.20.4-7.el7.x86_64.rpm
  • xorg-x11-server-Xorg-1.20.4-7.el7.x86_64.rpm
Bear in mind that these RPM's depend on each other so you'll need to install/upgrade them in the correct order. For xorg you should just be able to run 'rpm -Uvh' on the 'xorg-x11-server-common' RPM followed by running 'rpm -Uvh' on xorg-x11-server-Xorg'. This will upgrade the common dependency first and the Xorg RPM should install correctly.

Selinux is a little more complicated as you'll need to remove ('rpm -e') the old 'selinux-policy-targeted' RPM before installing the new one. Once that's removed simply install ('rpm -ivh') the new 'selinux-policy-targeted' RPM and then you should be able to upgrade the 'selinux-policy' RPM as you did with the two xorg-x11 RPM's.

Once completed run 'sudo yum install xrdp' again and it should detect the updated versions and install correctly.

Re: xrdp not installed

Posted: 2019/09/15 15:28:31
by TrevorH
The correct way is yum --enablerepo=cr,epel-testing update to update to what will be 7.7 when it goes GA soon. We don't support cherry picking updates out of there as they were tested as a whole not as bits.