====== VMWare ======
===== Vmware server 6.5.3 =====
/etc/vmware/bootstrap
VMWARE_USE_SHIPPED_GTK="force
export VMWARE_USE_SHIPPED_GTK="force
or
Change shortcut to:
GDK_NATIVE_WINDOWS=true vmware
===== Vmware server restart webAccess =====
/etc/vmware/init.d/vmware-mgmt restart
===== Vmware server hostd segfault =====
donwgrade zlib to version sys-libs/zlib-1.2.3-r1
===== VM Tools guest =====
emerge -upDN open-vm-tools
Hardened sources will fail (Gentoo Bug 200376) so then:
GCC_SPECS="/usr/lib/gcc/i686-pc-linux-gnu/3.4.6/hardenednopie.specs" emerge open-vm-tools
emerge -upDN open-vm-tools
rm /etc/vmware-tools/plugins/common/*.la
change /etc/conf.d/vmware-tools turn off vmblock
edit /etc/init.d/vmware-tools:
add --pidfile "${PIDFILE}" to start() on start-stop-daemon line
===== MUI =====
ln -s /opt/vmware/server/sbin/vmware-authd /usr/sbin/vmware-authd
chmod +x /opt/vmware/server/sbin/vmware-authd
===== Virtual disks =====
=== create flat disk: ===
vmware-vdiskmanager -c -s 20Gb -a lsilogic -t 2 diskname.vmdk
=== convert to flat: ===
vmware-vdiskmanager -r hydra.vmdk -t 2 hydra2.vmdk
=== resize disk: ===
vmware-vdiskmanager -x 40GB hydra2.vmdk
===== VM Configuration =====
=== vmx file: ===
MemTrimRate = "0"
mainMem.useNamedFile=false
sched.mem.pshare.enable = "FALSE"
prefvmx.useRecommendedLockedMemSize = "TRUE"
===== Workstation 6 =====
=== build: ===
Add to /etc/portage/package.unmask:
=app-emulation/vmware-workstation-6.0.0.45731
=app-emulation/vmware-modules-1.0.0.16
Remove old version to clear block:
emerge -C vmware-workstation vmware-modules
Install:
USE="accessibility"
emerge gtkmm
emerge vmware-workstation vmware-modules
add to /etc/env.d/90vmware-workstation
VMWARE_USE_SHIPPED_GTK=yes
rc-update add hald default
/etc/init.d/hald start
===== VMWare Server 1.0.5 =====
Manually re-linking the offending library file allows vmware to start.
# cd /opt/vmware/server/lib/lib/libgcc_s.so.1
# rm libgcc_s.so.1
# gcc-config -L
/usr/lib/gcc/i686-pc-linux-gnu/4.2.3
# ln -f /usr/lib/gcc/i686-pc-linux-gnu/4.2.3/libgcc_s.so.1 .
===== Workstation 6 =====
emerge vmware-workstation vmware-modules
configure networking:
emerge vmware-workstation --config
===== VMWare Server 2 =====
vi /opt/vmware/server/lib/net-services.sh
change /sbin/lsmod to /bin/lsmod