mac下用openxenmanager管理xenserver

IMPORTANT on last co.

IMPORTANT on last commits you don’t need patch tightvnc, only install and copy to openxenmanager directory

This install was tested on Snow Leopard, and the tightvnc console worked.

Download the latest svn version:

svn co https://openxenmanager.svn.sourceforge.net/svnroot/openxenmanager openxenmanager

For the console you need to:

Install Macports. Then use port to install tightvnc:

port fetch tightvnc
port patch tightvnc
port build tightvnc

cp /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_x11_tightvnc/work/vnc_unixsrc/vncviewer/vncviewer openxenmanager/trunk

You may need to install pygtk via MacPorts?.

port -v install python25
port -v install python_select
python_select python25
port -v install py25-gtk

explained in:

http://www.php-architect.com/blog/2009/02/25/installing-python-pygtk-on-mac-osx/

Start the app:

cd openxenmanager/trunk
python window.py

If you have installed MacOSX native python interpreter (/usr/bin/python) together with the MacPorts? version, the command above will probably fail with a “No module named pygtk” error because it will attempt to load window.py using /usr/bin/python instead of theMacPorts? version. In that case you shall use the full path to your MacPorts? python installation, i.e.:

/opt/local/bin/python window.py