Am 08.11.2017 um 00:39 schrieb Stefan Baur:
- getting xfreerdp to forward that mountpoint to the RDP server. This is proving difficult if not impossible. Supposedly, some invocation of the /drive option should work, but I have not found good documentation on syntax, nor have suggestions I found so far worked. Use of the /usb option is not recommended as supposedly this is for redirecting devices, such as printers or HID. There is even much discussion among freerdp devs and users on how to properly implement this functionality. My understanding is that you need to specify a share name along with the local path, so something like
/drive:flashmedia,/media/Generic_Flash_Disk/sda1 /drive:home,/home/user
should result in \\TSCLIENT\flashmedia and \\TSCLIENT\home becoming available inside the RDP session.
I just had a chance to try this out myself. Problem is, while it works on a regular Linux box that has X2GoClient installed, it failed on current X2Go-TCE-Live images. This is because we were missing a package - libfreerdp-plugins-standard - and its dependencies in the images.
Please use
export LBX2GO_CONFIG='https://github.com/LinuxHaus/live-build-x2go::feature/openbox'
or
export LBX2GO_CONFIG='https://github.com/LinuxHaus/live-build-x2go::feature/openbox-magic-pixel-wo...'
for your build, that should fix it. I will poke Juri to add these changes to the official X2Go repo once I've properly tested them.
I was able to mount the thinclient's /media directory using /drive:media,/media with xfreerdp in direct RDP mode after adding these additional packages to the image. \\TSCLIENT\media showed the content of the TC's local /media folder (as this is where the automounter mounts all removable media, you should be good to go by forwarding just that path).
Kind Regards, Stefan Baur
-- BAUR-ITCS UG (haftungsbeschränkt) Geschäftsführer: Stefan Baur Eichenäckerweg 10, 89081 Ulm | Registergericht Ulm, HRB 724364 Fon/Fax 0731 40 34 66-36/-35 | USt-IdNr.: DE268653243