Usage
/opt/2X/Client/bin/appserverclient -s Server -u User [options]
-H: client hostname.
-T: window title for desktop connection.
-w: override desktop width. It should be used with -h parameter.
-h: override desktop height. It should be used with -w parameter.
-g, -geometry {width}x{height}[{+-}{xoff}[{+-}{yoff}]]:
standard application geometry, should be used with -m MS parameter only.
-c: connection color depth in bits (default: 24 bits).
-1: force seamless application placement on primary monitor only.
-X: embed into another window with a given id, should be used with -m MS parameter only.
-K: keep window manager key bindings.
-e: RDP experience one or more ORed value(s) from:
0x7F to disable everything
0x01 to disable wallpapers
0x02 to disable full window drag
0x04 to disable menu animations
0x08 to disable theming
0x20 to disable cursor shadow
0x40 to disable cursor blinking
0x80 to enable font smoothing
0x00 to disable nothing (default)
-z: RDP compression
0x00 to disable nothing (default)
0x01 to disable compression
0x02 to limit to RDP4 compression
0x03 to limit to RDP5 compression
-t: maximum network timeout in seconds (default: 5 seconds)
-l: locale identifier in HEX format (default: 0x0409 - English (United States))
--admin or -q: connect to administer server
-m: operating mode
2G for Parallels RAS gateway access client(default)
2D for Parallels RAS direct access client
AL for Parallels RAS application list
MS for Microsoft Terminal Server client
MF for Microsoft Terminal Server fullscreen client
MX for Microsoft Terminal Server fullscreen client, that spans over all monitors
-s: server[:port] (default port is 80 for 2G and 2D modes and 3389 for MS and MF modes)
-s: ssl://server[:port] secure access client (TLS/SSL)
-b: altserver[:port] (default port is 80 for 2G and 2D modes and 3389 for MS and MF modes)
-u: user name. It can include domain: -u user@host.domain or -u user@ntdomain
-p: password.
-d: domain.
-a: application to start.
-f: working folder.
-i: 2xa shortcut file.
2xa shortcut files available through Parallels RAS web interface, and include published application settings.
-o: full path to application listing output file
-x: proxy, can be:
socks4://[username@]proxy[:port]
socks4a://[username@]proxy[:port]
socks5://[username[:password]@]proxy[:port]
http://[username[:password]@]proxy[:port]
-P: redirect printer(s) (this flag can be repeated), can be
"printcap" to use printers from '/etc/printcap'
use this option if printcap was configured to contain driver name as printer comment:
lp0|drivername:rm=clientname:rp=lp0:
"printername" to use default printer driver
"printername=drivername" to specify driver name
-S: redirect sound, can be
"off" to disable sound (default)
"local"= quality to bring it to the client with:
"normal" for normal quality
"good" for good quality (default)
"verygood" for very good quality
"remote" to leave it on the server
-D: redirect drive(s) (this flag can be repeated), can be
"remotename=localpath"
-O [option]: redirect serial ports (this flag can be repeated with option)
"off" to disable port redirection (default)
"auto" for COM1=/dev/ttyS0, COM2=/dev/ttyS1, LPT1=/dev/lp0
or option to override local device path: COM1=/dev/debugtty
-C: redirect smart card reader; pcscd smart card manager should be installed in order to use this feature.
-U [options]: redirect URI. options are comma separated list of:
"off" disable URI redirection (default).
"url" redirect URL (http: and https:).
"mailto" redirect Mail (mailto:).
Use "url,mailto" to redirect both URL and Mail.
-k [command]: execute special command in active session, where command is one of:
"logoff" gracefully log off a published application session.
"disconnect" gracefully disconnect a session.
The following examples illustrate the use of the Parallels Client for Linux command-line interface:
appserverclient -s<Server IP> -a<"Application Name"> -u<User Name>
appserverclient -s192.168.0.1 -a"Internet Explorer" -uAdministrator
In this case you are requested to logon before the application is loaded.
appserverclient -s<Server IP> -a<"Application Name"> -u<User Name> -p<Password>
appserverclient -s192.168.0.1 -a"Media Player" -uAdministrator –ppassword
In this case, the logon screen is bypassed if the password is correct.
Note: The application name is case sensitive and must be enclosed in quotes. Examples: "Notepad", "Internet Explorer", "Media Player".
Identifier | Name |
---|---|
0x0401
Arabic (Saudi Arabia)
0x0403
Catalan (Spain)
0x0404
Chinese (Taiwan)
0x0804
Chinese (People's Republic of China)
0x0405
Czech (Czech Republic)
0x0406
Danish (Denmark)
0x0407
German (Germany)
0x0807
German (Swiss)
0x0408
Greek (Greece)
0x0409
English (United States)
0x0809
English (Great Britain)
0x0C0A
Spanish - Modern Sort (Spain)
0x0425
Estonian (Estonia)
0x040B
Finnish (Finland)
0x040C
French (France)
0x080C
French (Belgium)
0x0C0C
French (Canada)
0x100C
French (Swiss)
0x040D
Hebrew (Israel)
0x040E
Hungarian (Hungary)
0x0410
Italian (Italy)
0x0411
Japanese (Japan)
0x0412
Korean (Korea)
0x0427
Lithuanian (Latvia)
0x0426
Latvian (Latvia)
0x0413
Dutch (Netherlands)
0x0813
Dutch (Belgium)
0x0414
Norwegian (Norway)
0x0415
Polish (Poland)
0x0416
Portuguese (Brazil)
0x0816
Portuguese (Portugal)
0x0418
Romanian (Romania)
0x0419
Russian (Russia)
0x041A
Croatian (Croatia)
0x041B
Slovak (Slovakia)
0x041D
Swedish (Sweden)
0x041E
Thai (Thailand)
0x041F
Turkish (Turkey)
0x0424
Slovenian (Slovenia)
0x042A
Vietnamese (Vietnam)
0x042D
Basque (Spain)
0x040F
Icelandic (Iceland)
-v
: print version info
--help
or -?
: to get help information