VirtualBox

source: vbox/trunk/src/VBox/RDP/client/doc/rdesktop.1@ 54270

最後變更 在這個檔案從54270是 37224,由 vboxsync 提交於 14 年 前

RDP/client: fix OSE

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

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette