Tell me more ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

I need help with using the VMware-vmrc script to connect to my ESXi server.

after 2 days of searching and googling I'M lost.

when running the script i get: "terminate called after throwing an instance of 'Glib::Error'"

What is that means & what can I do to fix it ?

little background, this script is part of the web interface for connecting to remote Vcenter and ESX VMware servers, you can find the program in github under /vmware/rvc/downloads.

Here is the Source of the file :

#!/bin/sh
#
# Wrapper for the real binary the script is named after. Ensure that the binary will find 
# all the shared libraries it needs. If a shared library is not available from any
# of the standard system-wide locations, we provide it from the build
# directory.
#

# Use readlink only when necessary: some boxes don't have it, some boxes have
# one that does not support the -f option.
if [ -h "$0" ]; then
    this="`readlink -f "$0"`"
else
    this="$0"
fi

libdir_subdir=""
if [ "${libdir_subdir#@@}" = "VMWARE_LIBDIR_SUBDIR@@" ]; then
   libdir_subdir='/libdir'
fi

libdir="`dirname "$this"`""$libdir_subdir"

exec 'lib/wrapper-gtk24.sh' 'lib/' 'bin/'`basename $this` \
     'libconf/' "$@"

Any help will be appreciated

share|improve this question
Well, after allot of playing around I found out that apparently it needs some of gnomes libraries, not sure which but apt-get install gnome and the 'Glib::Error' is gone. But now nothing happens it just wont start, no error is given, it is important to indicate that it worked on Ubuntu 12.04. – Ba7a7chy Oct 22 '12 at 16:40

Know someone who can answer? Share a link to this question via email, Google+, Twitter, or Facebook.

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.