Am 18.01.19 um 11:57 schrieb Stroganov Roman:
ls -la /usr/lib/x2go/tce/x2gousbmount -rwxr-xr-x 1 root root 12886 Янв 16 19:17 /usr/lib/x2go/tce/x2gousbmount
md5sum /usr/lib/x2go/tce/x2gousbmount a6959f1f1de425ea26d8076d21b84b3e /usr/lib/x2go/tce/x2gousbmount
Hmm, that's not the x2gousbmount version you should be using. Maybe something went wrong during your build and the patch didn't get applied.
On the thinclient, do: sudo wget -O /usr/lib/x2go/tce/x2gousbmount 'https://code.x2go.org/gitweb?p=x2gothinclient.git;a=blob_plain;f=usbmount/x2...' #this all goes on one line
followed by
sudo chmod 755 /usr/lib/x2go/tce/x2gousbmount
Then remove the flash disk, wait a few seconds, insert it again.
Follow up with another call of
grep usbmount /var/log/syslog
If it shows up as mounted now, go back to your build directory, run
mkdir -p ./patch/includes.chroot/usr/lib/x2go/tce/ ; wget -O ./patch/includes.chroot/usr/lib/x2go/tce/x2gousbmount 'https://code.x2go.org/gitweb?p=x2gothinclient.git;a=blob_plain;f=usbmount/x2...' ; chmod 755 ./patch/includes.chroot/usr/lib/x2go/tce/x2gousbmount #this all goes on one line
and start a new build. Once done, boot the image, log in, and run
md5sum /usr/lib/x2go/tce/x2gousbmount
again. It should now show a checksum of 4ce1acefdfa39bef3755d55a6a22b673 and the mount should work automatically.
Else, if it still comes up empty, try the following on the thinclient (assuming it is the same flash disk you used for your previous experiments) - but be sure to run it as root (if you're not logged in remotely, run "sudo -i" for a root shell after logging in as user):
DEVNAME=/dev/sda1 ID_MODEL=MODEL ID_VENDOR=VENDOR ACTION=add /usr/lib/x2go/tce/x2gousbmount #this all goes on one line
This might spit out a (non-fatal) error message related to NTFS, if the drive is FAT formatted. Please post the complete output, as well as the output of
mount | grep sda1
fdisk -l -bash fdisk: Command not found
You are not running this as root. Please repeat as root, with the flash disk connected (try "sudo fdisk -l").
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