Linux下使用rdesktop串連Windows遠端桌面

來源:互聯網
上載者:User

Linux下使用rdesktop串連Windows遠端桌面

首先到rdesktop官網 http://www.rdesktop.org下載一個源碼包。下載到本地後解壓,使用如下命令進行安裝:
./configure;
make;
make install
預設安裝在/usr/local/下。
安裝完畢,使用如下命令即可串連Windows Server 2008.
rdesktop -u 使用者名稱 -d 網域名稱  伺服器IP:3389
例如:
rdesktop -u tom -d X 10.10.xx.xx:3389
串連 Windows Server 2003伺服器時,需要加上 -0 選項,例如
rdesktop -u tom -d X -0 10.10.xx.xx:3389

錯誤集錦: 

(0) make時若出現錯誤:xwin.c:22:22: error: X11/Xlib.h: No such file or directory

    則使用yum 安裝上 libX11-devel 包再 make


(1) 串連 Windows Server 2008 時不要加上 -0 選項,否則登陸時出現"會話被拒絕"錯誤。

(2) 串連時出現錯誤: disconnect: Internal licensing error. 解決辦法是 rm -f ~/.rdesktop/licence.* 檔案。

建議在在bash中如下做:  alias yczm='rm -f ~/.rdesktop/licence.*; rdesktop 10.10.xx.xx:3389'

(3) ./configure 時出現如下錯誤:

ERROR: Could not find X Window System headers/libraries.
Probably you need to install the libX11-devel package.
To specify paths manually, use the options --x-includes and --x-libraries.

使用 Yum 安裝 libX11-devel 包可解決問題:

附上 yum 設定檔內容:/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

相關文章

聯繫我們

該頁面正文內容均來源於網絡整理,並不代表阿里雲官方的觀點,該頁面所提到的產品和服務也與阿里云無關,如果該頁面內容對您造成了困擾,歡迎寫郵件給我們,收到郵件我們將在5個工作日內處理。

如果您發現本社區中有涉嫌抄襲的內容,歡迎發送郵件至: info-contact@alibabacloud.com 進行舉報並提供相關證據,工作人員會在 5 個工作天內聯絡您,一經查實,本站將立刻刪除涉嫌侵權內容。

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.