Running VMWare Remote Console outside the browser

1 Feb 2010 by David (admin)
Tags: , , , ,

Firefox 3.6 update broke my VMWare WebAccess.

Since I updated to Firefox 3.6, I have not been able to run the vmware remote console plugin anymore. Running Linux, this is a pretty important program, as there is no vSphere client for Linux.

How to run VMWare Console from the bash shell?

cd /tmp
IP=the.esx.srv.ip  <em># < fill in esx server ip address here</em>
wget --no-check-certificate https://$IP/ui/plugin/vmware-vmrc-linux-x86.xpi
mv vmware-vmrc-linux-x86.xpi vmware-vmrc-linux-x86.zip
cd ~
mkdir -p bin/vmwareconsole <em># make directory bin in your own homedir</em>
cd bin/vmwareconsole
unzip /tmp/vmware-vmrc-linux-x86.zip
cd ~/bin
ln -s vmwareconsole/plugins/vmware-vmrc .   <em># make a symlink for easy access</em>
vmware-vmrc   <em># run the console</em>
© GeekLabInfo

Was this page useful?

Please rate this page and/or leave a comment.
1 Star2 Stars3 Stars4 Stars5 Stars (11 votes, average: 5.00 out of 5)
Loading ... Loading ...

16 Comments

  1. Bruno says:

    Yes usefull, as I get login to vm.
    But thoses running windows, can't get the keyboard & mouse grab working normal.

    Is this due to my kde4.3.5 or what, haven't yet found.

  2. Dale says:

    I used a copy of vmware-vmrc-linux-x86.xpi that was on my machine and followed the proceedure detailed above. I figured this would work becase everything worked before upgrading to ubuntu 10.04 which installed firefox 3.6.3

    Upon running vmware-vmrc I get the following file not found error.

    dale@dale-desktop:~/bin$ vmware-vmrc
    exec: 511: /home/dale/bin/vmwareconsole/plugins/bin/vmware-vmrc: not found
    dale@dale-desktop:~/bin$

    If I change to the directory and try to run ./vmware-vmrc I get the same error. Its strange to me because the file does exist as detailed in the directory listings below. I tried to backrev firefox and get a file not found error on firefox-bin even though it is where it is supposed to be. Its like the system is looking for those files somewhere else but not reporting where it is not finding fhe file.

    I created a file called hello (that is just echo hello), gave it the same rights and symlink and it runs fine.

    Is exec putting a prefix on the vmware-vmrc directory?

    Anyway I am stuck any help get vmware console going would be appreciated.

    dale@dale-desktop:~/bin$ ls -l
    total 4
    lrwxrwxrwx 1 dale dale 27 2010-05-27 06:44 hello -> vmwareconsole/plugins/hello
    drwxr-xr-x 4 dale dale 4096 2010-05-26 12:35 vmwareconsole
    lrwxrwxrwx 1 dale dale 33 2010-05-26 12:36 vmware-vmrc -> vmwareconsole/plugins/vmware-vmrc

    dale@dale-desktop:~/bin/vmwareconsole/plugins$ ls -l
    total 792
    drwxr-xr-x 2 dale dale 4096 2010-05-26 13:39 bin
    -rwxr-xr-x 1 dale dale 11 2010-05-27 06:47 hello
    drwxr-xr-x 61 dale dale 4096 2010-05-26 12:37 lib
    drwxr-xr-x 4 dale dale 4096 2008-10-10 12:18 libconf
    -rw-r--r-- 1 dale dale 556324 2008-10-10 12:18 np-vmware-vmrc-2.5.0-122581.so
    -r--r--r-- 1 dale dale 201997 2008-10-10 12:05 open_source_licenses.txt
    drwxr-xr-x 4 dale dale 4096 2008-10-10 12:18 share
    -r-xr-xr-x 1 dale dale 738 2008-10-10 12:18 vmware-desktop-entry-creator
    -r-xr-xr-x 1 dale dale 738 2008-10-10 12:18 vmware-vmrc
    -r-xr-xr-x 1 dale dale 738 2008-10-10 12:18 vmware-vmrc-daemon
    -r-xr-xr-x 1 dale dale 738 2008-10-10 12:18 vmware-vmrc-legacy
    drwxr-xr-x 2 dale dale 4096 2008-10-10 12:18 xkeymap

    dale@dale-desktop:~/bin/vmwareconsole/plugins/bin$ ls -l
    total 4344
    -rwxr-xr-x 1 dale dale 11 2010-05-26 13:36 hello
    -rwxr-xr-x 1 dale dale 23844 2008-10-10 12:18 vmware-desktop-entry-creator
    -rwxr-xr-x 1 dale dale 2586160 2008-10-10 12:18 vmware-remotemks
    -rwxr-xr-x 1 dale dale 1658832 2008-10-10 12:18 vmware-vmrc
    -rwxr-xr-x 1 dale dale 43648 2008-10-10 12:18 vmware-vmrc-daemon
    -rwxr-xr-x 1 dale dale 111704 2008-10-10 12:18 vmware-vmrc-legacy
    dale@dale-desktop:~/bin/vmwareconsole/plugins/bin$

  3. David (admin) says:

    Are you using a different version of the xpi?
    Please follow the instructions, and download it (again) from the esx server. You may have a very old xpi, which is just not compatible.

  4. Dale says:

    I needed vmware-vmrc-linux-x64.xpi

    Works good mouse is weird.

    Thanks

  5. vbundi says:

    Awesome! Works perfectly.

  6. vbundi says:

    Actually I forgot to mention, I had a problem downloading the xpi file originally as the 'connection refused' error would come.

    I had to specify the port as 8333 otherwise it would try to download via 443.

    This line works for me.
    wget --no-check-certificate https://$IP:8333/ui/plugin/vmware-vmrc-linux-x86.xpi
    mv vmware-vmrc-linux-x86.xpi vmware-vmrc-linux-x86.zip

  7. gr says:

    a typo in vbundi a dash follows wget should be 2 small hyphons

  8. David (admin) says:

    @gr: Thanks for your correction. vbundi did it right, but the weblogging software broke the double hyphons.

    @vbundi: Thanks for your suggestion. I think you're describing how to work with "VMWare Server", formerly known as "GSX server". This article describes ESX4, which does bind to port 443 :-)

  9. Michael says:

    Thank you.

    Excellent solution. After much searching this is exactly what I was looking for.

  10. Dirk says:

    Great solution! Thanks!

  11. Jürgen says:

    I have tried it with the firefox files deep in some sub-dirs but I couldn't use the mouse.

    With this solution it works

    Thanks

    (using Maverick!)

  12. Fabio says:

    Works perfectly. Thanks!

  13. Mike says:

    Works awesomely. I used x.x.x.x:8222 for the IP in the script (where the x.x.x.x is your IP address) and in the console I had to use x.x.x.x:8333

  14. Jose says:

    Works great. Thanks!

  15. Dan says:

    Note that the host name the program wants is hostname:portno
    For me (Ubuntu user) the portno is 8333

  16. stone says:

    nach stundenlanger sucherei endlich was das auch funktioniert :)
    vielen dank!

    works great! THANKS!

    port was 8333 on centOS 5.6

