How to setup Thinstation 5.3 thin client for use with VMware Horizon View 5 – Part I


Part I – How to setup Thinstation 5.3 thin client for use with VMware Horizon View 5

Part II – How to build Thinstation images and exploring config files

Part III – How to add drivers to your Thinstation build

Part IV – How to configure Thinstation and Google Chrome for a true, thin client experience

Towards the end of my studying for the VCP5-Desktop exam, I decided to look into using some old  laptops and PCs I had lying around as thin clients.  Searching the web, I ended up settling on and wresting with Thinstation for a couple days.  As one of the few, free, thin client options, Thinstation is probably the most stable and most up to date software available.  This post shares the efforts I put into getting it running in my home lab.

You can follow Thinstation documentation in the same way that one can simply walk into Mordor.”

– Mike Brown

My end state goal is to touch the thin client as little as possible before working from a View desktop.  So my vision, then, is to PXE boot the end point, let it download the thin client OS, and have it auto-launch a View desktop client.  From there, a user could enter credentials and log in.

What’s the idea?

There are a few ways to get Thinstation working in a PXE boot environment.  The overall idea, no matter how you go about it, is that you have to use a development station to build the thin client boot image that will be downloaded to your thin client hardware via a PXE boot infrastructure.  There are no good materials on the intertubes to follow in a step-by-step fashion for this setup, so here’s my attempt at the first such walkthrough, as far as I can tell.

The above graphic describes the servers and clients in the environment.  I used a Windows Server 2008 R2 VM as a DHCP server and Active Directory, the Thinstation ISO was used to install the PXE boot server in a VM, what the Thinstation team calls the “DevStation,” a name I’ll continue to use in this article, a View Connection Server 5.3 server in a VM, the thin client hardware (an old Dell Inspiron 6000 laptop for me), and finally, a Windows 7, View Composer Linked-Clone desktop.

I am, of course, leaving out a few crucial elements, like a vCenter Server, ESXi hosts, and View Composer, but that’s really not the detail needed in this post.  I’m assuming you already have a working View environment at least for LAN users.  I happen to be using linked-clones, which requires View Composer, but you don’t even need those.  Full View desktops would work just as well in this post.

PXE Booting

Using the diagram above, here’s a quick refresher on PXE booting.

1. The thin client hardware has been configured in the BIOS to PXE boot first. In addition, I chose to disable all other boot options.  When PXE booting, the client requests a DHCP address and receives one.  As a PXE boot client, it also receives, from the DHCP server, Option 66, the IP address of the PXE boot server, and Option 67, the path and boot file name to request from the PXE boot server.  The boot file name is pxelinux.0.

2. With this information in hand, the thin client then requests the boot file from the DevStation PXE boot server via TFTP.  The DevStation has a built in TFTP server with all the correct files and directories populated after an image build.  It downloads pxelinux.0 which directs it to further download, from the PXE boot server, the files required to boot a thin client operating system, namely vmlinuz and initrd.

3. Once booted into the thin client OS, you can launch a Horizon View client or web browser and make a connection request to the View Connection Server.

4. The View Connection Server validates your credentials against AD and you’re directed to your View desktop.

5. Finally, you make a direct connection to your View desktop from the thin client.

Install the DevStation

The DevStation is a PXE boot server, TFTP server, and build/development environment for your thin client OS images.

While you have the option to create your own development station from a Linux build of your own making, the Thinstation ISO will create such a DevStation very easily and quickly, which is very nice for a non-Linux geek like me.  So turn up a VM in your hypervisor of choice and boot from the ISO.  I used VMware Workstation 8 with 2 GB of RAM and a 20 GB .vmdk.  My VM settings are shown to the right.  If you give it less than 2 GB of RAM, it will complain and boot into a debug or maintenance mode, if I recall.  You don’t need the printer or USB controller, or floppy, necessarily.  I didn’t bother minimizing this build.  I chose the “Other Linux 2.6.x kernel” virtual hardware version and used the following ISO in this walkthrough:

TS-5.3.1-Installer-0209.iso

If things go well, you’ll be greeted with this screen.

In a moment, you’ll be presented with a desktop GUI and instructions on how to install the OS to your virtual disk.  These instructions are also on the Thinstation Git page.  I didn’t find them useful at all before I actually started poking around and using the software.  The documentation constantly refers to this, “development environment.”  I see “development” and I run the other way.  I don’t want to be a code monkey.  Don’t get me wrong – I’ve been writing scripts for years, from batch files and VBScripts in my Windows days to PowerShell and PowerCLI today, but I’m not trying to recompile a damn kernel or whatever just to get a thin client working.  It’s not worth my time to figure that out. I’d rather fork out the money for real thin client hardware or be relegated to a 60-day trial of Windows ThinPC.

