Click here to Skip to main content
11,428,281 members (57,212 online)
Click here to Skip to main content
Technical Blog

Tagged as

Windows : xRDP to CentOS 6.5

, 7 Apr 2014 CPOL
Rate this:
Please Sign up or sign in to vote.
After a successful RDP to Ubuntu.Our next challenge was to RDP to CentOS 6.5. Frankly speaking,this wasn’t as easy as ubuntu. We will use the same Putty (which we have configured in our previous post ) Login with root or any user who is part of sudoers file 1) sudo yum update 2) reboot 3)uname

After a successful RDP to Ubuntu.Our next challenge was to RDP to CentOS 6.5. Frankly speaking,this wasn’t as easy as ubuntu.

We will use the same Putty (which we have configured in our previous post )

Login with root or any user who is part of sudoers file

1) sudo yum update

2) reboot

3)uname -r

Response : 2.6.32-431.el6.x86_64

Once you determine your architecture then you can install the correct EPEL repository with the below commands:

4)

wget http://dl.fedoraproject.org/pub/epel/6/x86_64/epel-release-6-8.noarch.rpm
wget http://rpms.famillecollet.com/enterprise/remi-release-6.rpm
sudo rpm -Uvh remi-release-6*.rpm epel-release-6*.rpm

You can verify that the EPEL repository is there by running the below command and you should see the EPEL repository listed

5) sudo yum repolist

Loaded plugins: fastestmirror, refresh-packagekit, security
Loading mirror speeds from cached hostfile
* base: mirror.thelinuxfix.com
* epel: mirror.cogentco.com=========This should be present
* extras: centos.mirror.nac.net
* updates: centos.mirror.netriplex.com

Once you have verified the EPEL repository is installed correctly you need to perform the last few steps below this will install XRDP and Tiger VNC Server for you to connect to. The Front end of XRDP uses the RDP protocol and internally it uses VNC to connect and display the Remote Desktop to you.

6)  sudo yum install xrdp tigervnc-server

7)   service vncserver start
8)   sudo service xrdp start
9)   sudo chkconfig xrdp on
10) sudo chkconfig vncserver on

If you are not able to get connected to the XRDP Login window check your iptables settings. If you are using iptables you need to edit your rules and add the port 3389 to the INPUT list. You can use the below commands to accomplish this (note that the port number shows as the service name ms-wbt-server instead of 3389):

11)  sudo iptables -I INPUT -p tcp -m state –state NEW -m tcp –dport 3389 -j ACCEPT
12)  sudo service iptables save
 Response iptables: Saving firewall rules to /etc/sysconfig/iptables:[ OK ]
13)  sudo service iptables restart

Response
iptables: Setting chains to policy ACCEPT: filter [ OK ]
iptables: Flushing firewall rules: [ OK ]
iptables: Unloading modules: [ OK ]
iptables: Applying firewall rules: [ OK ]

14) sudo iptables -L

Response
Chain INPUT (policy ACCEPT)
target prot opt source destination
ACCEPT tcp — anywhere anywhere state NEW tcp dpt:ms-wbt-server

centos

 

Courtesy :

http://platelunch.net/?p=492

http://ajmatson.net/wordpress/2014/01/install-xrdp-remote-desktop-to-centos-6-5/

http://www.rackspace.com/knowledge_center/article/installing-rhel-epel-repo-on-centos-5x-or-6x


Filed under: Operating System Tagged: centos, configuring centos, Windows : xRDP to CentOS 6.5

License

This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

Share

About the Author

Vidyasagar MSC
Software Developer (Senior)
India India
Microsoft MVP (Games for Windows)
Developer | Blogger | Mentor | Gamer
Coder by profession | Gamer By Heart
Technical Blog : http://onestopdotnet.wordpress.com/
About me: http://about.me/mscvidyasagar
Follow on   Twitter

Comments and Discussions

 
QuestionHow about CentOS 7? Pin
Member 1072842112-Sep-14 21:17
memberMember 1072842112-Sep-14 21:17 
AnswerRe: How about CentOS 7? Pin
Vidyasagar MSC9-Nov-14 17:19
professionalVidyasagar MSC9-Nov-14 17:19 
QuestionWatch your - characters! Pin
Member 1073983310-Apr-14 7:02
memberMember 1073983310-Apr-14 7:02 
QuestionAddition to instructions Pin
Member 1073983310-Apr-14 6:54
memberMember 1073983310-Apr-14 6:54 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.

| Advertise | Privacy | Terms of Use | Mobile
Web04 | 2.8.150428.2 | Last Updated 8 Apr 2014
Article Copyright 2014 by Vidyasagar MSC
Everything else Copyright © CodeProject, 1999-2015
Layout: fixed | fluid