[[PageOutline]] [[TitleIndex(TipAndDoc/VM/VMware/Workstation,format=group)]] * [http://communities.vmware.com/message/1561322 VMware Communities: Purpose of GuestAppsCache files?] * [http://vm-sickbay.com/2010/06/01/how-to-disable-unity-for-all-vms-in-ws-71/ VM-sickbay » Blog Archive » How to disable Unity for all VMs in WS 7.1] > isolation.tools.unity.disable = “true” * [http://communities.vmware.com/thread/270287 VMware Communities: Workstation 7.1 caches directory?] > You would have to create the config.ini file, and it would go in your %APPDATA%\VMware directory (alongside the preferences.ini file). * C:\Users\mitty\AppData\Roaming\VMware\config.ini など {{{ isolation.tools.unity.disable = "true" }}} * [http://type-y.com/2009/12/vmware-workstation-6-guestos-usb-memory-boot-test.html VMware Workstation6のゲストOSでUSBブートを試してみるテスト - Y型ヒキコモリ日誌] > 調べるまで知らなかったけど、USBブートってHDDそのままの構造なんですね。という事は、VMwareでもHDDとしてマウントしてあげれば、USBメモリをブートディスクとして使えるはず? = VMware Workstation for Linux without X = * X11Forwardingを用いることで、Xが入っていないホストでも動作可能 * [http://d.hatena.ne.jp/amt/20101231/DnDlogDotConfErrr VmWare8起動時 に ~/.vmware/dndlogs/dndlog.conf がないよ、と怒られる問題 - おもてなしの空間] > % mkdir -p ~/.vmware/dndlogs/ && touch ~/.vmware/dndlogs/dndlog.conf * [[Image(dndlog.conf.png,33%)]] * ~~インストーラをX11forward経由で起動する場合、root権限が必要となる関係からroot login via sshが必要となる~~ * PuTTY X11 proxy: MIT-MAGIC-COOKIE-1 data did not match * => wiki:TipAndDoc/network/ssh#X11Forwardingwithanotheruser * CygwinのX Serverでも十分実用に耐える[[br]][[Image(vmware-ws-installer.png,33%)]] * 以下のようなエラーが出て、ゲストを起動できないことがある {{{ Could not open /dev/vmmon: No such file or directory. }}} * lsmod | grep vm で何も出ない場合は、sudo service vmware start == packages == * X11forwardingでVMware WSを使用する際に必要となるパッケージ * Ubuntu 10.04.2 x86_64 (Linux hostname 2.6.32-31-generic #61-Ubuntu SMP Fri Apr 8 18:25:51 UTC 2011 x86_64 GNU/Linux) * build-essential * kernel moduleをbuildするために必要 * gconf2 {{{ bash: gconftool-2: command not found }}} * x11-utils {{{ LOG NOT INITIALIZED | Unable to spawn xprop to determine whether accessibility is enabled or not. }}} * libxrandr2 {{{ /usr/lib/vmware/bin/vmware-vmx: error while loading shared libraries: libXrandr.so.2: cannot open shared object file: No such file or directory }}} * /tmp/vmware-mitty/ui-4506.log {{{ May 26 02:19:44.284: vmui| VMHSHostConnectVMX: Failed to connect to pipe vmxcf80cfad64a6ae2f: No such file or directory }}} * Unable to change VM power state[[br]][[Image(unable_change_power_state.png)]] === not required === * 必須ではない(と思われる)パッケージ * 無くてもVMの起動そのものには支障がない模様 * libglu-dev (Provided by: libglu1-mesa-dev) * Failed to load OpenGL utility (GLU) library.[[br]][[Image(Failed_to_ load_GLU.png)]] * もっとも、GLUを入れたからといって必ず3D対応になるわけではない模様[[br]][[Image(3D_disabled.png)]] * libasound2 {{{ Failed to load Alsa sound library: libasound.so: cannot open shared object file: No such file or directory. Alsa sound will not be used. }}} * Failed to load Alsa sound library[[br]][[Image(libasound.png)]] == input underscore to Guest OS == * 元々、次のような注意がゲスト起動のたびに表示される[[br]][[Image(xkeymap.png,33%)]] * アンダースコア以外の入力は正常 * 半角全角等も問題ない * '_' (Shift+\) は '|' になる[[br]][[Image(underscore_xp.png,33%)]] [[Image(underscore_bsd.png,33%)]] * 参考になるが、以下では解決しなかった * [http://dogmap.jp/2009/01/05/ubuntu-810-vmware-player/ Ubuntu 8.10 で VMware Player のキーマップ変更 : dogmap.jp] * [http://support.microsoft.com/kb/880943/JA Windows XP で PS/2 接続の Microsoft 日本語キーボードを使用すると、デバイス マネージャの一覧に 101/102 配列の英語キーボードとして表示される場合がある][[Image(kb880943.png,33%)]] * これを適用しても解決せず、また適用しなくても[#a.vmwareconfig]で解決する === .vmware/config === * 以下で解決 * [http://www.aconus.com/~oyaji/suse9.3/vmware_server.htm 仮想サーバの構築(VMware Server)] > ■ゲストOSで'_'(アンダーバー)が入力できない * mitty@hades:~$ cat > .vmware/config {{{ xkeymap.language = jp106 xkeymap.keycode.211 = 0x073 }}} * mitty@hades:~$ sudo service vmware restart == kernel update == * ホストのカーネルがバージョンアップしバージョンナンバーが変わるとカーネルモジュールのリビルドが必要 * vmwareコマンドでGUIを起動しようとすると、自動でリビルドが走る[[br]][[Image(kernel-update.png)]] * rootで実行しないといけない場合がある模様 = kernel.sched_compat_yield = * マルチコア(マルチCPU)構成のゲストを起動しようとすると、以下の質問をされる > The host's Linux kernel yield() functionality is disabled. Multiprocessor virtual machines exhibit degraded performance without yield(). Choose 'OK' to enable the sysctl 'kernel.sched_compat_yield' or 'Cancel' to continue without yield().[[br]][[Image(sched_compat_yield.png)]] * ここでOKとすると、一時的に /proc/sys/kernel/sched_compat_yield = 1 となるが、再起動するとこの設定は揮発する * /etc/sysctl.d/30-vmware-player {{{ kernel.sched_compat_yield=1 }}} * ファイル名に.confが付かないと読み込まれないので、ファイル名を変更する * $ sudo mv /etc/sysctl.d/30-vmware-player /etc/sysctl.d/30-vmware-player.conf * see also vmware:1027987 = Promiscuous Mode = * デフォルトではPromiscuous Modeは仮想NICに対して使用出来ない[[br]][[Image(PromiscuousMode.png,33%)]] * vmware:287 Using Virtual Ethernet Adapters in Promiscuous Mode on a Linux Host > VMware software does not allow the virtual Ethernet adapter to go into promiscuous mode unless the user running the VMware software has permission to make that setting. This follows the standard Linux practice that only root can put a network interface into promiscuous mode. > > One way to do this is to create a new group, add the appropriate users to the group, and give that group read/write access to the appropriate device. These changes need to be made on the host operating system as root (su). For example: > {{{ > chgrp newgroup /dev/vmnet0 > chmod g+rw /dev/vmnet0 > }}} > If you want all users to be able to set the virtual network adapter (/dev/vmnet0 in our example) to promiscuous mode, you can simply run the following command on the host operating system as root: > {{{ > chmod a+rw /dev/vmnet0 > }}} * Hostを再起動すると元に戻るので注意(udevの設定をする必要があると書かれているが未検証)