Use rdesktop in Linux to connect to Windows Remote Desktop

Source: Internet
Author: User
Tags gpg domain name server windows remote desktop rdesktop

Use rdesktop in Linux to connect to Windows Remote Desktop

First download a source package to the http://www.rdesktop.org of rdesktop official website. Download the package locally and decompress it. Run the following command to install the package:
./Configure;
Make;
Make install
Installed in/usr/local/by default.
After installation, run the following command to connect to Windows Server 2008.
Rdesktop-u username-D Domain Name Server IP: 3389
For example:
Rdesktop-u tom-D x 10.10.xx.xx: 3389
When connecting to a Windows Server 2003 server, you must add the-0 option, for example
Rdesktop-u tom-D x-0 10.10.xx.xx: 3389

Error highlights:

(0) if an error occurs during make: xwin. C: 22: 22: Error: X11/xlib. h: no such file or directory

Then use Yum to install the libX11-devel package and then make


(1) do not add the-0 option when connecting to Windows Server 2008; otherwise, the "session denied" error occurs during logon.

(2) An error occurs during connection: disconnect: internal licensing error. The solution is RM-f ~ /. Rdesktop/licence. * file.

We recommend that you do the following in Bash: alias yczm = 'rm-f ~ /. Rdesktop/licence. *; rdesktop 10.10.xx.xx: 3389'

(3)./configure:

Error: cocould not find X Window System headers/libraries.
Probably you need to installLibX11-develPackage.
To specify paths manually, use the options -- X-nodes des and -- X-libraries.

Install with yumLibX11-devel package can solve the problem:

Add the yum configuration file content:/Etc/yum. Repos. d/CentOS-Base.repo

[Base]
Name = centos-$ releasever-Base
Baseurl=Http://vault.centos.org/5.5/ OS /x86_64/
Gpgcheck = 1
Gpgkey = file: // etc/pki/rpm-GPG/RPM-GPG-KEY-CentOS-5

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.