how to install xrdp

General support questions
afalanga
Posts: 85
Joined: 2013/01/31 00:29:05

how to install xrdp

Postby afalanga » 2015/10/01 15:33:54

I would like to know how to install xrdp. I set out this morning to do so but am running into a brick wall. This thread, https://www.centos.org/forums/viewtopic.php?f=47&t=47292&hilit=xrdp has a respondent which posted

On the Centos server, you need to install and configure "xrdp", then open up port 3389 in your firewall.


Ok, great. So I do a google search and get several hits which all say something like this
First, Install EPEL repository packages.
Ok, I've done that.

[andy@dm-rpm ~]$ sudo rpm -i epel-release-7-5.noarch.rpm
package epel-release-7-5.noarch is already installed


So then I install as this link says to http://idroot.net/tutorials/how-to-install-xrdp-on-centos-7/ but this is what I get

[andy@dm-rpm ~]$ sudo yum install xrdp
Loaded plugins: fastestmirror, langpacks
Loading mirror speeds from cached hostfile
* base: centos-distro.cavecreek.net
* epel: archive.linux.duke.edu
* extras: ftpmirror.your.org
* updates: centos-distro.cavecreek.net
No package xrdp available.
Error: Nothing to do


So, how does one actually install xrdp onto CentOS 7?

MartinR
Posts: 281
Joined: 2015/05/11 07:53:27
Location: UK

Re: how to install xrdp

Postby MartinR » 2015/10/01 16:13:26

Hmm,

Code: Select all

# uname -a
Linux ****** 2.6.32-573.7.1.el6.x86_64 #1 SMP Tue Sep 22 22:00:00 UTC 2015 x86_64 x86_64 x86_64 GNU/Linux
# yum list | grep xrdp
xrdp.x86_64                                0.6.1-4.el6                  epel   
# yum install xrdp
Loaded plugins: fastestmirror, refresh-packagekit, security
Setting up Install Process
Loading mirror speeds from cached hostfile
 * base: mirror.synergyworks.co.uk
 * epel: epel.check-update.co.uk
 * extras: mirror.econdc.com
 * updates: mirrors.clouvider.net
Resolving Dependencies
--> Running transaction check
---> Package xrdp.x86_64 0:0.6.1-4.el6 will be installed
--> Processing Dependency: vnc-server for package: xrdp-0.6.1-4.el6.x86_64
--> Running transaction check
---> Package tigervnc-server.x86_64 0:1.1.0-16.el6.centos will be installed
--> Finished Dependency Resolution

Dependencies Resolved

================================================================================
 Package               Arch         Version                    Repository  Size
================================================================================
Installing:
 xrdp                  x86_64       0.6.1-4.el6                epel       244 k
Installing for dependencies:
 tigervnc-server       x86_64       1.1.0-16.el6.centos        base       1.0 M

Transaction Summary
================================================================================
Install       2 Package(s)

so I think you may have a deeper yum issue.

gerald_clark
Posts: 10642
Joined: 2005/08/05 15:19:54
Location: Northern Illinois, USA

Re: how to install xrdp

Postby gerald_clark » 2015/10/01 19:06:01

xrdp is in the nux-dextop repo.

linda00145
Posts: 1
Joined: 2015/09/03 05:07:42

Re: how to install xrdp

Postby linda00145 » 2015/10/02 04:37:15

gerald_clark wrote:xrdp is in the nux-dextop repo.


Can you please tell me what does this mean "nux-dextop repo"

User avatar
TrevorH
Forum Moderator
Posts: 21206
Joined: 2009/09/24 10:40:56
Location: Brighton, UK

Re: how to install xrdp

Postby TrevorH » 2015/10/02 11:11:22

CentOS 5 died in March 2017 - migrate NOW!
Full time Geek, part time moderator. Use the FAQ Luke

afalanga
Posts: 85
Joined: 2013/01/31 00:29:05

Re: how to install xrdp

Postby afalanga » 2015/10/02 15:18:47

Thanks everyone. Now the real frustration: my company blocks access to that domain (nux-desktop). doh :roll:

MartinR
Posts: 281
Joined: 2015/05/11 07:53:27
Location: UK

Re: how to install xrdp

Postby MartinR » 2015/10/02 15:50:43

There's something funny going on here. If, as Gerald says, xrdp is in nux-dextop, what's happening here?

Code: Select all

# yum info xrdp
Loaded plugins: fastestmirror, refresh-packagekit, security
Loading mirror speeds from cached hostfile
 * base: mirror.econdc.com
 * epel: epel.check-update.co.uk
 * extras: mirror.sov.uk.goscomb.net
 * updates: mirror.econdc.com
Available Packages
Name        : xrdp
Arch        : x86_64
Version     : 0.6.1
Release     : 4.el6
Size        : 244 k
Repo        : epel
Summary     : Open source remote desktop protocol (RDP) server
URL         : http://xrdp.sourceforge.net/
License     : GPLv2+ with exceptions
Description : The goal of this project is to provide a fully functional Linux
            : terminal server, capable of accepting connections from rdesktop
            : and Microsoft's own terminal server / remote desktop clients.


I've just looked on my workstation (airgap from the internet, repos rsynced and copied over) and it also seems to be in epel-7 there. However, repoview wasn't showing it!

User avatar
TrevorH
Forum Moderator
Posts: 21206
Joined: 2009/09/24 10:40:56
Location: Brighton, UK

Re: how to install xrdp

Postby TrevorH » 2015/10/02 16:44:19

Your EPEL is el6.
CentOS 5 died in March 2017 - migrate NOW!
Full time Geek, part time moderator. Use the FAQ Luke

MartinR
Posts: 281
Joined: 2015/05/11 07:53:27
Location: UK

Re: how to install xrdp

Postby MartinR » 2015/10/02 17:09:52

Thanks Trevor. Wrong machine to test on. Apologies for the noise, please be charitable and put it down to Friday afternoons.