Softpanorama
May the source be with you, but remember the KISS principle ;-)

Contents Bulletin Scripting in shell and Perl Network troubleshooting History Humor

How to Install XRDP daemon on Centos or RHEL

xrdp is in the nux-dextop repo and EPEL.

https://wiki.centos.org/AdditionalResou ... positories

Fro RHEL 6 it is available from extras packages repo:

xrdp-0.6.1-4.el6.i686.html Open source remote desktop protocol (RDP) server Extras Packages for Enterprise Linux 6 for i386 xrdp-0.6.1-4.el6.i686.rpm
xrdp-0.6.1-4.el6.ppc64.html Open source remote desktop protocol (RDP) server Extras Packages for Enterprise Linux 6 for ppc64 xrdp-0.6.1-4.el6.ppc64.rpm
xrdp-0.6.1-4.el6.x86_64.html Open source remote desktop protocol (RDP) server Extras Packages for Enterprise Linux 6 for x86_64 xrdp-0.6.1-4.el6.x86_64.rpm
xrdp-0.6.1-4.el5.i386.html Open source remote desktop protocol (RDP) server Extras Packages for Enterprise Linux 5 for i386 xrdp-0.6.1-4.el5.i386.rpm
xrdp-0.6.1-4.el5.ppc.html Open source remote desktop protocol (RDP) server Extras Packages for Enterprise Linux 5 for ppc xrdp-0.6.1-4.el5.ppc.rpm
xrdp-0.6.1-4.el5.x86_64.html Open source remote desktop protocol (RDP) server Extras Packages for Enterprise Linux 5 for x86_64 xrdp-0.6.1-4.el5.x86_64.rpm

Open source remote desktop protocol server

# rpm -qi xrdp
Name        : xrdp                         Relocations: (not relocatable)
Version     : 0.6.1                             Vendor: Fedora Project
Release     : 4.el6                         Build Date: Fri 17 Jul 2015 03:13:34 AM EDT
Install Date: Fri 22 Jan 2016 10:02:03 AM EST      Build Host: buildvm-24.phx2.fedoraproject.org
Group       : Applications/Internet         Source RPM: xrdp-0.6.1-4.el6.src.rpm
Size        : 1542350                          License: GPLv2+ with exceptions
Signature   : RSA/8, Fri 17 Jul 2015 09:15:44 AM EDT, Key ID 3b49df2a0608b895
Packager    : Fedora Project
URL         : http://xrdp.sourceforge.net/
Summary     : Open source remote desktop protocol (RDP) server
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.
Requires daemon to run on level 5 only (this GUI application)
# chkconfig --list | grep rdp
xrdp            0:off   1:off   2:off   3:off    4:off   5:on    6:off

 

 

RPM resource xrdp

 

One of the neatest things I discovered recently was how to set up my CentOS desktop so I could RDP into it from my Windows desktop. Previously I was using VNC which takes a bit of work to set up and doesn't give you the full desktop view that RDP does. Setting up your box to RDP into it, however, is cake!

From the command line, simply issue the following 3 commands:

EPEL repository should be enabled. 

# yum -y install xrdp 
# chkconfig --levels 5 xrdp on
# service xrdp start
 

# 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

Now you can go to your Windows system, open Remote Desktop Connection and put in the ip address of your Linux system. Of course this only works if you have the X windows system installed and running on your Linux machine. 

Kirk, Oct 28, 2011

Code:
# chkconfig --levels 5 xrdp on

[Tutorial] How to Install Remote Desktop ( RDP ) on Centos vps

How to Install Remote Desktop ( RDP ) on Centos vps

How to Install Remote Desktop ( RDP ) on Centos vps

In this small tutorial we are going to learn how to install an rdp ( remote desktop ) on a linux vps with centos operating system installed. Linux remote desktop has a graphical interface like windows and loads and works faster than a windows rdp. And in this way you can get an rdp for even quarter of the price that you will be paying for a windows rdp.The only consideration is that your vps should have a minimum guaranteed ram of 512 mb and burstable ram of more than 700 mb. Now you can follow this step by step tutorial to install your remote desktop on your Centos vp


Step 1: Download an install putty . This is a utility which you will use to send remote commands to your vps for installing rdp. You can download putty from here. When you will run putty , it will open a window like this.Where you enter the ip address of your vps which your host gave you and click on open.



Step 2:
In the next window login as root and supply your root password. This will log you as root into your vps.



Step 3:
The next steps assume that your centos comes with YUM already installed. You may check if it is installed or not by issuing the following command in ur putty window.

Code:
yum

If the output is something like this window , then it is ok otherwise contact your hosting provider to isntall yum for you. They can do it in two seconds and they should have included it in the first place.



