Thinstation / thinstation

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

Citrix Receiver launch issue #848

Open jerleSSAB opened 2 months ago

jerleSSAB commented 2 months ago

There seems to be something wrong launching Citrix Receiver. Inside the ThinStation build running pkg fullscreen icastore shows the correct parameters in the launch window: image

However, this results in an error. Checking the logs reveals that the connection is attempted with "--username" as the URL instead of the store: image

I can use the storebrowse utility to add an launch resources just fine.

Thinstation commented 2 months ago

That looks very strange, I would need to see the options you are passing in config to make a better determination of what is going on.

jerleSSAB commented 2 months ago

Are the configs the problem? In the example above I am launching Receiver from terminal running pkg fullscreen icastore, shouldn't it use the user input from the dialog?

Thinstation commented 2 months ago

It looks like you are passing more options than I can see. I only see https:// on the server line. I would have expected to see a fully formed url.

jerleSSAB commented 2 months ago

I censored the URL 😄 The full URL that I use there works with the storebrowse utility and when adding a server via Receiver Preferences.

I use --username, --password and --domain options.

Thinstation commented 2 months ago

I can't think of any reason why the options string would be injected into the middle of the server string. There is some ordering that takes place, but not intermixing of the strings.

Thinstation commented 2 months ago

However, you could put a set -x into dialog.functions and maybe the answer will present itself.

jerleSSAB commented 2 months ago

That indeed helped

image

The options are passed before the server URL, I suppose that's why the --username option gets passed as the store URL

jerleSSAB commented 2 months ago

I tried adding icastore.server_first file to ts/build/packages/ica/build/extra/etc/cmd, however the server URL is still passed as the last parameter. Is there something else that needs to be configured as well?

Doncuppjr commented 2 months ago

For anything in extra to make it into the image, you would need to clean and reinstall the ica package. Otherwise, you could also add it to the current install ica/etc/cmd

./build –removeall ./build