Honestly, the folks who develop Thinstation are a lot smarter than me.  My short rant above just goes to show how lazy I am.

Well, it turns out that it’s not *all* that bad, this “development environment” they speak of.  You do have to “build” the thin client OS, but it’s pretty simple if you have some basic skills like me.  It’s mostly editing text files, actually, and a bit of moving around in a Linux file system.  So, here we go.

Hit OK in the “Install to HD” window.  The system will verify connectivity to the Internets and let you know which hard disk it will use, in this case, /dev/sda.  I’ll spare you the simplistic screenshots and simply list the configuration options you’ll be presented with.

 

 

 

  1. 1. Screen resolution
  2. 2. Time zone
  3. 3. Locale/Keyboard map
  4. Warning that you’re about to erase the selected disk (/dev/sda)
  5. A second warning that you’re about to blow away /dev/sda

A terminal window opens and begins the installation.

The installer creates a filesystem on the virtual disk and then connects to Sourceforge to download  thindev-default-5.3.tar.xz at 267MB.

What makes this ISO installation a development environment is that it creates a special directory structure and adds files for the purpose of building Thinstation thin client OS images.  It even builds the first image for you.  You’ll pretty much only have to work out of the /thinstation directory.  You can see this directory being populated below from the most recent repositories on Git.  Pretty much everything you need to build and customize images will use this directory.

After your first build process, you could PXE boot your thin client immediately and be on your way.  But this isn’t a perfect world and in reality, you may have to do a bit of tweaking to get your hardware working as it’s supposed to (I’m talking drivers here).

If you built your own Linux development box for this purpose, you’d have to install all the required software packages, find all the right files and repos yourself, and place them in the correct directory structures all on your lonesome.  I’m not quite sure, but perhaps the Thinstation home page has a download link to the tarball downloaded in the screenshot above, which may do some of this for you.

After a little time installing and configuring the environment, you’re presented with the next steps.

 

 

A reboot shows the GRUB boot loader (?). Just choose Standard or let it boot automatically.

And the splash screen for Thinstation…

Finally, you’re presented with your desktop – no login required.  In later posts, I’ll show you where to change the default passwords.

All in all, Thinstation is very simple to setup and get going – but for some un-fathomable reason, it took me two days to get this far.  I had no idea the ISO was used to build a PXE boot server with built in TFTP server that, in addition, had an entire build environment for the thin client OS images.  Frankly, I had no idea I was supposed to “build” images at all.  Perhaps it’s been too long.  When I was an SCCM admin years ago, I pushed out Windows desktop images via PXE.  Of course, I had to build images then and make sure DHCP, SCCM, and WDS were configured correctly.  Either way, I guarantee you I was googling for one of these recently:

As a sneak peek, here’s a screenshot of an HTML Blast connection to a Windows 7 desktop in my lab.  The thin client OS itself is stock at this point.  I’ve also figured out a way to startup Google Chrome in Kiosk Mode which provides a full screen, much like F11 would offer, in addition to setting the homepage to my View Connection Server Web Portal.  That way, when  user logs in, they’ll find themselves presented with a View client login prompt and be directed to their desktop – they never even have to *see* the Linux thin client desktop.


5 Comments on “How to setup Thinstation 5.3 thin client for use with VMware Horizon View 5 – Part I”

  1. doncuppjr says:

    Super Awesome! I’m so glad someone finally did this.

    • Whoa! The man, himself! It was my pleasure to document my experiences using your software. You’ve obviously spent a lot of time and energy on this project. Thanks for what you do. Admittedly, and sometimes frustratingly, the documentation hasn’t kept up with your improvements, as you know, but now that I’ve spent some time with it, there are a lot of helpful bits included. Whether they’re readme’s or script shortcuts from the start menu (just found these!), I can see how you’ve put the effort in.

      For someone like me, I just needed something to get me started. I wasn’t looking to take on a whole project to just get some thin clients up when it seems like it could be so simple. With a little love and documentation, this could be bigger than it is.

      All the best!

      Mike

  2. Alex says:

    Hey, so I’m doing this class project to reuse thinclient, and I’m having issues with this whole prohject, the point is that I have to connect the thinclient to a Windows Server 2008 with PXE, so I don’t know which scenario I should use. My point is. How many servers do I have to use? If I install thinstation in a Server do I have to install RIS in another server? thank you

  3. hesamkhatami says:

    hi
    how have you figured out a way to startup Google Chrome in Kiosk Mode?
    I want to run vm view in kiosk mode


