Home | 簡體中文 | 繁體中文 | 雜文 | 知乎專欄 | Github | OSChina 博客 | 雲社區 | 雲棲社區 | Facebook | Linkedin | 視頻教程 | 打賞(Donations) | About
知乎專欄多維度架構 微信號 netkiller-ebook | QQ群:128659835 請註明“讀者”

221.3. rdesktop - A Remote Desktop Protocol client

http://www.rdesktop.org/

221.3.1. -g: desktop geometry (WxH)

$ rdesktop -g 800x600 -d 16 yourdomain.com/ip address
$ rdesktop -u administrator -p zk1qFwLQWeaPfk -g 1024x768 -k en-us -z 172.16.1.3
			

常用分辨率

 SIF/QVGA ( 320*240 )
     QCIF ( 176*144 )
QSIF/QQVGA( 160*120 )
CIF:	352x288		10 萬像素
VGA:	640x480		30 萬像素( 35 萬像素是指 648*488 )
SVGA:	800x600		50 萬像素
XGA:	1024x768	80 萬像素
SXGA:	1280x1024	130 萬像素
		1440x900
HD:		1920x1080
			

221.3.2. -f: full-screen mode

rdesktop -u administrator -p password -f 172.16.0.1
			

全屏與恢復使用快捷鍵Ctrl+Alt+Enter切換

221.3.3. -A: enable SeamlessRDP mode

http://www.cendio.com/seamlessrdp/

下載 seamlessrdp.zip,並解壓到C盤根目錄下,C:\seamlessrdp,然後就登出

rdesktop -A -s “c:\seamlessrdp\seamlessrdpshell.exe C:\Program Files\Internet Explorer\iexplore.exe” 192.168.0.10:3389 -u administrator -p 123456
即可打開IE
			
rdesktop -A -s "c:\seamlessrdp\seamlessrdpshell.exe notepad" -u administrator -p zLQWPNCc9fk -k en-us -z 172.16.0.4
			

將QQ的TM安裝到C:\TM2008目錄下,然後運行下面命令啟動QQ

$ rdesktop -A -s "c:\seamlessrdp\seamlessrdpshell.exe C:\TM2008\Bin\TM.exe" -u administrator -p PNCcM9 -k en-us -z 172.16.1.3
			

221.3.4. -z: enable rdp compression

$ rdesktop -u administrator -p zk1qFwLQ9qfk -k en-us -z 172.16.0.30
			

221.3.5. -r: enable specified device redirection (this flag can be repeated)

rdesktop -u administrator -p password -f -r clipboard:PRIMARYCLIPBOARD -r disk:sunray=/home/neo 172.16.0.1