1 | .TH rdesktop 1 "November 2005"
|
---|
2 | .SH NAME
|
---|
3 | .I rdesktop
|
---|
4 | \- Remote Desktop Protocol client
|
---|
5 | .SH SYNOPSIS
|
---|
6 | .B rdesktop [options] server[:port]
|
---|
7 | .br
|
---|
8 | .SH DESCRIPTION
|
---|
9 | .I rdesktop
|
---|
10 | is a client for Remote Desktop Protocol (RDP), used in a number of Microsoft
|
---|
11 | products including Windows NT Terminal Server, Windows 2000 Server, Windows XP
|
---|
12 | and Windows 2003 Server.
|
---|
13 |
|
---|
14 | .SH OPTIONS
|
---|
15 | .TP
|
---|
16 | .BR "-u <username>"
|
---|
17 | Username for authentication on the server.
|
---|
18 | .TP
|
---|
19 | .BR "-d <domain>"
|
---|
20 | Domain for authentication.
|
---|
21 | .TP
|
---|
22 | .BR "-s <shell>"
|
---|
23 | Startup shell for the user - starts a specific application instead of Explorer.
|
---|
24 | .TP
|
---|
25 | .BR "-c <directory>"
|
---|
26 | The initial working directory for the user. Often used in combination with -s
|
---|
27 | to set up a fixed login environment.
|
---|
28 | .TP
|
---|
29 | .BR "-p <password>"
|
---|
30 | The password to authenticate with. Note that this may have no effect if
|
---|
31 | "Always prompt for password" is enabled on the server. WARNING: if you specify
|
---|
32 | a password on the command line it may be visible to other users when they use
|
---|
33 | tools like ps. Use -p - to make rdesktop request a password at startup (from
|
---|
34 | standard input).
|
---|
35 | .TP
|
---|
36 | .BR "-n <hostname>"
|
---|
37 | Client hostname. Normally rdesktop automatically obtains the hostname of the
|
---|
38 | client.
|
---|
39 | .TP
|
---|
40 | .BR "-k <keyboard-map>"
|
---|
41 | Keyboard layout to emulate. This requires a corresponding keymap file to be
|
---|
42 | installed. The standard keymaps provided with rdesktop follow the RFC1766
|
---|
43 | naming scheme: a language code followed by a country code if necessary - e.g.
|
---|
44 | en-us, en-gb, de, fr, sv, etc.
|
---|
45 |
|
---|
46 | The default keyboard map depends on the current locale (LC_* and LANG
|
---|
47 | environment variables). If the current locale is unknown, the default
|
---|
48 | keyboard map is en-us (a US English keyboard).
|
---|
49 |
|
---|
50 | The keyboard maps are file names, which means that they are case
|
---|
51 | sensitive. The standard keymaps are all in lowercase.
|
---|
52 |
|
---|
53 | The keyboard maps are searched relative to the directories
|
---|
54 | $HOME/.rdesktop/keymaps, KEYMAP_PATH (specified at build time), and
|
---|
55 | $CWD/keymaps, in this order. The keyboard-map argument can also be an
|
---|
56 | absolute filename.
|
---|
57 |
|
---|
58 | The special value `none' can be used instead of a keyboard map.
|
---|
59 | In this case, rdesktop will guess the scancodes from the X11 event key
|
---|
60 | codes using an internal mapping method. This method only supports the
|
---|
61 | basic alphanumeric keys and may not work properly on all platforms
|
---|
62 | so its use is discouraged.
|
---|
63 | .TP
|
---|
64 | .BR "-g <geometry>"
|
---|
65 | Desktop geometry (WxH). If geometry is the special word "workarea", the geometry
|
---|
66 | will be fetched from the extended window manager hints property _NET_WORKAREA, from
|
---|
67 | the root window. The geometry can also be specified as a percentage of the whole
|
---|
68 | screen, e.g. "-g 80%".
|
---|
69 |
|
---|
70 | If the specified geometry depends on the screen size, and the screen
|
---|
71 | size is changed, rdesktop will automatically reconnect using the new
|
---|
72 | screen size. This requires that rdesktop has been compiled with RandR
|
---|
73 | support.
|
---|
74 | .TP
|
---|
75 | .BR "-f"
|
---|
76 | Enable fullscreen mode. This overrides the window manager and causes the
|
---|
77 | rdesktop window to fully cover the current screen. Fullscreen mode can be
|
---|
78 | toggled at any time using Ctrl-Alt-Enter.
|
---|
79 | .TP
|
---|
80 | .BR "-b"
|
---|
81 | Force the server to send screen updates as bitmaps rather than using
|
---|
82 | higher-level drawing operations.
|
---|
83 | .TP
|
---|
84 | .BR "-A"
|
---|
85 | Enable SeamlessRDP. In this mode, rdesktop creates a X11 window for
|
---|
86 | each window on the server side. This mode requires the SeamlessRDP
|
---|
87 | server side component, which is available from
|
---|
88 | \fIhttp://www.cendio.com/seamlessrdp/\fR.
|
---|
89 | When using this option, you should specify a startup shell which
|
---|
90 | launches the desired application through SeamlessRDP.
|
---|
91 |
|
---|
92 | Example: rdesktop -A -s 'seamlessrdpshell notepad'.
|
---|
93 | .TP
|
---|
94 | .BR "-B"
|
---|
95 | Use the BackingStore of the Xserver instead of the integrated one in
|
---|
96 | rdesktop.
|
---|
97 | .TP
|
---|
98 | .BR "-e"
|
---|
99 | Disable encryption. This option is only needed (and will only work) if you
|
---|
100 | have a French version of NT TSE.
|
---|
101 | .TP
|
---|
102 | .BR "-E"
|
---|
103 | Disable encryption from client to server. This sends an encrypted login packet,
|
---|
104 | but everything after this is unencrypted (including interactive logins).
|
---|
105 | .TP
|
---|
106 | .BR "-m"
|
---|
107 | Do not send mouse motion events. This saves bandwidth, although some Windows
|
---|
108 | applications may rely on receiving mouse motion.
|
---|
109 | .TP
|
---|
110 | .BR "-C"
|
---|
111 | Use private colourmap. This will improve colour accuracy on an 8-bit display,
|
---|
112 | but rdesktop will appear in false colour when not focused.
|
---|
113 | .TP
|
---|
114 | .BR "-D"
|
---|
115 | Hide window manager decorations, by using MWM hints.
|
---|
116 | .TP
|
---|
117 | .BR "-K"
|
---|
118 | Do not override window manager key bindings. By default rdesktop attempts
|
---|
119 | to grab all keyboard input when it is in focus.
|
---|
120 | .TP
|
---|
121 | .BR "-S <button size>"
|
---|
122 | Enable single application mode. This option can be used when running a
|
---|
123 | single, maximized application (via -s). When the minimize button of
|
---|
124 | the windows application is pressed, the rdesktop window is minimized
|
---|
125 | instead of the remote application. The maximize/restore button is
|
---|
126 | disabled. For this to work, you must specify the correct button
|
---|
127 | size, in pixels. The special word "standard" means 18 pixels.
|
---|
128 | .TP
|
---|
129 | .BR "-T <title>"
|
---|
130 | Sets the window title. The title must be specified using an UTF-8 string.
|
---|
131 | .TP
|
---|
132 | .BR "-N"
|
---|
133 | Enable numlock syncronization between the Xserver and the remote RDP
|
---|
134 | session. This is useful with applications that looks at the numlock
|
---|
135 | state, but might cause problems with some Xservers like Xvnc.
|
---|
136 | .TP
|
---|
137 | .BR "-X <windowid>"
|
---|
138 | Embed rdesktop-window in another window. The windowid is expected to
|
---|
139 | be decimal or hexadecimal (prefixed by 0x).
|
---|
140 | .TP
|
---|
141 | .BR "-a <bpp>"
|
---|
142 | Sets the colour depth for the connection (8, 15, 16 or 24).
|
---|
143 | More than 8 bpp are only supported when connecting to Windows XP
|
---|
144 | (up to 16 bpp) or newer. Note that the colour depth may also be
|
---|
145 | limited by the server configuration. The default value is the depth
|
---|
146 | of the root window.
|
---|
147 | .TP
|
---|
148 | .BR "-z"
|
---|
149 | Enable compression of the RDP datastream.
|
---|
150 | .TP
|
---|
151 | .BR "-x <experience>"
|
---|
152 | Changes default bandwidth performance behaviour for RDP5. By default only
|
---|
153 | theming is enabled, and all other options are disabled (corresponding
|
---|
154 | to modem (56 Kbps)). Setting experience to b[roadband] enables menu
|
---|
155 | animations and full window dragging. Setting experience to l[an] will
|
---|
156 | also enable the desktop wallpaper. Setting experience to m[odem]
|
---|
157 | disables all (including themes). Experience can also be a hexidecimal
|
---|
158 | number containing the flags.
|
---|
159 | .TP
|
---|
160 | .BR "-P"
|
---|
161 | Enable caching of bitmaps to disk (persistent bitmap caching). This generally
|
---|
162 | improves performance (especially on low bandwidth connections) and reduces
|
---|
163 | network traffic at the cost of slightly longer startup and some disk space.
|
---|
164 | (10MB for 8-bit colour, 20MB for 15/16-bit colour and 30MB for 24-bit colour
|
---|
165 | sessions)
|
---|
166 | .TP
|
---|
167 | .BR "-r <device>"
|
---|
168 | Enable redirection of the specified device on the client, such
|
---|
169 | that it appears on the server. Note that the allowed
|
---|
170 | redirections may be restricted by the server configuration.
|
---|
171 |
|
---|
172 | Following devices are currently supported:
|
---|
173 | .TP
|
---|
174 | .BR "-r comport:<comport>=<device>,..."
|
---|
175 | Redirects serial devices on your client to the
|
---|
176 | server. Note that if you need to change any settings on the serial device(s),
|
---|
177 | do so with an appropriate tool before starting rdesktop. In most
|
---|
178 | OSes you would use stty. Bidirectional/Read support requires Windows XP or newer.
|
---|
179 | In Windows 2000 it will create a port, but it's not seamless, most
|
---|
180 | shell programs will not work with it.
|
---|
181 | .TP
|
---|
182 | .BR "-r disk:<sharename>=<path>,..."
|
---|
183 | Redirects a path to the share \\\\tsclient\\<sharename> on the server
|
---|
184 | (requires Windows XP or newer). The share name is limited to 8
|
---|
185 | characters.
|
---|
186 | .TP
|
---|
187 | .BR "-r lptport:<lptport>=<device>,..."
|
---|
188 | Redirects parallel devices on your client to the server.
|
---|
189 | Bidirectional/Read support requires Windows XP or newer. In Windows 2000
|
---|
190 | it will create a port, but it's not seamless, most shell programs will not work with
|
---|
191 | it.
|
---|
192 | .TP
|
---|
193 | .BR "-r printer:<printername>[=<driver>],..."
|
---|
194 | Redirects a printer queue on the client to the server. The <printername>
|
---|
195 | is the name of the queue in your local system. <driver> defaults to a
|
---|
196 | simple PS-driver unless you specify one. Keep in mind that you need a
|
---|
197 | 100% match in the server environment, or the driver will fail. The first
|
---|
198 | printer on the command line will be set as your default printer.
|
---|
199 | .TP
|
---|
200 | .BR "-r sound:[local|off|remote]"
|
---|
201 | Redirects sound generated on the server to the client. "remote" only has
|
---|
202 | any effect when you connect to the console with the -0 option. (Requires
|
---|
203 | Windows XP or newer).
|
---|
204 | .TP
|
---|
205 | .BR "-r lspci"
|
---|
206 | Activates the lspci channel, which allows the server to enumerate the
|
---|
207 | clients PCI devices. See the file lspci-channel.txt in the
|
---|
208 | documentation for more information.
|
---|
209 | .TP
|
---|
210 | .BR "-r scard[:<Scard Name>=<Alias Name>[;<Vendor Name>][,...]]"
|
---|
211 | Enables redirection of one or more smart-cards. You can provide
|
---|
212 | static name binding between linux and windows. To do this you
|
---|
213 | can use optional parameters as described: <Scard Name> - device name in
|
---|
214 | Linux/Unix enviroment, <Alias Name> - device name shown in Windows enviroment
|
---|
215 | <Vendor Name> - optional device vendor name. For list of examples run
|
---|
216 | rdesktop without parameters.
|
---|
217 | .TP
|
---|
218 | .BR "-0"
|
---|
219 | Attach to the console of the server (requires Windows Server 2003
|
---|
220 | or newer).
|
---|
221 | .TP
|
---|
222 | .BR "-4"
|
---|
223 | Use RDP version 4.
|
---|
224 | .TP
|
---|
225 | .BR "-5"
|
---|
226 | Use RDP version 5 (default).
|
---|
227 | .PP
|
---|
228 | .SH "EXIT VALUES"
|
---|
229 | .PP
|
---|
230 | .IP "\fB0\fP"
|
---|
231 | RDP session terminated normally
|
---|
232 | .IP "\fB1\fP"
|
---|
233 | Server initiated disconnect (also returned for logoff by XP joined to a domain)
|
---|
234 | .IP "\fB2\fP"
|
---|
235 | Server initiated logoff
|
---|
236 | .IP "\fB3\fP"
|
---|
237 | Server idle timeout reached
|
---|
238 | .IP "\fB4\fP"
|
---|
239 | Server logon timeout reached
|
---|
240 | .IP "\fB5\fP"
|
---|
241 | The session was replaced
|
---|
242 | .IP "\fB6\fP"
|
---|
243 | The server is out of memory
|
---|
244 | .IP "\fB7\fP"
|
---|
245 | The server denied the connection
|
---|
246 | .IP "\fB8\fP"
|
---|
247 | The server denied the connection for security reason
|
---|
248 | .IP "\fB16\fP"
|
---|
249 | Internal licensing error
|
---|
250 | .IP "\fB17\fP"
|
---|
251 | No license server available
|
---|
252 | .IP "\fB18\fP"
|
---|
253 | No valid license available
|
---|
254 | .IP "\fB19\fP"
|
---|
255 | Invalid licensing message
|
---|
256 | .IP "\fB20\fP"
|
---|
257 | Hardware id doesn't match software license
|
---|
258 | .IP "\fB21\fP"
|
---|
259 | Client license error
|
---|
260 | .IP "\fB22\fP"
|
---|
261 | Network error during licensing protocol
|
---|
262 | .IP "\fB23\fP"
|
---|
263 | Licensing protocol was not completed
|
---|
264 | .IP "\fB24\fP"
|
---|
265 | Incorrect client license enryption
|
---|
266 | .IP "\fB25\fP"
|
---|
267 | Can't upgrade license
|
---|
268 | .IP "\fB26\fP"
|
---|
269 | The server is not licensed to accept remote connections
|
---|
270 | .IP "\fB62\fP"
|
---|
271 | The local client window was closed
|
---|
272 | .IP "\fB63\fP"
|
---|
273 | Some other, unknown error occured
|
---|
274 | .IP "\fB64\fP"
|
---|
275 | Command line usage error
|
---|
276 | .IP "\fB69\fP"
|
---|
277 | A service or resource (such as memory) is unavailable
|
---|
278 | .IP "\fB70\fP"
|
---|
279 | An internal software error has been detected
|
---|
280 | .IP "\fB71\fP"
|
---|
281 | Operating system error
|
---|
282 | .IP "\fB76\fP"
|
---|
283 | Protocol error or unable to connect to remote host.
|
---|
284 |
|
---|
285 | .PP
|
---|
286 | .SH LINKS
|
---|
287 | Main website of rdesktop
|
---|
288 | .br
|
---|
289 | \fIhttp://www.rdesktop.org/
|
---|
290 | .LP
|
---|
291 | .PP
|
---|