Open tomarch opened 3 years ago
I think the best solution that has been developed, was to have thunar automount removable media. Drives inserted before thunar starts could be mounted vi .xinitrc. TS6.2 automount exits if it detects udisks, I think 5.5 would still try and do stuff.
I added some new code to do everything I described. make sure you have the following in build.conf package udisks comment out package automount in thinstation.conf.buildtime UDISKS_AUTOMOUNT=true
Should mount everything at /media
Try BASE_MOUNT_PATH=/media USB_MOUNT_DIR="."
Hello, running in to the same issue as OP. Configured as mentioned here. in build.conf automount is commented, and udisks uncommented. the 3 config directives are placed in thinstation.conf.buildtime.
I can see with udiskctl that it is recognizing the USB drive, however nothing gets mounted. Any ideas how to further troubleshoot?
Are you including the filesystem support module that you need?
The required filesystem modules are installed. The 'desktop' version of automount works fine from within xfce4. But same as OP I need this functionality for a RDP session without local desktop.
to extend on above, I have a single image (same build.conf and thinstation.conf.buildtime) with different 'runtime' configs coming from the PXE server.
I'm trying to do the same thing today and encountering the same problem. That is:
pxe booting TS6.2
no local desktop, just single FreeRDP session to remote Windows 10 RDP server
want to allow local USB drive to be automatically provided to RDP server
this could either be by redirecting the USB device to the remote Windows host and let it mount the filesystem, or by mounting the filesystem on the TC host and SMB share it to the WIndows host
I have not been able to get the former to work using the FreeRDP /usb: id:xxxx:xxxx method, Windows doesn't see the device
I have been able to get the latter to work if I manually mount the USB device directly under /mnt, e.g. mkdir /mnt/sdb2 && mount /dev/sdb2 /mnt/sdb2 and then the remote Windows sees the SMB share created by FreeRDP /drives
If I enable the automount package, by default the USB device gets mounted under /mnt/usbdevice/sdb2, but this does not work with FreeBSD /drives
I've tried setting USB_MOUNT_DIR="/mnt/" in the boottime thinstation.conf but that hasn't worked, the device still gets automounted under /mnt/usbdevice/
So, my problem seems to be due to the fact that:
and
After much trial and error I found the easiest solution to be something like this:
xfreerdp /drive:USB,/mnt/usbdevice
and then the usb devices that are automounted under /mnt/usbdevice/ are seen in Windows as \\TSCLIENT\USB.
By default on a freedrp build, the smart-card reader is consumed by pcscd. You can share the smart card reader with correct FreeRDP options, or you can edit /build/packages/freerdp/dependencies and remove pcscd and ccidreader, then share the newly unallocated usb device.
Hi,
I can't get drive redirection working with TS6.2 (got it working with TS5.5 and udisk-glue). I've try many thing (automount, autofs, with and without udisk) and use the new freerdp syntax (/drive:hotplug,*).
Freerdp look at /media for mounting point. I can see the drive/mount if i manualy create a mounpoint (ex /media/test) and mount a device but i can't write to it (permission error). I've try to modify the /etc/udev/script/scsi.sh (strip one slash at line 167) with the use of BASE_MOUNT_PATH=/media and USB_MOUNT_DIR="". Drive redirection works but still permission error.
Is it possible to configure freerdp to look at /mnt/usbdevice ? Is this functionality works with TS6.2 ? Or i missing something ?