Thinstation / thinstation

A framework for making thin and light Linux based images for x86 based machines and thinclients.
https://www.thinstation.net/
793 stars 187 forks source link

Making an .ICA file available in tsuser desktop #646

Open orioldelos opened 3 years ago

orioldelos commented 3 years ago

I have an .ICA file that is provided by the Virtual Desktop provider that I need to place in the desktop of the tsuser so that users can click on it to connect to the virtual desktop.

Where should I place the file or what should I do to make a file available in the tsuser desktop?

Doncuppjr commented 3 years ago

create a package. mkdir -p /build/packages/my_package. create the skeleton mkdir -p /build/packages/my_package/etc/skel/Desktop put the .ica file into that folder add package my_package to build.conf

orioldelos commented 3 years ago

Were is the best way to get detailed documentation on the inner workings of DevStation ?

Doncuppjr commented 3 years ago

DevStation is an image created with ThinStation. It's supposed be pretty easy to navigate. Is there something specific you want to do with it?

orioldelos commented 3 years ago

Although it has been quite easy to get started and build customized images, I would like to understand with some more detail how files are organized and what happens during the build process without having to go through the build script :-) to have a better understanding on where to go to add new software and customize it. Now for example I managed to install the latest Citrix Workspace app but when I try to connect it tells me that I have not accepted to use the godaddy certificate. I understand this is a Citrix specific issue, but, where should I execute the Citrix configuration so that it is available in the ISO image I later create.

Doncuppjr commented 3 years ago

O.k. That's more about ThinStation than DevStation, but I'll try and give a basic rundown of whats happening.

The first thing is always starting a container(old school chroot). This is done with setup-chroot which is located at the root of the container. That script will unwind the ports into a full blown unix filesystem. Subsequent runs will only start the chroot container.

Next we have /build/build . This is the oldest part and core script of ThinStation. It assembles packages defined in build/build.conf and located in /build/packages. It will process the dependencies of those packages and run any integration scripts located at /build/packages/\<package>/build/finalize

The packages are populated from files unwound during the container creation. The archives for the container are located at /ts/ports/<core,opt,xorg,xorg-opt,.......>/

A little bit of exploration should help.

Here is a link to some certificate handling info https://github.com/Thinstation/thinstation/wiki/Certificates

Here is a link to the finalize script for ICA https://github.com/Thinstation/thinstation/blob/6.2-Stable/ts/build/packages/ica/build/finalize

You might also look at https://github.com/Thinstation/thinstation/blob/6.2-Stable/ts/build/packages/ca-bundle/build/finalize

orioldelos commented 3 years ago

Thank you very much... will look into those.