The latest VMWare Server is only supporting Web Access for configuration including console access to a Virtual Machine.
There is a Firefox Plugin for the remote console, but that did not work in my setup. The Web Access will no longer complain about a missing plugin after installation, but the console will not start either.
While searching for a fix, I also found instructions to run the remote console in the command line. Combining this with an environment setting for GTK, I am now able to run a remote console.
My solution is starting with the normal installation of the Firefox Plugin. If that's available the following script should start a remote console from command line:
#!/bin/bash ################################################################################ # Call VMWare Server's Remote Console in a clean GTK setup. ################################################################################ # Clean GTK setup for VMWare export VMWARE_USE_SHIPPED_GTK=yes # Find console executable in Firefox plugins. vmrc="$(find "$HOME/.mozilla/firefox" -name vmware-vmrc -type f -perm -111 | tail -1)" [ -x "$vmrc" ] || exit 1 set -x cd "$(dirname "$vmrc")" && "$vmrc" -h 127.0.0.1:8333
It should also be possible to run Firefox by VMWARE_USE_SHIPPED_GTK=yes firefox in your Linux command line to fix the GTK issue.
Comments
VMWare 2.0.x Install script
A beautifully seamless script, weaved in with the standard installation script. As far as I can tell, not a single problem...installed on Ubuntu Karmic on AMD-64 workstation...
Outstanding Work
Thank you guys for doing the dirty work and making my life easier.
problem after mounting /home/user on another disk
Hello,
Fisrt of all thank you for the script, it did great job until i decided to mount my home folder on another disk...
Now when i'm launching the script i get this error :
demonipuch@ubuntu:~$ ./Bureau/start-VMware-console.sh
++ dirname /home/demonipuch/.mozilla/firefox/71d3proa.default/extensions/VMwareVMRC@vmware.com/plugins/bin/vmware-vmrc
+ cd /home/demonipuch/.mozilla/firefox/71d3proa.default/extensions/VMwareVMRC@vmware.com/plugins/bin
+ /home/demonipuch/.mozilla/firefox/71d3proa.default/extensions/VMwareVMRC@vmware.com/plugins/bin/vmware-vmrc -h 127.0.0.1:8333
/home/demonipuch/.mozilla/firefox/71d3proa.default/extensions/VMwareVMRC@vmware.com/plugins/bin/vmware-vmrc: error while loading shared libraries: libexpat.so.0: cannot open shared object file: No such file or directory
libexpat.so.0 actually exists in the folder /home/demonipuch/.mozilla/firefox/71d3proa.default/extensions/VMwareVMRC@vmware.com/plugins/lib
What's wrong with the script and how can i fix it please??
nevermind, i got it working
nevermind, i got it working now...
i had to add those lines
VMLIB=$(dirname "$vmrc")
VMLIB=$(dirname "$VMLIB")/lib
export LD_LIBRARY_PATH=$VMLIB/libexpat.so.0:$VMLIB/libsexymm.so.2:$VMLIB/libview.so.2:$VMLIB/libvmwarebase.so.0:$VMLIB/libvmwareui.so.0:$VMLIB/libgvmomi.so.0
VMWare Plugin LD_LIBRARY_PATH
I am wondering, if the more general definition will also work:
export LD_LIBRARY_PATH="$(dirname "$vmrc")/lib"
Can you check that please?
Pingback
[...] me a Kudos line in here and one for Holger here. If the solution worked well for you please share this info wherever you [...]
vmware script
Great work!!!
This save me alot of work :-)
Great job
Thanks a lot. It worked like a charm on 9.10 64bit...
Christophe Lize
Pingback
[...] me a Kudos line in here and one for Holger here. If the solution worked well for you please share this info wherever you [...]
thank you
big time help on ubuntu x64 9.10 server
vmware server modules build
http://radu.cotescu.com/2009/10/30/how-to-install-vmware-server-2-0-x-on...
Installation works fine. Great, great job.
Karmic Coala x86_64,
Updated Kernel 2.6.31-14-generic
VMware Server 2.0.2-203138
Pingback
[...] http://shellack.de/info/content/vmware-server-20-console-failure a few seconds ago from Gwibber [...]
VMWare Console's GTK
In the meantime I got some more details about this issue (yes, I admit, that I used GTK-clients in KDE using appropriate schemes):