Code source wiki de Citrix - USB-Redirection an eine Citrix Session von Geräten welche in der usb.conf verweigert werden
Modifié par ndzokam le 2025/11/17 05:47
Masquer les derniers auteurs
| author | version | line-number | content |
|---|---|---|---|
| |
5.1 | 1 | |
| |
4.2 | 2 | |
| 3 | {{info}} | ||
| |
7.1 | 4 | Testé avec succès avec : |
| |
4.2 | 5 | |
| |
5.1 | 6 | Firmware: 4.10-/3.13-rangee Version: 8.04 Build: 049 |
| |
4.2 | 7 | ICA Version: 19.03-8.04 Build: 004 |
| 8 | scripts Version: 1.0-8.04 Build: 001 | ||
| 9 | |||
| 10 | |||
| |
5.1 | 11 | Firmware: amd64 Version: 10.00 Build: 100 |
| |
4.2 | 12 | ICA Version: 19.03-AMD64-10.00 Build: 011 |
| 13 | scripts Version: 1.0-amd64 Build: 001 | ||
| 14 | {{/info}} | ||
| 15 | |||
| |
7.1 | 16 | 1. Lecture de la combinaison VID/PID |
| 17 | 11. {{status title="Kommbox"/}} → {{status title="Peripherie"/}} → {{status title="Périphériques (Appareils) USB"/}} | ||
| |
4.2 | 18 | |
| |
7.1 | 19 | {{lightbox image="image2019-8-6_16-30-6.png"/}} |
| |
4.2 | 20 | |
| 21 | |||
| |
7.1 | 22 | 1. Créer un script |
| |
4.2 | 23 | |
| |
7.1 | 24 | Kommbox → Connexions → Configuration des scripts → Nouveau script |
| 25 | |||
| 26 | 1. Nom: CTX-USB-REDIRECTION (frei wählbar) | ||
| |
4.2 | 27 | 1. ((( |
| 28 | (% class="auto-cursor-target" %) | ||
| |
7.1 | 29 | Contenu (<BEZEICHNUNG>,<VID> und <PID> ersetzen): |
| |
4.2 | 30 | |
| 31 | {{code}} | ||
| 32 | sed '/# SPECIFIC DEVICES/a #<BEZEICHNUNG>\nALLOW: VID=<VID> PID=<PID>' /opt/rangee/modules/ica/ICAClient/usb.conf > /tmp/usb.conf | ||
| 33 | mv /tmp/usb.conf /opt/rangee/modules/ica/ICAClient/usb.conf | ||
| 34 | /opt/rangee/modules/ica/ICAClient/ctxusbd.sh restart | ||
| 35 | {{/code}} | ||
| 36 | |||
| 37 | (% class="auto-cursor-target" %) | ||
| |
5.1 | 38 | |
| |
4.2 | 39 | ))) |
| 40 | 1. ((( | ||
| 41 | (% class="auto-cursor-target" %) | ||
| |
7.1 | 42 | Démarrage automatique : Activer |
| |
4.2 | 43 | ))) |
| 44 | 1. ((( | ||
| 45 | (% class="auto-cursor-target" %) | ||
| |
7.1 | 46 | Modifier les paramètres ICA globaux |
| |
4.2 | 47 | ))) |
| 48 | |||
| |
7.1 | 49 | Kommbox → Connexions → Configuration ICA → Paramètres globaux |
| |
4.2 | 50 | |
| |
7.1 | 51 | 1. Réinitialiser l’USB : activer |
| 52 | 1. Redirection USB générique : activer | ||
| |
4.2 | 53 | |
| |
7.1 | 54 | Les périphériques définis dans le script seront maintenant redirigés vers la session. |
| |
4.2 | 55 | |
| |
7.1 | 56 |