Setting a MIME Type to Launch the 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 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 Navigator 4.x

If you are using Netscape Navigator 4.x and want to launch a remote console from the VMware Management Interface, as described above, you must first set a MIME type for the remote console program.

Windows

In Netscape Navigator on Windows, follow these steps to set the MIME type.

  1. Use the browser to connect to the server you want to manage.
  2. Click the terminal icon for the virtual machine you want to view in a remote console.
  3. A dialog box asks what you want to do with the file. Click Pick App.
  4. Another dialog box lets you enter the path to the application or browse to it. Fill in the path or browse to the remote console program. The default path is
    C:\Program Files\VMware\VMware Remote Console\vmwareConsole.exe" -o "%1
  5. Your browser is now set to launch the remote console when you click the terminal icon in the future.

Linux

In Netscape Navigator on Linux, follow these steps to set the MIME type.

  1. Select Edit > Preferences....
  2. Expand Navigator.
  3. Highlight Applications.
  4. Click New. An input dialog box is displayed.
  5. Fill in the Description field with VMware Remote Console.
  6. Fill in MIME Type with application/x-vmware-console.
  7. Leave Suffixes blank.
  8. Select Application.
  9. Fill in Application with the path to the remote console program or click Choose to navigate to the program on your computer. The default path is
    /usr/bin/vmware-console -o %s > /dev/null 2>&1;
  10. Click OK to close the input dialog box.
  11. Click OK to close the preferences dialog box.

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

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

Windows

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

  1. Open a text editor and 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
  2. Save the file in a location of your choice.
  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 Choose.
  6. Another dialog box lets you enter the path to the application or browse to it. Fill in the path or browse to vmwareConsole-helper.bat.
  7. Your browser is now set to launch the remote console when you click the terminal icon in the future.

Linux

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

  1. In a text editor, 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 script in a location of your choice.
  3. Change to the directory where you saved the file and use chmod to give yourself permission to execute the file.
    chmod +x vmware-console-helper.sh
  4. Select Edit > Preferences….
  5. Expand Navigator.
  6. Highlight Helper Applications.
  7. Click New Type…. An input dialog box is displayed.
  8. Fill in the Description of type field with VMware Remote Console.
  9. Fill in MIME Type with application/x-vmware-console.
  10. Leave File extension blank.
  11. Select Application.
  12. Fill in Application with the path to vmware-console-helper.sh or click Choose to navigate to the shell script on your computer.
  13. Click OK to close the input dialog box.
  14. Click OK to close the preferences dialog box.

Related Topics:

Back to top

© 2001-2002 VMware, Inc. All rights reserved.