Specifications

www.vmware.com
146
VMware GSX Server Virtual Machine Guide
-m automatically starts the virtual machine in quick switch mode. This option works
for virtual machines running on Linux hosts only. For information on quick switch
mode, see Using Quick Switch Mode on page 125.
/<path_to_config>/<config>.vmx (or .cfg) launches a virtual machine
using the specified configuration file.
X toolkit options can be passed as arguments, although some of them (most notably
the size and title of the console window) cannot be overridden.
Options to Use when Connecting Remotely
If you are connecting to a virtual machine from a remote client, you can use the
following options:
-h <host> to connect to a specific host.
-P <portNumber> to connect to the host over the specified port. Port 902 is the
default port the console uses with remote connections. For information about the
port number, see Changing the Port Number for VMware Virtual Machine Console
Connections in the VMware GSX Server Administration Guide.
-u <username> specifies the user name to use when you log on to a remote host.
-w <password> specifies the password to use when you log on to a remote host.
-c “<path_to_virtualMachine>” specifies the path to the virtual machine’s
configuration file to use to connect the console.
Startup Options on a Windows Host
The switches described above for Linux can also be used on a Windows host. The
most convenient way to use the switches is to incorporate them into the command
generated by a Windows shortcut.
Create the shortcut, right-click the shortcut, then click Properties. In the Target field,
add any switches you want to use after the vmware.exe filename. For example,
"C:\Program Files\VMware\VMware GSX Server\vmware.exe -X
C:\Virtual Machines\Windows Server 2003\Windows Server 2003.vmx"
launches the specified Windows Server 2003 virtual machine, powers it on
automatically and switches to full screen mode.
Be sure to enclose the entire command string in quotation marks.
Note: The configuration file has a .vmx extension by default. Pathnames on
Windows use the backslash character (\). X toolkit options are not relevant on a
Windows host.