Help us understand the problem. What is going on with this article?

CentOS7でxrdpがインストールできない場合の対応方法

More than 1 year has passed since last update.

CentOS7にxrdpへインストールする際、パッケージの依存性の問題により、xrdpをインストールすることができない(正しくはxorgxrdpのインストールができない)場合があります。

# yum install xrdp tigervnc-server
Loaded plugins: fastestmirror, langpacks
Determining fastest mirrors
epel/x86_64/metalink                                                        | 8.4 kB  00:00:00
 * base: ftp.iij.ad.jp
 * epel: d2lzkl7pfhq30w.cloudfront.net
 * extras: ftp.iij.ad.jp
 * updates: ftp.iij.ad.jp
base                                                                        | 3.6 kB  00:00:00
epel                                                                        | 3.2 kB  00:00:00
extras                                                                      | 3.4 kB  00:00:00
updates                                                                     | 3.4 kB  00:00:00
(1/7): base/7/x86_64/group_gz                                               | 166 kB  00:00:00
(2/7): epel/x86_64/group_gz                                                 |  88 kB  00:00:00
(3/7): epel/x86_64/updateinfo                                               | 930 kB  00:00:00
(4/7): extras/7/x86_64/primary_db                                           | 205 kB  00:00:00
(5/7): epel/x86_64/primary                                                  | 3.6 MB  00:00:00
(6/7): base/7/x86_64/primary_db                                             | 5.9 MB  00:00:00
(7/7): updates/7/x86_64/primary_db                                          | 6.0 MB  00:00:00
epel                                                                                   12720/12720
Package tigervnc-server-1.8.0-5.el7.x86_64 already installed and latest version
Resolving Dependencies
--> Running transaction check
---> Package xrdp.x86_64 1:0.9.8-1.el7 will be installed
--> Processing Dependency: xorgxrdp for package: 1:xrdp-0.9.8-1.el7.x86_64
--> Running transaction check
---> Package xorgxrdp.x86_64 0:0.2.8-3.el7 will be installed
--> Processing Dependency: xorg-x11-server-Xorg(x86-64) = 1.20.1 for package: xorgxrdp-0.2.8-3.el7.
x86_64
--> Finished Dependency Resolution
Error: Package: xorgxrdp-0.2.8-3.el7.x86_64 (epel)
           Requires: xorg-x11-server-Xorg(x86-64) = 1.20.1
           Installed: xorg-x11-server-Xorg-1.19.5-5.1.el7_5.0.1.x86_64 (@updates)
               xorg-x11-server-Xorg(x86-64) = 1.19.5-5.1.el7_5.0.1
           Available: xorg-x11-server-Xorg-1.19.5-5.el7.x86_64 (base)
               xorg-x11-server-Xorg(x86-64) = 1.19.5-5.el7
           Available: xorg-x11-server-Xorg-1.19.5-5.1.el7_5.x86_64 (updates)
               xorg-x11-server-Xorg(x86-64) = 1.19.5-5.1.el7_5
 You could try using --skip-broken to work around the problem
 You could try running: rpm -Va --nofiles --nodigest

これはCentOS7においては既知の不具合のようです。

対応方法

CR Repoを有効にして、xrdpをインストールします。

# yum install --enablerepo=cr xrdp

CR Repo (The Continuous Release Repository)に関しては、以下のリンクを参照ください。

Why do not you register as a user and use Qiita more conveniently?
  1. We will deliver articles that match you
    By following users and tags, you can catch up information on technical fields that you are interested in as a whole
  2. you can read useful information later efficiently
    By "stocking" the articles you like, you can search right away
Comments
Sign up for free and join this conversation.
If you already have a Qiita account
Why do not you register as a user and use Qiita more conveniently?
You need to log in to use this function. Qiita can be used more conveniently after logging in.
You seem to be reading articles frequently this month. Qiita can be used more conveniently after logging in.
  1. We will deliver articles that match you
    By following users and tags, you can catch up information on technical fields that you are interested in as a whole
  2. you can read useful information later efficiently
    By "stocking" the articles you like, you can search right away