XenCenter for Mac

So, now what do we have.
A Mac and some Citrix XenServer. If we want to manage it, we normally need to use XenCenter – which is a windows-only software.

This is somewhat inconvenient.
Luckily after a few minutes of googeling, I found OpenXenManager, which should work on OS-X.
Here you can download the latest Version:
https://github.com/OpenXenManager/openxenmanager

After downloading and extracting there isn’t that much to do.
All we need are some additional programs.
For my convenience I use homebrew to install some *nix-tools.
Install here: http://brew.sh/

I will just dump the install-commands here. If you really need to know more – ask in the comments 🙂

brew install python gtk pygtk
pip install configobj

So, thats all we need.

Now start the program:

./openxenmanager

Unfortunately there is still an error while exiting the tool, which will lead to an loop.

/openxenmanager:37: GtkWarning: Attempting to store changes into `/Users/xxxx/.local/share/recently-used.xbel', but failed: Datei »/Users/xxxx/.local/share/recently-used.xbel.PJNHEY« konnte nicht angelegt werden:
  gtk.main()
./openxenmanager:37: GtkWarning: Attempting to set the permissions of `/Users/xxxx/.local/share/recently-used.xbel', but failed:
  gtk.main()
Exiting...

Well, let’s also fix this:

mkdir -p ~/.local/share

So now clicking through the tabs and what’s this – the console isn’t working.
Well … shit.
Bildschirmfoto 2016-03-19 um 14.24.33

As i’ve found an github issue that has the same problem.
to fix this, we open the config in an editor of your choice:

vi ~/.config/openxenmanager/oxc.conf

here at the bottom, we can set the script to the vnc_viewer.

That’s it. We now have a working XenCenter-Imitation running on OS-X

more or less – it’s not that stable has has a lot of bugs – especially on running the vnc-viewer and closing the application.
Also the “design” isn’t that nice as the real XenCenter

Leave a Reply

Your email address will not be published. Required fields are marked *