Difference between revisions of "Rdesktop"

From ArchWiki
Jump to: navigation, search
(add to related)
 
(25 intermediate revisions by 10 users not shown)
Line 1: Line 1:
[[Category:Remote Desktop Protocol]]
+
[[Category:Remote desktop]]
[[http://www.rdesktop.org/ rdesktop]] is a free, open source client for Microsoft's proprietary RDP protocol released under the GNU General Public License.  Use rdesktop to connect to Windows 2000/XP/Vista/Win7 RDP server to remotely administrate the Windows box.
+
[[ja:Rdesktop]]
 +
{{Related articles start}}
 +
{{Related|xrdp}}
 +
{{Related|Remmina}}
 +
{{Related articles end}}
 +
[http://www.rdesktop.org/ rdesktop] is a free, open source client for Microsoft's proprietary RDP protocol released under the GNU General Public License.  Use rdesktop to connect to Windows 2000/XP/Vista/Win7 RDP server to remotely administrate the Windows box.
  
==Features==
 
 
As of July 2008, rdesktop implements a large subset of the RDP 5 protocol, including:
 
As of July 2008, rdesktop implements a large subset of the RDP 5 protocol, including:
  
Line 19: Line 23:
  
 
Support for the additional features available in RDP 5.1 and RDP 6 (including multi-head display spanning and window composition) also have not yet been implemented.
 
Support for the additional features available in RDP 5.1 and RDP 6 (including multi-head display spanning and window composition) also have not yet been implemented.
==Installation==
+
 
The packages for rdesktop are available in the extra repo; to install simply use pacman as you would any other package
+
== Installation ==
# pacman -S rdesktop
+
 
==Usage==
+
[[Install]] {{Pkg|rdesktop}} from the [[official repositories]].
For a complete listing of options see the rdesktop man page.  Here is a typical line
+
 
 +
== Usage ==
 +
 
 +
For a complete listing of options see {{ic|man rdesktop}}.  Here is a typical line:
 +
 
 
  $ rdesktop -g 1440x900 -P -z -x l -r sound:off -u windowsuser 98.180.102.33:3389
 
  $ rdesktop -g 1440x900 -P -z -x l -r sound:off -u windowsuser 98.180.102.33:3389
  
Reading form left to right:
+
Reading from left to right:
  
{| border="1"
+
{| class="wikitable"
| -g 1440x900 || Sets the resolution of the display to 1440x900
+
| {{ic|-g 1440x900}}        || Sets the resolution of the display to 1440x900
 
|-  
 
|-  
| -P || Enables bitmap caching/speeds up xfers.
+
| {{ic|-P}}                || Enables bitmap caching/speeds up xfers.
 
|-  
 
|-  
| -z || Enables RDP datastream compression
+
| {{ic|-z}}                || Enables RDP datastream compression
 
|-
 
|-
| -x l || Uses the "lan" quality experience level, see the man page for additional options
+
| {{ic|-x l}}              || Uses the "lan" quality experience level, see the man page for additional options
 
|-
 
|-
| -r sound:off || Redirects sound generated on the server to null
+
| {{ic|-r sound:off}}      || Redirects sound generated on the server to null
 
|-
 
|-
| -u windowsuser || This defines the username to use when logging into the Windows box
+
| {{ic|-u windowsuser}}    || This defines the username to use when logging into the Windows box
 
|-
 
|-
| 98.180.102.33:3389 || This is the IP address and port number of the target machine
+
| {{ic|98.180.102.33:3389}} || This is the IP address and port number of the target machine
 
|}
 
|}
  
==Automatic Scaling of Geometry==
+
== Tips and tricks ==
 +
 
 +
=== Automatic scaling of geometry ===
 +
 
 
In order to automatically scale the geometry to fit the screen, pass
 
In order to automatically scale the geometry to fit the screen, pass
 +
 
{{bc|<nowiki>
 
{{bc|<nowiki>
 
-g $(xrandr -q | awk '/Screen 0/ {print int($8/1.28) $9 int($10/1.2)}' | sed 's/,//g')
 
-g $(xrandr -q | awk '/Screen 0/ {print int($8/1.28) $9 int($10/1.2)}' | sed 's/,//g')
 
</nowiki>}}
 
</nowiki>}}
 +
 
to the rdesktop command lines.
 
to the rdesktop command lines.
  
 
Another options is to use is to use the "-g" flag
 
Another options is to use is to use the "-g" flag
 +
 
   $ rdesktop -g 100% -P -z 98.180.102.33:3389
 
   $ rdesktop -g 100% -P -z 98.180.102.33:3389
  
==remote desktop using netbios names instead of using IP address==
+
=== Remote desktop using NetBIOS names instead of using IP address ===
If you don't know the IP address of a windows computer in a network, you have to enable wins support. To do so, you have to install samba. Enabaling wins in samba is surprisingly easy: just edit the /etc/samba/smb.conf and add the following line to it, or uncomment the appropriate line:
+
  
wins support = yes
+
If you do not know the IP address of a Windows computer in a network, you have to enable wins support. To do so, you have to install [[samba]]. Enabling wins in samba is surprisingly easy: just edit the {{ic|/etc/samba/smb.conf}} and add the following line to it, or uncomment the appropriate line:
  
then you have to install winbind
+
wins support = yes
and edit the /etc/nsswitch.conf
+
and add the "wins" to the list of hosts.
+
  
restart smbd and nmbd services and test your success by pinging a windows netbios host.
+
Then you have to install winbind, then edit the {{ic|/etc/nsswitch.conf}} and add the "wins" to the list of hosts.
 +
 
 +
Restart {{ic|smbd}} and {{ic|nmbd}} services and test your success by pinging a Windows NetBIOS host.
 +
 
 +
=== Supplying missing cursors ===
 +
 
 +
See [[Cursor themes#Supplying missing cursors]].
  
 
== See also ==
 
== See also ==
*[[xrdp]] a daemon creating an RDP interface to the X server
+
 
 +
* [http://www.rdesktop.org/ rdesktop official homepage]
 +
*{{Pkg|freerdp}} a rdesktop fork that supports RDP 7.1 features including network level authentication (NLA). See also [http://askubuntu.com/a/97932/217269].

Latest revision as of 18:09, 7 April 2016

Related articles

rdesktop is a free, open source client for Microsoft's proprietary RDP protocol released under the GNU General Public License. Use rdesktop to connect to Windows 2000/XP/Vista/Win7 RDP server to remotely administrate the Windows box.

As of July 2008, rdesktop implements a large subset of the RDP 5 protocol, including:

  • Bitmap caching
  • File system, audio, serial port and printer port redirection
  • Mappings for most international keyboards
  • Stream compression and encryption
  • Automatic authentication
  • Smartcard support
  • RemoteApp like support called "seamless" mode via SeamlessRDP

Still unimplemented are:

  • Remote Assistance requests
  • USB device redirection

Support for the additional features available in RDP 5.1 and RDP 6 (including multi-head display spanning and window composition) also have not yet been implemented.

Installation

Install rdesktop from the official repositories.

Usage

For a complete listing of options see man rdesktop. Here is a typical line:

$ rdesktop -g 1440x900 -P -z -x l -r sound:off -u windowsuser 98.180.102.33:3389

Reading from left to right:

-g 1440x900 Sets the resolution of the display to 1440x900
-P Enables bitmap caching/speeds up xfers.
-z Enables RDP datastream compression
-x l Uses the "lan" quality experience level, see the man page for additional options
-r sound:off Redirects sound generated on the server to null
-u windowsuser This defines the username to use when logging into the Windows box
98.180.102.33:3389 This is the IP address and port number of the target machine

Tips and tricks

Automatic scaling of geometry

In order to automatically scale the geometry to fit the screen, pass

-g $(xrandr -q | awk '/Screen 0/ {print int($8/1.28) $9 int($10/1.2)}' | sed 's/,//g')

to the rdesktop command lines.

Another options is to use is to use the "-g" flag

 $ rdesktop -g 100% -P -z 98.180.102.33:3389

Remote desktop using NetBIOS names instead of using IP address

If you do not know the IP address of a Windows computer in a network, you have to enable wins support. To do so, you have to install samba. Enabling wins in samba is surprisingly easy: just edit the /etc/samba/smb.conf and add the following line to it, or uncomment the appropriate line:

wins support = yes

Then you have to install winbind, then edit the /etc/nsswitch.conf and add the "wins" to the list of hosts.

Restart smbd and nmbd services and test your success by pinging a Windows NetBIOS host.

Supplying missing cursors

See Cursor themes#Supplying missing cursors.

See also