Step 3:
Now we are using the command to install genome desktop environment which will install graphical environment on your vps . Issue the following command in the putty window.

Code:
yum groupinstall 'GNOME Desktop Environment' 'X Window System'

This will take quite some time ( around 10-15 ) minutes , depending upon the speed of your vps. Please wait for it to finish. After the command executes successfully , issue the following command.

Top updates

Softpanorama Switchboard
Softpanorama Search


NEWS CONTENTS

Old News ;-)

[Mar 08, 2017] How to use xRDP for remote access to Ubuntu 14.04

Notable quotes:
"... This is where xRDP comes in play, an open source remote desktop protocol (RDP) server. It actually runs VNC protocol over RDP as far as I understand, yet if behaves much better than VNC by itself (possibly because of the used desktop manager). ..."
"... Windows comes standard with a Remote Desktop client (mstsc.exe – you can start it from a command prompt, or find the shortcut to Remote Desktop under Accessories). ..."
Mar 08, 2017 | www.tweaking4all.com
How to use xRDP for remote access to Ubuntu 14.04 To remotely control my Windows machines, I always prefer to use RDP ( Remote Desktop Protocol ) as it performs much nicer than VNC ( Virtual Network Computing ). VNC has this streak of "JPEG" quality and slow behavior, whereas RDP is fast and crystal clear.

RDP is however a proprietary protocol from Microsoft. So how can we use RDP to control our Ubuntu box remotely?

This is where xRDP comes in play, an open source remote desktop protocol (RDP) server. It actually runs VNC protocol over RDP as far as I understand, yet if behaves much better than VNC by itself (possibly because of the used desktop manager).

