RedHat 6 Installing XRDP after implementing the Windows Telnet graphical interface

Source: Internet
Author: User
Tags mstsc

nagging do not like to touch: work has been done so long, installed machines are not graphical interface, and today suddenly developed to a need for a graphical interface, which is very simple, install the system when installed on it, but also to be able to be in Windows Remote connection, which also forget, Actually said is to use mstsc connection,VNC is not quickly solved, here omitted N more words, must think I in the heart open scold, hey no matter what requirements are to open scold, but the heart is still very happy, because have not done, Like challenging things, although not a big project, but the technology is growing like this, every day to do something good to grow. Don't say much nonsense, open the dry ....

The Windows system uses mstsc to remotely connect redhat6.5 's graphical interface.

 A Implementation method:

The first step: Download the source package and install some dependent software download xrdp Source Package

wget http://downloads.sourceforge.net/project/xrdp/xrdp/0.6.0/xrdp-v0.6.0.tar.gz

determine that the system already has a dependency on the package gcc, pam-devel, openssl-devel,libtool , special attention is Vncserver must be installed , direct yum can be installed online. (Subject to availability)

Step Two: Install XRDP unzip the installation package:

TAR-XZVF xrdp-v0.6.0.tar.gz

Enter the installation package directory to compile and install :cdxrdp-v0.6.0

. /bootstrap

. /configure

Make

Make install (root run)

Note: If the installation error, according to the error message install the appropriate dependency package.

Step Three: Configure XRDP

Modify the configuration file /etc/xrdp/xrdp.ini, modify the value of the port in theparameter [globals] , where ports can be arbitrarily set. This step I did not set or use the original 3389, below the attached xrdp configuration file. I think it's better to look at it because my English is not good.

Xrdp.ini key section at Global

[Globals]

Bitmap_cache=yes Bitmap Caching

Bitmap_compression=yes Bitmap Compression

port=3389 Listening Port

Crypt_level=low Encryption Degree (Low is the four bit,high is the position,medium is double )

Channel_code=1 don't know what it is.

Sesman.ini

[Globals]

listenaddress=127.0.0.1 Listening IP address ( default )

listenport=3350 Listening Port ( default )

Enableuserwindowmanager=1 1 is turned on, allowing users to customize their own startup scripts

userwindowmanager=startwm.sh

defaultwindowmanager=startwm.sh

[Security]

Allowrootlogin=1 allow root login

maxloginretry=4 Maximum Retry count

Terminalserverusers=tsusers user groups allowed to connect ( By default all users are allowed to connect if not present )

Terminalserveradmins=tsadmins allow connected Super User ( default all users allow connection if not present )

[Sessions]

maxsessions=10 Maximum number of sessions

Killdisconnected=0 If the disconnected connection is immediately closed ( if 1, it will be automatically logged off after the connection is disconnected )

Idletimelimit=0 Idle session time limit (0 for No limit )

Disconnectedtimelimit=0 time-to- live disconnection (0 No Limit )

[Logging]

Logfile=./sesman.log Login log file

Loglevel=debug Logging level ( level , Core,error,warn,info,debug)

Enablesyslog=0 whether to turn on the log

Sysloglevel=debug system Logging Level

start xrdp#/etc/xrdp/xrdp.sh start

Restart xrdp#/etc/xrdp/xrdp.sh restart

Restart your computer:shutdown-r now

Enter 192.168.76.201:3389 directly using Windows Remote Desktop Connection , enter the user name and password of the Linux machine, and you can connect.

Two Precautions

Note: Client connection failure problem, may be caused by firewall blocking, add a policy (modify the configuration file /etc/sysconfig/iptables copy a port configuration, and modify the port to 6666, Then restart Firewall service iptables restart ) or stop the firewall ( serviceiptables stop) to connect successfully.

Note: If an error occurs

Xrdp_mm_process_login_response:login Successful for Displa started connecting
connecting to 127.0.0.1 5910
Error-problem connecting


[[Email protected]~]# Rpm-qa | grep VNC

If there is no display, the system is not installed VNC package, need to be installed,

If displayed:

vnc-server-4.1.2-14.el5_3.1 (mainly this package, this is OK)

vnc-4.1.2-14.el5_3.1

the installation is successful, if it is displayed after the first execution, the system already has a VNC package installed.

Start Vncserver

[[Email protected]~]# service Vncserver start (Start only /etc/sysconfig/vncservers defined interface)

let xrdp boot automatically:

# vi/etc/rc.local Edit it, then add:

/etc/xrdp/xrdp.sh start

above is RedHat 6 uses xrdp to Log on to Windows Remote Desktop, although Linux and Windows are not the same two systems, but RedHat 6 The power of this is its compatibility, so RedHat 6 can also log on to Windows Remote Desktop.


This article is from the "11371091" blog, please be sure to keep this source http://11381091.blog.51cto.com/11371091/1885173

RedHat 6 Installing XRDP after implementing the Windows Telnet graphical interface

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.