run vmware without gui

download vix api from vmware site


https://www.vmware.com/support/developer/vix-api/

VIX SDK for Linux 64-bit 



  • VMware-VIX-1.13.0-1295980.x86_64.bundle



[sujin@localhost Documents]$ chmod 755 VMware-VIX-1.13.0-1295980.x86_64.bundle

[sujin@localhost Documents]$ su
Password: 
su: Authentication failure
[sujin@localhost Documents]$ su
Password: 
[root@localhost Documents]# ./VMware-VIX-1.13.0-1295980.x86_64.bundle
Extracting VMware Installer...done.

(vmware-installer.py:6352): Gtk-WARNING **: Unable to locate theme engine in module_path: "adwaita",

(vmware-installer.py:6352): Gtk-WARNING **: Unable to locate theme engine in module_path: "adwaita",
/usr/share/themes/Adwaita/gtk-2.0/gtkrc:1137: error: unexpected identifier `direction', expected character `}'
Gtk-Message: Failed to load module "pk-gtk-module": libpk-gtk-module.so: cannot open shared object file: No such file or directory
Gtk-Message: Failed to load module "canberra-gtk-module": libcanberra-gtk-module.so: cannot open shared object file: No such file or directory

(vmware-installer.py:6386): Gtk-WARNING **: Unable to locate theme engine in module_path: "adwaita",

(vmware-installer.py:6386): Gtk-WARNING **: Unable to locate theme engine in module_path: "adwaita",
/usr/share/themes/Adwaita/gtk-2.0/gtkrc:1137: error: unexpected identifier `direction', expected character `}'
Gtk-Message: Failed to load module "pk-gtk-module": libpk-gtk-module.so: cannot open shared object file: No such file or directory
Gtk-Message: Failed to load module "canberra-gtk-module": libcanberra-gtk-module.so: cannot open shared object file: No such file or directory


start

vmrun -T player start /home/sujin/vmware/CentOS\ 6.5/CentOS\ 6.5.vmx nogui


To reboot VM:
$ vmrun -T player reset /path/to/vm/my.vmx soft
To power off VM:
$ vmrun -T player stop /path/to/vm/my.vmx soft





No comments:

Post a Comment