Leave a comment

vceplus-200-125    | boson-200-125    | training-cissp    | actualtests-cissp    | techexams-cissp    | gratisexams-300-075    | pearsonitcertification-210-260    | examsboost-210-260    | examsforall-210-260    | dumps4free-210-260    | reddit-210-260    | cisexams-352-001    | itexamfox-352-001    | passguaranteed-352-001    | passeasily-352-001    | freeccnastudyguide-200-120    | gocertify-200-120    | passcerty-200-120    | certifyguide-70-980    | dumpscollection-70-980    | examcollection-70-534    | cbtnuggets-210-065    | examfiles-400-051    | passitdump-400-051    | pearsonitcertification-70-462    | anderseide-70-347    | thomas-70-533    | research-1V0-605    | topix-102-400    | certdepot-EX200    | pearsonit-640-916    | itproguru-70-533    | reddit-100-105    | channel9-70-346    | anderseide-70-346    | theiia-IIA-CIA-PART3    | certificationHP-hp0-s41    | pearsonitcertification-640-916    | anderMicrosoft-70-534    | cathMicrosoft-70-462    | examcollection-cca-500    | techexams-gcih    | mslearn-70-346    | measureup-70-486    | pass4sure-hp0-s41    | iiba-640-916    | itsecurity-sscp    | cbtnuggets-300-320    | blogged-70-486    | pass4sure-IIA-CIA-PART1    | cbtnuggets-100-101    | developerhandbook-70-486    | lpicisco-101    | mylearn-1V0-605    | tomsitpro-cism    | gnosis-101    | channel9Mic-70-534    | ipass-IIA-CIA-PART1    | forcerts-70-417    | tests-sy0-401    | ipasstheciaexam-IIA-CIA-PART3    | mostcisco-300-135    | buildazure-70-533    | cloudera-cca-500    | pdf4cert-2v0-621    | f5cisco-101    | gocertify-1z0-062    | quora-640-916    | micrcosoft-70-480    | brain2pass-70-417    | examcompass-sy0-401    | global-EX200    | iassc-ICGB    | vceplus-300-115    | quizlet-810-403    | cbtnuggets-70-697    | educationOracle-1Z0-434    | channel9-70-534    | officialcerts-400-051    | examsboost-IIA-CIA-PART1    | networktut-300-135    | teststarter-300-206    | pluralsight-70-486    | coding-70-486    | freeccna-100-101    | digitaltut-300-101    | iiba-CBAP    | virtuallymikebrown-640-916    | isaca-cism    | whizlabs-pmp    | techexams-70-980    | ciscopress-300-115    | techtarget-cism    | pearsonitcertification-300-070    | testking-2v0-621    | isacaNew-cism    | simplilearn-pmi-rmp    | simplilearn-pmp    | educationOracle-1z0-809    | education-1z0-809    | teachertube-1Z0-434    | villanovau-CBAP    | quora-300-206    | certifyguide-300-208    | cbtnuggets-100-105    | flydumps-70-417    | gratisexams-1V0-605    | ituonline-1z0-062    | techexams-cas-002    | simplilearn-70-534    | pluralsight-70-697    | theiia-IIA-CIA-PART1    | itexamtips-400-051    | pearsonitcertification-EX200    | pluralsight-70-480    | learn-hp0-s42    | giac-gpen    | mindhub-102-400    | coursesmsu-CBAP    | examsforall-2v0-621    | developerhandbook-70-487    | root-EX200    | coderanch-1z0-809    | getfreedumps-1z0-062    | comptia-cas-002    | quora-1z0-809    | boson-300-135    | killtest-2v0-621    | learncia-IIA-CIA-PART3    | computer-gcih    | universitycloudera-cca-500    | itexamrun-70-410    | certificationHPv2-hp0-s41    | certskills-100-105    | skipitnow-70-417    | gocertify-sy0-401    | prep4sure-70-417    | simplilearn-cisa    |
http://www.pmsas.pr.gov.br/wp-content/    | http://www.pmsas.pr.gov.br/wp-content/    |