Home | 简体中文 | 繁体中文 | 杂文 | 打赏(Donations) | ITEYE 博客 | OSChina 博客 | Facebook | Linkedin | 知乎专栏 | Search | Email

194.3. rdesktop - A Remote Desktop Protocol client

http://www.rdesktop.org/

194.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
			

194.3.2. -f: full-screen mode

rdesktop -u administrator -p password -f 172.16.0.1
			

全屏与恢复使用快捷键Ctrl+Alt+Enter切换

194.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
			

194.3.4. -z: enable rdp compression

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

194.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