VMware Fusion

2008/10/26更新

対応バージョン: 2.0 for Mac OS X

VMware Fusionの仮想マシン上で動作するゲストOSがフリーズして操作ができなくなった場合は以下の手順で復旧する。

仮想マシンのパワーオフ

VMware Fusionの「仮想マシン」メニューを選択して「option」キーを押すとゲストOSの制御メニューが変化する。

(変化前)

ゲストのシャットダウン
ゲストのサスペンド
ゲストの再起動

(変化後)

パワーオフ
サスペンド
リセット

この変化後の状態で「パワーオフ」を選択して仮想マシンを強制的にパワーオフする。

ゲストOS起動

あとは通常とおりゲストOSを起動すればよい。

2008/8/31更新

対応バージョン: 1.1.3 for Mac OS X

VMware Toolsが作成する/etc/X11/xorg.confはUSキーボードの設定になっているので日本語キーボードを使用する場合は以下のようにキーボード設定を変更してログインし直す。

Section "InputDevice"
:
    Option "XkbModel"   "jp106"
    Option "XkbLayout"  "jp"
:
EndSection

2008/11/5更新

対応バージョン: 2.0 for Mac OS X

VMware Fusion上で動作するSolaris10 x86に対してVMware Toolsをインストールする手順を示す。

インストールイメージ用意

VMware Fusionの「仮想マシン」メニューから「Vmware Toolsのインストール」を選択する。

するとSolarisの/cdrom/vmwaretoolsにインストールイメージがマウントされるので、以降はSolaris内でこのイメージを使ってインストールを行う。

配布ファイル展開

# cd /tmp

# gzip -dc /cdrom/vmwaretools/vmware-solaris-tools.tar.gz > vmware.tar

# tar xvf vmware.tar

# cd vmware-tools-distrib

インストール

特に希望がなければ全てデフォルトの設定でよい。

# ./vmware-install.pl
Creating a new VMware Tools installer database using the tar4 format.

Installing VMware Tools.

In which directory do you want to install the binary files?
[/usr/bin]

What is the directory that contains the init directories (rc0.d/ to rc6.d/)?
[/etc]

What is the directory that contains the init scripts?
[/etc/init.d]

In which directory do you want to install the daemon files?
[/usr/sbin]

In which directory do you want to install the library files?
[/usr/lib/vmware-tools]

The path "/usr/lib/vmware-tools" does not exist currently. This program is
going to create it, including needed parent directories. Is this what you want?
[yes]

In which directory do you want to install the documentation files?
[/usr/share/doc/vmware-tools]

The path "/usr/share/doc/vmware-tools" does not exist currently. This program
is going to create it, including needed parent directories. Is this what you
want? [yes]

The installation of VMware Tools 7.6.3 build-94249 for Solaris completed
successfully. You can decide to remove this software from your system at any
time by invoking the following command: "/usr/bin/vmware-uninstall-tools.pl".

Before running VMware Tools for the first time, you need to configure it by
invoking the following command: "/usr/bin/vmware-config-tools.pl". Do you want
this program to invoke the command for you now? [yes]

Stopping VMware Tools services in the virtual machine:
   Guest operating system daemon:                                      done


Detected X.org version 7.2.0.


Please choose one of the following display sizes that X will start with (1 - 15)

[1]  "640x480"
[2]  "800x600"
[3]  "1024x768"
[4]  "1152x864"
[5]  "1280x800"
[6]  "1152x900"
[7]  "1400x900"
[8]  "1440x900"
[9]  "1280x1024"
[10]< "1376x1032"
[11]  "1400x1050"
[12]  "1680x1050"
[13]  "1600x1200"
[14]  "1920x1200"
[15]  "2364x1773"
Please enter a number between 1 and 15:

[10] ← 希望する解像度を指定する

Starting VMware Tools services in the virtual machine:
   Switching to guest configuration:                                   done
   Guest memory manager:                                               done
   Guest operating system daemon:                                      done

The configuration of VMware Tools e.x.p build-116369 for Solaris for this
running kernel completed successfully.

You must restart your X session before any mouse or graphics changes take
effect.

You can now run VMware Tools by invoking the following command:
"/usr/bin/vmware-toolbox" during an X server session.

You will need to either manually start /usr/bin/vmware-user or log out and log
back in to this desktop session to obtain the following features: guest
resolution fit, drag and drop, and file and text copy/paste.  vmware-user is
configured to automatically start at a graphical login, but that won't take
effect until the next login.

The installed vmxnet driver will be used for all vlance and vmxnet network
devices on this system.  Existing vlance devices will transition from the pcn
driver to the vmxnet driver on the next reconfiguration reboot.  You will need
to verify your network settings accordingly.

If you have configured a pcn interface, the corresponding files are now renamed
to use the vmxnet device name to ensure the interface will be brought up
properly upon reboot.  For example, the following commands were performed:
 # mv /etc/hostname.pcn0 /etc/hostname.vmxnet0
 # mv /etc/hostname6.pcn0 /etc/hostname6.vmxnet0
 # mv /etc/dhcp.pcn0 /etc/dhcp.vmxnet0
and will cause the Solaris Service Management Facility to bring up the first
vmxnetX interface using the configuration of your current pcnX interface.

Enjoy,

--the VMware team

デーモン起動

インストール後、Solarisを再起動するか手動でデーモンを起動する。

# /etc/init.d/vmware-tools start
Starting VMware Tools services in the virtual machine:
   Switching to guest configuration:                                   done
   Guest memory manager:                                               done
   Guest operating system daemon:                                      done

# ps -ef | grep vmware
  root 920 1 ... /usr/lib/vmware-tools/sbin/amd64/vmware-guestd-binary --background /var/run/vmw
  root 879 1 ... /usr/sbin/vmware-memctld --background /var/run/vmware-memctld.pid

init起動スクリプトは以下の場所にインストールされる。

/etc/init.d/vmware-tools
/etc/rc0.d/K65vmware-tools -> /etc/init.d/vmware-tools
/etc/rc1.d/K65vmware-tools -> /etc/init.d/vmware-tools
/etc/rc2.d/S05vmware-tools -> /etc/init.d/vmware-tools
/etc/rcS.d/K65vmware-tools -> /etc/init.d/vmware-tools

他ホストとの通信設定

VMware Fusionの「仮想マシン」メニューから「設定」>「ネットワーク」>「物理ネットワークに直接接続(ブリッジ)」を選択する。