📜 ⬆️ ⬇️

We are friends with Thinstation 5.0 and VMWare View 5.0 client with full USB-redirect

At the beginning of the year, I started trying to start a VMWare View client in Thinstation and this text is the result of my work. This is more likely a note than a full-fledged article, as the scribbler of me is unimportant. Who is interested - read on.

Prologue


Initially, I suffered from the VMWare View Open Client, until I realized that it basically does not support the PCoIP protocol. After several days of searching, the official VMWare View client was found in the ubunt repositories. After some time I managed to finally build and run it. At that time, it was version 1.3 (under View 5.0), which worked very well, but to my regret I was able to Tech Preview without the so-called “USB port forwarding”.
In an attempt to find some more information on the subject of interest to me, I first found the .deb package of VMWare View version 4.5, then version 4.6 for HP thin clients, and also came across an article from the user m0ps . I tried to repeat too, but already in the Thinstation 2.5 environment with the implementation obtained earlier - I managed to launch the client. This solution was already something working, but was not satisfied with the fact that there was no support for low-bandwidth connections, the session was torn when the connection was lost, and even little things.
Another attempt was made with the official client version 1.4 from the ubunt repository, but again the client was without USB support.
And here it is a long-awaited happiness: on April 13, HP releases a software update for its thin clients based on linux! The necessary .deb package was picked out, everything was assembled in the right form in less than 15 minutes and pleased me with its full-fledged work :)
And here I am, to share with you the recipe for cooking Thinstation 5.0 and VMWare View 5.0 with full USB-redirect support, which was impossible to do literally until today.

Actually, the recipe


In the legality of using this method, I am unsure, everything described below was done for self-study, so you do everything at your own peril and risk.
I hope you already have Thinstation 5.0 and VMWare View 5.0 installed and still want to get USB support in your thin clients?
Then let's go:
1. Download the package, unpack the contents in the directory /thinstation/ts/5.0/packages/
2. Go to the build subdirectory.
3. Run the script ./dep_view5.sh.
4. Add the line “package vmviewpcoip” to build.conf
5. Putting the image
6. PROFIT!

Some cautions about the build process:
1. It is necessary to run the script (p.3) only after entering the Dev mode (./setup-chroot in the / thinstation directory) otherwise the ar command for unpacking the .deb package will not work and you will not receive a working package
2. Archive with a script must be unpacked under Linux (so as not to fly right)
')
In case of successful completion, the dep_view.log created next to the script will be ~ 24kbyte. Otherwise, analyze it to understand where you have a problem.
And if we also correct thinstation.conf.buildtime, we get autoloading of the client after starting the thin client system. Example:

SESSION_0_TYPE=vmviewpcoip
SESSION_0_AUTOSTART=on
SESSION_0_VMVIEWPCOIP_SERVERURL=https://vmware-view5-server
SESSION_0_VMVIEWPCOIP_FULLSCREEN=true
SESSION_0_VMVIEWPCOIP_DOMAINNAME=example.com


The resulting image is loaded on the old iron on PXE. The end user needs only to enter his domain login + password and start working in his usual environment.

Epilogue


The package itself . Also, the bundle left the old version of the script for collecting package version 4.6 (./dep_view4.6.sh) as a bonus and a stripping script (./clean_dep.sh).
Probably, after some time, you can find it in Thinstation 5.0, which is called out of the box, as well as separately the script itself and a description of how to use it in the Thinstation mailing list .
I take this opportunity to say hello to wfx, tiv, Petry Roman, as well as to other foreign colleagues from the #thinstation channel, who helped me in collecting all this grief of mischief.

Source: https://habr.com/ru/post/142302/


All Articles