Setting up XRDP on CentOS 6

Hello,
I need step-by-step instructions on how to download and install xrdp on CentOS 6 remotely using a terminal. Any help would be appreciated.
Thanks!
crjaqAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

farzanjCommented:
As root issue command

yum install xrdp

Open in new window


Also review this document
http://opensourcebyte.blogspot.ca/2011/01/installing-xrdp-on-centos.html

If the above step (yum) is successful, you may start with step 3 of the above document
0
Seth SimmonsSr. Systems AdministratorCommented:
that command will fail unless support for epel is enabled; xrdp is in the epel repository

wget http://dl.fedoraproject.org/pub/epel/6/x86_64/epel-release-6-8.noarch.rpm
yum install epel-release-6-8.noarch.rpm -y
yum install xrdp -y
service xrdp start
chkconfig xrdp on

Open in new window

0
crjaqAuthor Commented:
Seth2740 -
I now get the screen to login, but I get "error - problem connecting" even though rdp port is open. Prior, I ran - yum groupinstall basic-desktop desktop-platform x11 fonts
0
MSSPs - Are you paying too much?

WEBINAR: Managed security service providers often deploy & manage products from a variety of solution vendors. But is this really the best approach when it comes to saving time AND money? Join us on Aug. 15th to learn how you can improve your total cost of ownership today!

Seth SimmonsSr. Systems AdministratorCommented:
iptables -I INPUT 1 -p tcp --dport 3389 -j ACCEPT
service iptables save

Open in new window


now try connecting
0
crjaqAuthor Commented:
Thanks but it's still giving me the same error.
I've even tried disabling the firewall w/
service iptables stop
chkconfig iptables off
0
Seth SimmonsSr. Systems AdministratorCommented:
are these 2 on different networks?  is there any firewall in between?
i tested this and works fine for me so something must be blocking on your side
0
crjaqAuthor Commented:
It's a virtual machine on AWS. The RDP port is open. I've even tried to enable all traffic to pass-through on AWS but still no luck when I try to rdp. This was built with a minimal profile just enough packages to run within AWS.
0
Seth SimmonsSr. Systems AdministratorCommented:
can you do a telnet test on port 3389 to that box?
you won't get any output if it works (just flashing cursor) but would be good to see if you get that far or if it says connect failed
0
crjaqAuthor Commented:
I could ping it fine. I would need to install telnet on that vm.
0
Seth SimmonsSr. Systems AdministratorCommented:
telnet test from your machine to see if you can even reach that port remotely
0
crjaqAuthor Commented:
I can telnet ok remotely
0
Seth SimmonsSr. Systems AdministratorCommented:
so you don't get any connection error from your machine when doing telnet <aws hostname> 3389 ?
0
crjaqAuthor Commented:
That's correct..no errors when I telnet from a remote host to the aws ip on port 3389.

I think I'm missing a package or something related. Just not sure.
0
crjaqAuthor Commented:
Perhaps it may be best to start over. Create a new instance, etc..

Before I install epel i.e. your prior instructions, what package should I install first?

Thanks!
0
Seth SimmonsSr. Systems AdministratorCommented:
i'm thinking maybe with their minimal installation there might be package(s) missing causing this not to work right
0
crjaqAuthor Commented:
I totally agree. It's challenging to figure out what packages I need first..
0
Seth SimmonsSr. Systems AdministratorCommented:
i just created a new virtual machine using the minimal install media then installed the epel package then xrdp, modified iptables and i can connect just fine

can you do rpm -qa | sort to a text file and upload here?
wondering if i can do a compare of installed packages between my system and aws system
0
crjaqAuthor Commented:
Sorry, I just deleted the instance. Let me recreate a new CentOS 6 again and follow your instructions..
0
crjaqAuthor Commented:
Did you install > "yum groupinstall basic-desktop desktop-platform x11 fonts"
before installing epel? Which install on aws did you select?

Thanks!
0
Seth SimmonsSr. Systems AdministratorCommented:
i don't have aws account; this was from regular iso media
this is why i was asking about package comparison between the 2 as i don't know how their system does the installation

from the minimal media, just configured epel repository and xrdp packages and it worked
are you still having issues with it?
0
crjaqAuthor Commented:
I tried it again and still having the same issue. Can you provide the step-by-step on how I should configure epel and xrdp packages? I'll try a regular media next time and let you know.
Thanks!
0
Seth SimmonsSr. Systems AdministratorCommented:
it's already in my first comment
download and install that rpm for epel repository then xrdp with it's dependencies
if you don't disable iptables then run that command i posted to add firewall rule
i've done it 2 times and worked fine which is why i said there might be something with the way aws has their template configured that might be an issue.  if you have the ability to use directly from centos iso then try that
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
Seth SimmonsSr. Systems AdministratorCommented:
any progress on this?
0
crjaqAuthor Commented:
That worked great!
Thanks!
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Linux

From novice to tech pro — start learning today.