Specifications

Table Of Contents
VMware, Inc. 129
Chapter 4 Managing Virtual Machines and the VMware Server Host
NOTE You!may!not!need!to!create!a!helper!file!manually!if!your!browser!prompts!
you!to!associate!VMware!Server!with!the!file!type.
Setting MIME Type for the VMware Server Console
1Open!a!text!editor!and!do!one!of!the!following.
! On!a!Windows!host,!write!a!short!batch!file!called!vmwareserver-helper.bat.!
The!batch!file!must!contain!the!following!line:
"<path_to_vmwareserver>" -o "%1"
where!the!default!<path_to_vmwareserver>!is!
C:\Program Files\VMware\VMware Server\vmware.exe
! On!a!Linux!host,!write!a!short!shell!script!called!vmware-vms-helper.sh.!The!
shell!script!must!contain!the!following!two!lines:
#!/bin/sh
"<path_to_vmware-vms>" -o $1 > /dev/null 2>&1;
where!the!default!<path_to_vmware-vms>!is!/usr/bin/vmware.!
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-server-helper.sh
3Use!the!browser!to!connect!to!the!server!you!want!to!manage.!
4Click!the!terminal!icon!()!for!the!virtual!machine!you!want!to!view!in!a!console.!
5A!dialog!box!asks!what!you!want!to!do!with!the!file.!Click!Advanced.
6In!the!New!Type!dialog!box,!in!the!Description!of!type!field,!type!VMware Server.
7In!the!File!extension!field,!type!xvm.
8In!the!MIME!type!field,!type!application/x-vmware-server-console.
9In!the!Application!to!use!field,!type!the!path!to!vmwareserver-helper.bat!or!
vmware-server-helper.sh.
10 Click!OK!twice.!Your!browser!is!now!set!to!launch!the!
console!when!you!click!the!
terminal!icon!in!the!future.!