4
2

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 5 years have passed since last update.

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

Last updated at Posted at 2018-11-29

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)に関しては、以下のリンクを参照ください。

4
2
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
4
2

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?