Leave a Reply

Pages

Search

Tags

3com 4250T 5216k access point acpi Acrobat Active Directory AD ad-hoc wifi Adobe Apache Asterisk Asterisk 1.8 autorepair backdoor barcode bash bat batch Belkin bios bootloader CentOS CentOS 5 CentOS 6 certificates checksum cmos console access cookies CUPS database databases Dead default password Dell dhcp digital invoice dns dnsmasq dovecot Dymo dynamic dns dyndns e-commerce EAN13 Esx Esx4 Exchange Exchange 2007 fax Fedora Fedora 13 Fedora 15 Fedora 16 Firefox firewall firmware fix FoIP fonts ftp fuckup ghostscript Google Google apps Google Chrome Google Maps Google Talk GPO grub gvfs-open H200 hibernation http hushlogin initrd internet explorer iproute2 iptables IPv6 jQuery KB953297 KB974417 KBsomething KDE Konsole layer8 LDAP ldifde Linux login Lovelock lpd magento mkinitrd mplayer ms office ms office 2010 mysql Nagios networking NetworkManager NoteToSelf NTLM nullmodem nvram Omniview OpenSSL openvpn password patch pcl pdf PERC PHP Postfix PostScript preload printer privacy proxy pstn pureftpd pxe rant reboot RedHat remote remote wipe reset password Review root root access route router rpm Samba Samsung Galaxy S2 scripting securit security SELinux Sendmail SEO Servicetag shutdown SMTP socat software deployment Spam speed-up SQL Server Express squid ssh SSL starttls stupid switch sysinternals syslinux talk tftp thawte Thunderbird Trend Micro updates v4l v4l2 vdr viclient video VMWare VMWare Data Recovery vnc voice voip vpn vSphere vsphere client wbinfo webapps webcam wf.msc wifi winbind Windows Windows 7 Windows 2003 Windows 2008 SBS windows internal database Windows Updates Windows XP wmic WordPress WordPress plugins wscript WSUS wsusutil WYukon