﻿{"id":1065,"date":"2012-12-11T20:54:55","date_gmt":"2012-12-11T12:54:55","guid":{"rendered":"http:\/\/nick.workao.org\/?p=1065"},"modified":"2012-12-11T20:54:55","modified_gmt":"2012-12-11T12:54:55","slug":"mac%e4%b8%8b%e7%94%a8openxenmanager%e7%ae%a1%e7%90%86xenserver","status":"publish","type":"post","link":"http:\/\/nick.txtcc.com\/index.php\/mac-os\/1065","title":{"rendered":"mac\u4e0b\u7528openxenmanager\u7ba1\u7406xenserver"},"content":{"rendered":"<p><strong>IMPORTANT<\/strong>\u00a0on last commits you don&#8217;t need patch tightvnc, only install and copy to openxenmanager directory<\/p>\n<p>This install was tested on Snow Leopard, and the tightvnc console worked.<\/p>\n<p>Download the latest svn version:<\/p>\n<pre>svn co https:\/\/openxenmanager.svn.sourceforge.net\/svnroot\/openxenmanager openxenmanager<\/pre>\n<p>For the console you need to:<\/p>\n<p>Install Macports. Then use port to install tightvnc:<\/p>\n<pre>port fetch tightvnc\nport patch tightvnc<\/pre>\n<pre>port build tightvnc\n\ncp \/opt\/local\/var\/macports\/build\/_opt_local_var_macports_sources_rsync.macports.org_release_ports_x11_tightvnc\/work\/vnc_unixsrc\/vncviewer\/vncviewer openxenmanager\/trunk<\/pre>\n<p>You may need to install pygtk via\u00a0<a>MacPorts?<\/a>.<\/p>\n<pre>port -v install python25\nport -v install python_select\npython_select python25\nport -v install py25-gtk<\/pre>\n<p>explained in:<\/p>\n<p><a href=\"http:\/\/www.php-architect.com\/blog\/2009\/02\/25\/installing-python-pygtk-on-mac-osx\/\"><a href=\"http:\/\/www.php-architect.com\/blog\/2009\/02\/25\/installing-python-pygtk-on-mac-osx\/\">http:\/\/www.php-architect.com\/blog\/2009\/02\/25\/installing-python-pygtk-on-mac-osx\/<\/a><\/a><\/p>\n<p>Start the app:<\/p>\n<pre>cd openxenmanager\/trunk\npython window.py<\/pre>\n<p>If you have installed MacOSX native python interpreter (\/usr\/bin\/python) together with the\u00a0<a>MacPorts?<\/a>\u00a0version, the command above will probably fail with a &#8220;No module named pygtk&#8221; error because it will attempt to load window.py using \/usr\/bin\/python instead of the<a>MacPorts?<\/a>\u00a0version. In that case you shall use the full path to your\u00a0<a>MacPorts?<\/a>\u00a0python installation, i.e.:<\/p>\n<pre>\/opt\/local\/bin\/python window.py<\/pre>","protected":false},"excerpt":{"rendered":"<p>IMPORTANT\u00a0on last commits you don&#8217;t need patch tightvnc, only install and copy to openxenmanag&#46;&#46;&#46;<\/p>","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[340],"tags":[],"class_list":["post-1065","post","type-post","status-publish","format-standard","hentry","category-mac-os"],"_links":{"self":[{"href":"http:\/\/nick.txtcc.com\/index.php\/wp-json\/wp\/v2\/posts\/1065","targetHints":{"allow":["GET"]}}],"collection":[{"href":"http:\/\/nick.txtcc.com\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/nick.txtcc.com\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/nick.txtcc.com\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/nick.txtcc.com\/index.php\/wp-json\/wp\/v2\/comments?post=1065"}],"version-history":[{"count":2,"href":"http:\/\/nick.txtcc.com\/index.php\/wp-json\/wp\/v2\/posts\/1065\/revisions"}],"predecessor-version":[{"id":1067,"href":"http:\/\/nick.txtcc.com\/index.php\/wp-json\/wp\/v2\/posts\/1065\/revisions\/1067"}],"wp:attachment":[{"href":"http:\/\/nick.txtcc.com\/index.php\/wp-json\/wp\/v2\/media?parent=1065"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/nick.txtcc.com\/index.php\/wp-json\/wp\/v2\/categories?post=1065"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/nick.txtcc.com\/index.php\/wp-json\/wp\/v2\/tags?post=1065"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}