| 1 | == VMware Remote Console on EL 4, EL 5 == |
| 2 | |
| 3 | When using VMware Server 2.0 on a CentOS host, one used to be able to connect to a virtual machine's console via VMware Remote Console Plug-in for Firefox. That is, while CentOS used to be equipped with Firefox 3.0. (See Also: http://www.vmwareforum.org/cgi-bin/yabb2/YaBB.pl?num=1222353993) In June, 2010, web browsers in RHEL 4 and RHEL 5 were upgraded to Firefox 3.6.4, and the plug-in ceased to load properly. |
| 4 | |
| 5 | One can use the VMware Remote Console Plug-in as a stand-alone application though. |
| 6 | |
| 7 | * Locate the XPI file that corresponds to your operating system architecture. |
| 8 | |
| 9 | {{{ |
| 10 | $ rpm -q VMware-server |
| 11 | VMware-server-2.0.2-203138 |
| 12 | $ rpm -ql VMware-server |grep vmrc |
| 13 | /usr/lib/vmware/webAccess/tomcat/apache-tomcat-6.0.16/webapps/ui/plugin/vmware-vmrc-linux-x64.xpi |
| 14 | /usr/lib/vmware/webAccess/tomcat/apache-tomcat-6.0.16/webapps/ui/plugin/vmware-vmrc-linux-x86.xpi |
| 15 | /usr/lib/vmware/webAccess/tomcat/apache-tomcat-6.0.16/webapps/ui/plugin/vmware-vmrc-win32-x86.exe |
| 16 | /usr/lib/vmware/webAccess/tomcat/apache-tomcat-6.0.16/webapps/ui/plugin/vmware-vmrc-win32-x86.xpi |
| 17 | $ |
| 18 | }}} |
| 19 | |
| 20 | * Uncompress the XPI archive in an appropriate directory (one listed in your PATH). |
| 21 | |
| 22 | {{{ |
| 23 | $ cd ~/bin |
| 24 | $ mkdir vmware-vmrc-linux-x86 |
| 25 | $ |
| 26 | $ cd vmware-vmrc-linux-x86 |
| 27 | $ unzip -q /usr/lib/vmware/webAccess/tomcat/apache-tomcat-6.0.16/webapps/ui/plugin/vmware-vmrc-linux-x86.xpi |
| 28 | $ ls -log |
| 29 | total 16 |
| 30 | drwxr-xr-x 2 4096 Oct 10 2008 components |
| 31 | -rw-r--r-- 1 1677 Oct 10 2008 install.js |
| 32 | -rw-r--r-- 1 1242 Oct 10 2008 install.rdf |
| 33 | drwxr-xr-x 7 4096 Oct 10 2008 plugins |
| 34 | $ cd .. |
| 35 | $ |
| 36 | $ ln -s vmware-vmrc-linux-x86/plugins/vmware-vmrc . |
| 37 | $ |
| 38 | }}} |
| 39 | |
| 40 | * Run the application first by specifying full (or relative) path. |
| 41 | |
| 42 | {{{ |
| 43 | $ ~/bin/vmware-vmrc |
| 44 | Configuring libraries for first use |
| 45 | Configured /home/username/bin/vmware-vmrc-linux-x86/plugins/libconf/etc/fonts/fonts.dtd |
| 46 | Configured /home/username/bin/vmware-vmrc-linux-x86/plugins/libconf/etc/fonts/fonts.conf |
| 47 | Configured /home/username/bin/vmware-vmrc-linux-x86/plugins/libconf/etc/fonts/local.conf |
| 48 | Configured /home/username/bin/vmware-vmrc-linux-x86/plugins/libconf/etc/pango/pangorc |
| 49 | Configured /home/username/bin/vmware-vmrc-linux-x86/plugins/libconf/etc/pango/pangox.aliases |
| 50 | Configured /home/username/bin/vmware-vmrc-linux-x86/plugins/libconf/etc/pango/pango.modules |
| 51 | Configured /home/username/bin/vmware-vmrc-linux-x86/plugins/libconf/etc/gtk-2.0/gdk-pixbuf.loaders |
| 52 | Configured /home/username/bin/vmware-vmrc-linux-x86/plugins/libconf/etc/gtk-2.0/gtkrc |
| 53 | Configured /home/username/bin/vmware-vmrc-linux-x86/plugins/libconf/etc/gtk-2.0/gtk.immodules |
| 54 | Configured /home/username/bin/vmware-vmrc-linux-x86/plugins/libconf/etc/gtk-2.0/Clearlooks.gtkrc |
| 55 | Configuration successful |
| 56 | $ |
| 57 | }}} |
| 58 | |
| 59 | {{{ |
| 60 | #!html |
| 61 | <div align="center"><img src="/img/vmware/vmware-vmrc-1.gif" width="657" height="515"></div> |
| 62 | }}} |
| 63 | |
| 64 | * To connect to a console of a virtual machine running on a VMware Server host use the following command. |
| 65 | |
| 66 | {{{ |
| 67 | $ vmware-vmrc -h server-hostname:8333 -u username |
| 68 | }}} |
| 69 | |
| 70 | * When connecting to a console of a virtual machine running on a ESX host one can omit a port number. |
| 71 | |
| 72 | {{{ |
| 73 | $ vmware-vmrc -h esx-hostname -u username |
| 74 | }}} |