Since Ubuntu 12.10 (if I'm not mistaken), xRDP doesn't seem to work with the Ubuntu desktop anymore unless you use an alternative desktop manager. This seems related to 3D acceleration and nobody seems to care (since 2011, according to bug reports).

Note : if you really need Copy/Paste functionality between the two machines, then please use Ubuntu's default installed "Desktop Sharing" instead (MacOS X users read this forum post ).

Testing your xRDP connection

On the computer that will remotely control your Ubuntu machine, start you RDP client -[ by clicking of .rdp file -- NNB]

Windows comes standard with a Remote Desktop client (mstsc.exe – you can start it from a command prompt, or find the shortcut to Remote Desktop under Accessories).

For a Mac, Microsoft actually has a Remote Desktop Client which can be found in the Apple App Store , or you can use Cord (free).

Whichever client you use, most work with either the computer network name or IP address of your Ubuntu machine.

To find the IP address on your Ubuntu box, type:

hostname -I
Depending on your RDP client capabilities and settings (for example: Microsoft RDP Client allows automatic login), you might or might not see the login screen.

Here we enter our Ubuntu username and password and click "OK", after which briefly a window will show with the login process and you'll have access to your Ubuntu machine, even though the desktop looks different. One downside I've discovered so far is that the clipboard is NOT being synchronized so Copy and Paste between machines does not work properly.

[Mar 08, 2017] Accessing Virtual Machine (Ubuntu 14.04LTS) using xRDP

Mar 08, 2017 | msdn.microsoft.com
Accessing Virtual Machine (Ubuntu 14.04LTS) using xRDP Microsoft Azure > Azure Virtual Machines

Yesterday, I setup a new Ubuntu Box with Password (Classic VM) from my Azure Dashboard ( I am using classing Azure dashboard).

I am able to login using Putty (it means credentials are working).

To access this machine remotely (already setup CDN for Remote Desktop), I followed instructions mentioned (https://azure.microsoft.com/en-in/documentation/articles/virtual-machines-linux-classic-remote-desktop/) to setup xRDP - please note that I am trying to access this box from Windows8.1 machine.

All seems to be successfully installed. I tried to remote into my Ubuntu VM:

1. Fire Run -> mstsc.exe (entered hostname/IP and credentials)

2. Entered credentials

Ubuntu xRDP Login screen

3. Process thrown few error messages

Ubuntu Connection Log

What is wrong here?


Thanks & Regards, Gaurav Kumar Arora http://gaurav-arora.com http://mynangal.com

 

Answers

Installing XRDP onto RHEL6 - Red Hat Enterprise Server Software Engineering & Security Notes

Nickolas Golubev 6:15 pm on January 27, 2014 Permalink Reply
Tags: admin ( 2 ), linux, open source, rdp, rhel ( 2 ), rhel6 ( 2 ), xrdp

Installing XRDP onto RHEL6 / Red Hat Enterprise Server

I was told by a senior colleague that XRDP (http://sourceforge.net/projects/xrdp/) is a great way to remotely connect to your Linux servers through windows remote desktop protocol. It extends an XOrg session through through VNC and then the RDP. Here is how you can get it working on RHEL6!

sudo yum install gcc make pam-devel openssl-devel vnc-server autoconf automake libtool libX11-devel libXfixes-devel


wget http://downloads.sourceforge.net/project/xrdp/xrdp/0.6.1/xrdp-v0.6.1.tar.gz?r=http%3A%2F%2Fsourceforge.net%2Fprojects%2Fxrdp%2F%3Fsource%3Ddirectory&ts=1390846301&use_mirror=softlayer-ams


tar zxvf xrdp-v0.6.1.tar.gz
cd xrdp-v0.6.1
./bootstrap
./configure
make
sudo make install

Add user(s) to the 100, “users” group to allow them to login via RDP

sudo nano /etc/group

Edit iptables to permit inbound RDP

sudo nano /etc/sysconfig/iptables

add

-F INPUT
-A INPUT -m state --state NEW -m tcp -p tcp --dport 3389 -j ACCEPT


sudo service iptables restart

Make it a little more secure by enabling 128 bit 2-way encryption

sudo nano /etc/xrdp/xrdp.ini

Change crypt_level=low to crypt_level=high

Generate a new RSA key

sudo /usr/local/bin/xrdp-keygen xrdp auto

Start XRDP up and then try and connect to it using remote desktop client in Windows

sudo /etc/xrdp/xrdp.sh start

Finally make XRDP auto start as a service.

sudo ln -s /etc/xrdp/xrdp.sh /etc/init.d/xrdp
sudo chkconfig --add xrdp
sudo chkconfig xrdp on
sudo service xrdp start
 


Recommended Links

Softpanorama hot topic of the month

Softpanorama Recommended

..TigerVNC + XRDP on RHEL 7 (this shouldn't be so hard!) - Red Hat Customer Portal.

Setting up xrdp on RHEL 6 · GitHub building it yourself.

how to install xrdp - CentOS

XRDP Installation An Easy Remote Desktop Setup for Linux

RDP into your Linux Desktop Linux.org

Install xrdp on CentOS 7 - RHEL 7

How to Use Remote Desktop (rdesktop) in Redhat-Fedora-CentOS



Etc

FAIR USE NOTICE This site contains copyrighted material the use of which has not always been specifically authorized by the copyright owner. We are making such material available in our efforts to advance understanding of environmental, political, human rights, economic, democracy, scientific, and social justice issues, etc. We believe this constitutes a 'fair use' of any such copyrighted material as provided for in section 107 of the US Copyright Law. In accordance with Title 17 U.S.C. Section 107, the material on this site is distributed without profit exclusivly for research and educational purposes.   If you wish to use copyrighted material from this site for purposes of your own that go beyond 'fair use', you must obtain permission from the copyright owner. 

ABUSE: IPs or network segments from which we detect a stream of probes might be blocked for no less then 90 days. Multiple types of probes increase this period.  

Society

Groupthink : Two Party System as Polyarchy : Corruption of Regulators : Bureaucracies : Understanding Micromanagers and Control Freaks : Toxic Managers :   Harvard Mafia : Diplomatic Communication : Surviving a Bad Performance Review : Insufficient Retirement Funds as Immanent Problem of Neoliberal Regime : PseudoScience : Who Rules America : Neoliberalism  : The Iron Law of Oligarchy : Libertarian Philosophy

Quotes

War and Peace : Skeptical Finance : John Kenneth Galbraith :Talleyrand : Oscar Wilde : Otto Von Bismarck : Keynes : George Carlin : Skeptics : Propaganda  : SE quotes : Language Design and Programming Quotes : Random IT-related quotesSomerset Maugham : Marcus Aurelius : Kurt Vonnegut : Eric Hoffer : Winston Churchill : Napoleon Bonaparte : Ambrose BierceBernard Shaw : Mark Twain Quotes

Bulletin:

Vol 25, No.12 (December, 2013) Rational Fools vs. Efficient Crooks The efficient markets hypothesis : Political Skeptic Bulletin, 2013 : Unemployment Bulletin, 2010 :  Vol 23, No.10 (October, 2011) An observation about corporate security departments : Slightly Skeptical Euromaydan Chronicles, June 2014 : Greenspan legacy bulletin, 2008 : Vol 25, No.10 (October, 2013) Cryptolocker Trojan (Win32/Crilock.A) : Vol 25, No.08 (August, 2013) Cloud providers as intelligence collection hubs : Financial Humor Bulletin, 2010 : Inequality Bulletin, 2009 : Financial Humor Bulletin, 2008 : Copyleft Problems Bulletin, 2004 : Financial Humor Bulletin, 2011 : Energy Bulletin, 2010 : Malware Protection Bulletin, 2010 : Vol 26, No.1 (January, 2013) Object-Oriented Cult : Political Skeptic Bulletin, 2011 : Vol 23, No.11 (November, 2011) Softpanorama classification of sysadmin horror stories : Vol 25, No.05 (May, 2013) Corporate bullshit as a communication method  : Vol 25, No.06 (June, 2013) A Note on the Relationship of Brooks Law and Conway Law

History:

Fifty glorious years (1950-2000): the triumph of the US computer engineering : Donald Knuth : TAoCP and its Influence of Computer Science : Richard Stallman : Linus Torvalds  : Larry Wall  : John K. Ousterhout : CTSS : Multix OS Unix History : Unix shell history : VI editor : History of pipes concept : Solaris : MS DOSProgramming Languages History : PL/1 : Simula 67 : C : History of GCC developmentScripting Languages : Perl history   : OS History : Mail : DNS : SSH : CPU Instruction Sets : SPARC systems 1987-2006 : Norton Commander : Norton Utilities : Norton Ghost : Frontpage history : Malware Defense History : GNU Screen : OSS early history

Classic books:

The Peter Principle : Parkinson Law : 1984 : The Mythical Man-MonthHow to Solve It by George Polya : The Art of Computer Programming : The Elements of Programming Style : The Unix Hater’s Handbook : The Jargon file : The True Believer : Programming Pearls : The Good Soldier Svejk : The Power Elite

Most popular humor pages:

Manifest of the Softpanorama IT Slacker Society : Ten Commandments of the IT Slackers Society : Computer Humor Collection : BSD Logo Story : The Cuckoo's Egg : IT Slang : C++ Humor : ARE YOU A BBS ADDICT? : The Perl Purity Test : Object oriented programmers of all nations : Financial Humor : Financial Humor Bulletin, 2008 : Financial Humor Bulletin, 2010 : The Most Comprehensive Collection of Editor-related Humor : Programming Language Humor : Goldman Sachs related humor : Greenspan humor : C Humor : Scripting Humor : Real Programmers Humor : Web Humor : GPL-related Humor : OFM Humor : Politically Incorrect Humor : IDS Humor : "Linux Sucks" Humor : Russian Musical Humor : Best Russian Programmer Humor : Microsoft plans to buy Catholic Church : Richard Stallman Related Humor : Admin Humor : Perl-related Humor : Linus Torvalds Related humor : PseudoScience Related Humor : Networking Humor : Shell Humor : Financial Humor Bulletin, 2011 : Financial Humor Bulletin, 2012 : Financial Humor Bulletin, 2013 : Java Humor : Software Engineering Humor : Sun Solaris Related Humor : Education Humor : IBM Humor : Assembler-related Humor : VIM Humor : Computer Viruses Humor : Bright tomorrow is rescheduled to a day after tomorrow : Classic Computer Humor

The Last but not Least


Copyright © 1996-2016 by Dr. Nikolai Bezroukov. www.softpanorama.org was created as a service to the UN Sustainable Development Networking Programme (SDNP) in the author free time. This document is an industrial compilation designed and created exclusively for educational use and is distributed under the Softpanorama Content License.

The site uses AdSense so you need to be aware of Google privacy policy. You you do not want to be tracked by Google please disable Javascript for this site. This site is perfectly usable without Javascript.

Original materials copyright belong to respective owners. Quotes are made for educational purposes only in compliance with the fair use doctrine.

FAIR USE NOTICE This site contains copyrighted material the use of which has not always been specifically authorized by the copyright owner. We are making such material available to advance understanding of computer science, IT technology, economic, scientific, and social issues. We believe this constitutes a 'fair use' of any such copyrighted material as provided by section 107 of the US Copyright Law according to which such material can be distributed without profit exclusively for research and educational purposes.

This is a Spartan WHYFF (We Help You For Free) site written by people for whom English is not a native language. Grammar and spelling errors should be expected. The site contain some broken links as it develops like a living tree...

You can use PayPal to make a contribution, supporting development of this site and speed up access. In case softpanorama.org is down you can use the at softpanorama.info

Disclaimer:

The statements, views and opinions presented on this web page are those of the author (or referenced source) and are not endorsed by, nor do they necessarily reflect, the opinions of the author present and former employers, SDNP or any other organization the author may be associated with. We do not warrant the correctness of the information provided or its fitness for any purpose.

Last modified: March 18, 2017