
最近又想念起了Linux打指令的快感(?),這次完完全全的把小筆電改成了Linux的環境,不過桌電因為資料龐大加上遊戲效能的關係,所以還是維持在Windows的狀態。
現在問題來了,因為在學校做研究或者是一些額外的需求,偶爾會用筆電遠端回桌電。以前是Windows的時候還好,但現在是Linux,總不能叫我SSH吧…雖然有考慮過另一套,但總覺得還是不很好用,後來讓我找到了rdesktop這個好用的軟體。
接下來我將以Ubuntu為例,教各位如何安裝與使用這個好用的遠端桌面連線程式!
安裝
| 
					 1 2  | 
						sudo apt-get install rdesktop</pre>   | 
					
連至遠端
| 
					 1 2  | 
						rdesktop [IP]  | 
					
進階利用
這個遠端桌面程式功能很強大,擁有很多選項及設定可以使用,以下是這個程式可用的參數說明,這邊我只翻譯幾個常用的。
| 
					 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52  | 
						Usage: rdesktop [options] server[:port]    -u: 使用者名稱    -d: domain    -s: shell    -c: working directory    -p: 密碼 (- to prompt)    -n: client hostname    -k: keyboard layout on server (en-us, de, sv, etc.)    -g: 視窗大小 (寬x高)    -f: 全螢幕模式    -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]]|off|remote]': enable sound redirection                      remote would leave sound on server                      available drivers for 'local':                      alsa:  ALSA output driver, default device: default          '-r clipboard:[off|PRIMARYCLIPBOARD|CLIPBOARD]': 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)  | 
					
不知道你有沒有發現,他居然可以重定向遠端的特定功能(-r)到自己在用的這台電腦呢!雖然我自己是沒有用過就是了…有機會再來嘗試看看。