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