Linux下進行windows遠端桌面連線

來源:互聯網
上載者:User

現在用的Fedora10,昨天忽然突發奇想來看看我那幾個伺服器怎麼樣了,然後就搜了下,解決了在linux下串連windows 3389 的問題,沒啥技術含量,給大家分享下吧。

1,首先去 http://www.rdesktop.org/ 下載個 rdesktop ,然後 make ,make install 安裝下。當然,在fedora中直接 yum install rdesktop 更方便。

2,安裝好之後就可以用了。

rdesktop --help
rdesktop: invalid option -- -
rdesktop: A Remote Desktop Protocol client.
Version 1.6.0. Copyright (C) 1999-2008 Matthew Chapman.
See http://www.rdesktop.org/ for more information.

Usage: rdesktop [options] server[:port]
-u: user name
-d: domain
-s: shell
-c: working directory
-p: password (- to prompt)
-n: client hostname
-k: keyboard layout on server (en-us, de, sv, etc.)
-g: desktop geometry (WxH)
-f: full-screen mode
-b: force bitmap updates
-L: local codepage
-A: enable SeamlessRDP mode
-B: use BackingStore of X-server (if available)
-e: disable encryption (French TS)
-E: disable encryption from client to server
-m: do not send motion events
-C: use private colour map
-D: hide window manager decorations
-K: keep window manager key bindings
-S: caption button size (single application mode)
-T: window title
-N: enable numlock syncronization
-X: embed into another window with a given id.
-a: connection colour depth
-z: enable rdp compression
-x: RDP5 experience (m[odem 28.8], b[roadband], l[an] or hex nr.)
-P: use persistent bitmap caching
-r: enable specified device redirection (this flag can be repeated)
-r comport:COM1=/dev/ttyS0: enable serial redirection of /dev/ttyS0 to COM1
or      COM1=/dev/ttyS0,COM2=/dev/ttyS1
-r disk:floppy=/mnt/floppy: enable redirection of /mnt/floppy to floppy share
or   floppy=/mnt/floppy,cdrom=/mnt/cdrom
-r clientname=<client name>: Set the client name displayed
for redirected disks
-r lptport:LPT1=/dev/lp0: enable parallel redirection of /dev/lp0 to LPT1
or      LPT1=/dev/lp0,LPT2=/dev/lp1
-r printer:mydeskjet: enable printer redirection
or      mydeskjet="HP LaserJet IIIP" to enter server driver as well
-r sound:[local[:driver[:device]]offremote]: enable sound redirection
remote would leave sound on server
available drivers for local:
oss:    OSS output driver, default device: /dev/dsp or $AUDIODEV
-r clipboard:[offPRIMARYCLIPBOARDCLIPBOARD]: enable clipboard
redirection.
PRIMARYCLIPBOARD looks at both PRIMARY and CLIPBOARD
when sending data to server.
CLIPBOARD looks at only CLIPBOARD.
-0: attach to console
-4: use RDP version 4
-5: use RDP version 5 (default)

協助檔案,大家自己看,一般的串連伺服器都不需要怎麼設定,直接這樣:

rdesktop www.google.com:3389

然後就出來了登入介面,輸入使用者名稱密碼即可登入,可能有些電腦需要加些參數設定下,看需要了。
登入上去我看了下,有好幾台伺服器都丟了,不知道是不是我忘了密碼還是怎麼著,反正留著也沒有用,只是偶爾掛個VPN。

另外,希望大家每天都開心!

聯繫我們

該頁面正文內容均來源於網絡整理,並不代表阿里雲官方的觀點,該頁面所提到的產品和服務也與阿里云無關,如果該頁面內容對您造成了困擾,歡迎寫郵件給我們,收到郵件我們將在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.