How to run Chromium in kiosk mode and to be able to launch ‘xfreerdp’ when a ‘.rdp’ file is downloaded on IGEL OS?


Folks,

Following on from this question:

Learn more, read the entire thread inside the IGEL Community o Slack

igelcommunity.slack.com/archives/C8GP9JHQE/p1617102686394100

I want iGel OS to run Chromium in kiosk mode and to be able to launch ‘xfreerdp’ when a ‘.rdp’ file is downloaded (the kiosk will have a landing page and some links on the page that may be ‘.rdp’ files).

I can make iGel OS do what I want by editing/creating files on an unlocked iGel OS terminal:

1) Create a new file called ‘rdp.desktop’ in “/usr/share/applications”

2) Modify the file “/userhome/.config/chromium/Default/Preferences” to add “rdp” to “download.extension_to_open”

3) Modify “/userhome/.config/mimeapps.list” to add “application/octet-stream=rdp.desktop” to the section “[Default Applications]”

Can I apply these changes to a terminal via policy?


hi Gavin, can you share the commands / modifications you used? we could try to script it!


Well, at its’ absolute simplest the installation script, call it ‘install_rdp_config.sh’, would simply copy pre-canned configuration files in to place.

#!/bin/bash

cp /wfs/Preferences_rdp_v1.0.0 /userhome/.config/chromium/Default/Preferences

cp /wfs/mimeapps.list.rdp_v1.0.0 /userhome/.config/mimeapps.list

cp /wfs/rdp.desktop_v1.0.0 /usr/share/applications/rdp.desktop

If more sophistication is required I could use “jq” to update ‘Preferences’ and “awk” to update ‘mimeapps.list’. I think ‘rdp.desktop’ would always be a file copy.

The important point is that I will have iGel OS configured to run Chromium at start up in kiosk mode and these configuration files need to be in place before chromium starts.


AWK / SED would be te best way, but basically if you want to test first:

deploy the files like you already did (assuming you used files inside UMS).

create a profile and put

“`/bin/bash /wfs/install_rdp_config.sh“`

as Final Network command, under System, Firmware Customization, Network

and reboot.


Thanks for that. I’ll give it a try.

Continue reading and comment on the thread ‘How to run Chromium in kiosk mode and to be able to launch ‘xfreerdp’ when a ‘.rdp’ file is downloaded on IGEL OS?’.  Not a member? Join Here!

Learn more, search the IGEL Knowledge Base



Ask a question or comment on the above message thread?

Join or log in to the IGEL Community to ask us anything and meet other IGEL customers, partners, and EUC enthusiasts.

Submit a question, or Join Today!


Popular Message Threads


Categories & Tags: