This shows you the differences between two versions of the page.
tutorials:ct1:development:how_to_use_rdesktop_to_display_windows_or_linux_desktop [2013/11/02 15:19] parker created |
tutorials:ct1:development:how_to_use_rdesktop_to_display_windows_or_linux_desktop [2013/12/23 14:50] (current) |
||
---|---|---|---|
Line 23: | Line 23: | ||
- | ===== Whhere you can get the rdesktop ===== | + | ===== Where you can get the rdesktop ===== |
You can download the Stable versions from here. | You can download the Stable versions from here. | ||
Line 39: | Line 39: | ||
</code> | </code> | ||
- | ===== How to use rdesktop ===== | + | ===== Remote control Linux's desktop ===== |
- | * Firstly, you must know the computer IP which you want to control.For Example: | + | * Firstly, you must know the computer IP which you want to control and install the xrdp. For Example: |
<code bash> | <code bash> | ||
+ | $sudo apt-get install xrdp | ||
$rdesktop 192.168.1.1 | $rdesktop 192.168.1.1 | ||
</code> | </code> | ||
* If you are successful,you will see such window. | * If you are successful,you will see such window. | ||
- | {{:图片}} | + | {{:ll1.png?600}} |
<code bash> | <code bash> | ||
Line 54: | Line 55: | ||
</code> | </code> | ||
+ | * After entered that information,click OK. Now you can see the Remote user's desktop. | ||
+ | {{:ll2.png?600}} | ||
+ | ===== Remote control windows' desktop ===== | ||
+ | * if you want to control Windows 8 you will need to open the desktop Control Panel and find the System panel there. | ||
+ | {{:w3.png}} | ||
+ | * Now you’ll want to click the Remote Settings link on the left hand side. Again, if you are using Windows 8, this is the screen that you’ll want to find – or you can search for Remote settings. | ||
+ | {{:w4.png}} | ||
+ | * Now you can finally turn it on: | ||
+ | {{:w5.png?400}} | ||
+ | |||
+ | * To connect from another Vista / Win7 PC on the same network, click the bottom radio button. If you need to connect from an XP/2k machine, click the “Allow connections from computers running any version of Remote Desktop” radio button. | ||
+ | |||
+ | * Don’t worry about setting up firewall rules, Vista or Windows 7 does that for you automatically. | ||
+ | |||
+ | **Note**: This should work for both Windows 7 and Vista. | ||
+ | |||
+ | OK,now you can connect to the windows by rdesktop like this: | ||
+ | <code bash> | ||
+ | $rdesktop 192.168.1.134 | ||
+ | </code> | ||
+ | |||
+ | {{:w1.png?600}} | ||
+ | |||
+ | {{:w2.png?600}} | ||
+ | |||
+ | |||
+ | ===== Common parameters of rdesktop ===== | ||
+ | * When you enter command: | ||
+ | <code bash> | ||
+ | $rdesktop -help | ||
+ | </code> | ||
+ | * You can also find some useful information | ||
+ | <code bash> | ||
+ | -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) | ||
+ | </code> | ||
+ | * I often use these parameters: | ||
+ | <code bash> | ||
+ | $rdesktop -r sound:local -a 16 -g 800x600 192.168.1.134 | ||
+ | </code> | ||
+ | |||
+ | \\ | ||
<WRAP noprint> | <WRAP noprint> | ||
{{tag>Cubieboard Cubietruck}} | {{tag>Cubieboard Cubietruck}} | ||
</WRAP> | </WRAP> |