VMware

VMware GSX Server 2.5.2


Features | Documentation | Knowledge Base | Discussion Forums

previous Prev   Contents   Last   Next next

Setting a MIME Type to Launch the VMware Remote Console

Setting a MIME Type to Launch the VMware Remote Console

From a browser, you can connect to a virtual machine from a remote console by clicking the terminal icon ( ) for that virtual machine. Before doing so, Netscape and Mozilla users need to define a MIME type of x-vmware-console and associate it with the remote console program file. Internet Explorer is automatically configured when you install the console.

Setting the MIME Type in Netscape 7.0 and Mozilla 1.x

Setting the MIME Type in Netscape 7.0 and Mozilla 1.x

If you are using Netscape 7.0 or Mozilla 1.x and want to launch the VMware Remote Console from the VMware Management Interface, you must first set a MIME type for the remote console program.

The procedure is similar for Windows and Linux hosts. Both involve writing a short script that provides the command to launch the remote console.

In Netscape or Mozilla, follow these steps to set the MIME type.

  1. Open a text editor and do one of the following.

    • On a Windows host, write a short batch file called vmwareConsole-helper.bat. The batch file must contain the following line:
      "<path_to_vmwareConsole>" -o "%1"
      Where the default <path_to_vmwareConsole> is
      C:\Program Files\VMware\VMware Remote Console\vmwareConsole.exe
    • On a Linux host, write a short shell script called vmware-console-helper.sh. The shell script must contain the following two lines:
      #!/bin/sh
      "<path_to_vmware-console>" -o $1 > /dev/null 2>&1;
      Where the default <path_to_vmware-console> is
      /usr/bin/vmware-console.
  2. Save the file in a location of your choice.

    Note: On a Linux host, change to the directory where you saved the file and give yourself permission to execute the file.

    chmod +x vmware-console-helper.sh

  3. Use the browser to connect to the server you want to manage.

  4. Click the terminal icon ( ) for the virtual machine you want to view in a remote console.

  5. A dialog box asks what you want to do with the file. Click Advanced.

  6. In the New Type dialog box, in the Description of type field, type VMware Remote Console.

  7. In the File extension field, type xvm.

  8. In the MIME type field, type application/x-vmware-console.

  9. In the Application to use field, type the path to vmwareConsole-helper.bat or vmware-console-helper.sh.

  10. Click OK twice. Your browser is now set to launch the remote console when you click the terminal icon in the future.

previous Prev   Contents   Last   Next next