Profile

  vcapdcalogo  VCAP - DCD

vmw-vcp_logo_260x40

vmw-vexpert_logo_223x40

 

View Rynardt Spies's profile on LinkedIn

Search

Technical Guides

Twitter Updates

User Rating: 5 / 5

Star activeStar activeStar activeStar activeStar active
 

view-pcoip-linux-clntI am happy to report that I have managed to get the VMware View PCoIP Client to work on openSUSE Linux 12 with the GNOME 3 desktop environment. The first client I tried was the VMware View Open Client, which is an open source project. However the View Open Client does not support PCoIP and only connects to the View desktops using RDP. As I am not a fan of RDP, I was keen on getting PCoIP to work.

Some background as to why I needed the PCoIP View Client to work on Linux:

Generally for remote access to my lab, I use the VMware View PCoIP Client for Windows, Android and iOS (on the iPad). VMware has made the PCoIP client available on all of these platforms, but no Linux PCoIP client has been released. This article should get you up and running, but bear in mind that it is not supported by VMware.

I have a laptop running a Linux Desktop that is connected to my Boeing 737NG flight simulator. The simulator heavily relies on several components that run on virtual machines on ESXi. These components run on Windows XP virtual machines and connect into Flight Simulator X and the PMDG 737NGX Aircraft using interfaces such as FSUIPC, WideFS and SimConnect. These components deliver complex real time weather, flight management components such as navigation radios, ATC communication radios, flight planning tools, chart applications, as well as Aircraft Communications Addressing and Reporting System (ACARS) applications. In order to manage these virtual machines, I needed to get the VMware View Client to work on the Linux Desktop.

For now, I have been able to get the VMware View PCoIP client to work on openSUSE Linux 12 using the GNOME 3 Desktop. However, I have not been able to get USB pass-through to work, which will be causing issues around ATC, as a USB sound card should be passed through to the XP VM handling ATC communications in order for the microphone to function properly. So, as this is an important feature that I do require, watch this space, because I will find a way around it, even if I have to try and code a solution around it in C (huh, as if I have time for that!). However, I don't think that drastic steps such as that will be required as I have seen hints online that some have been able to get USB pass through to work on Ubuntu Linux, so this could possibly easily be ported to SUSE.

We will be using the VMware View PCoIP Client for Ubuntu Linux. This will work just fine in openSUSE 12.

To start off, I have installed the 64-bit release of openSUSE 12 with the default installation packages using the GNOME desktop environment, not KDE. I have not tested the View PCoIP client with KDE. Also note that I have not tested this with any other distribution of Linux.

After the openSUSE installation has completed, you will need to install some 32-bit libraries as a prerequisite. Please note that even if you are running a 64-bit release of openSUSE (or any other 64-Bit distribution of Linux), you will still be required to install the 32-bit versions of the following libraries. Only installing the 64-bit versions of the libraries WILL NOT WORK. You can run both 32-bit and 64-bit versions of the same libraries at the same time if needed. This is not a problem at all, as Linux is a REAL operating system that aims to get the job done, which is more that what can be said of some of the more "main stream" operating systems :-)

If you are unfamiliar with installing binaries on openSUSE, do not fear, this is very easy! You won't have to compile any source code as the source code has already been pre-compiled into binaries.

Let's first look at which libraries are required as well as the packages that will deliver those binaries:

Library Name

Provided by installing package

libglib-2.0.so.0

libglib-2_0-0-32bit

libgobject-2.0.so.0

libgobject-2_0-0-32bit

libgmodule-2.0.so.0

libgmodule-2_0-0-32bit

libatk-1.0.so.0

libatk-1_0-0-32bit

libgtk-x11-2.0.so.0

libgtkglext-x11-1_0-0-32bit

libcrypto.so.0.9.8

libopenssl0_9_8-32bit

libpng12.so.0

libpng12-0-32bit



If you are running a 64-bit version of Linux like myself, the 64-bit versions of some of the modules above will be installed with the base installation of openSUSE 12, however, you have to install the 32-bit versions in addition to the 64-bit modules as the View PCoIP Client will be looking for the 32-bit versions and not the 64-bit versions.

Installing the 32-bit packages:

I have installed the 64-bit build of openSUSE 12. I therefore needed to install some 32-bit libraries. To perform the installation, you can use Yast Control panel from the GUI, or by using Zepper from the terminal command line. I used Zepper.

  1. Open a new GNOME Terminal
    Applications → Accessories → GNOME Terminal
  2. Once the terminal is open, elevate to root:

su -l

  1. Use the Zepper command to install each library individualy:

zypper install libglib-2_0-0-32bit -v

zypper install libgobject-2_0-0-32bit -v

zypper install libgmodule-2_0-0-32bit -v

zypper install libatk-1_0-0-32bit -v

zypper install libgtkglext-x11-1_0-0-32bit -v

zypper install libopenssl0_9_8-32bit -v

zypper install libpng12-0-32bit -v

  1. Once the libraries have been installed, download the VMware View PCoIP Client for linux into the /var/tmp directory:

    cd /var/tmp

    wget http://www.virtualvcp.com/download/View-PCoIP-Client-Linux.tar.gz

  2. Unpack the contents of the downloaded tarball:

    tar -xvzf /var/tmp/View-PCoIP-Client-Linux.tar.gz

  3. The following two files will now be in /var/tmp:

    control.tar.gz - Should be installed to enable USB Pass-through. I am still trying to get this to work ;-)

    data.tar.gz - Contains the VMware View PCoIP Client for Linux

  4. Unpack data.tar.gz

    cd /var/tmp

    tar -xvzf ./data.tar.gz

    Once Unpacked the following folders will be present in /var/tmp:

    /var/tmp/etc

    /var/tmp/usr

  5. Copy the two directories to the relevant locations

    cp -pvR /var/tmp/etc/* /etc/

    cp -pvR /var/tmp/usr/* /usr/

 

That's it! The VMware View PCoIP Client for Linux is now installed. To launch the client simply enter the following command in a terminal session as an ordinary user. No Superuser priviledges required!

/usr/bin/vmware-view

Leave your comments

Post comment as a guest

0

People in this conversation