Anders Bruun Olsen | 12 Jun 11:57 2013
Picon

Re: Bug#228: Mount MTP on thinclients

Okay, fair enough. It seems that gvfs does indeed mount the MTP device under /run/user/USERNAME/gvfs (wasn't listed with just the mount command, but is in /proc/mounts). But I don't think getting gvfs to play nicely with the rest of the x2gothinclient setup is worth the trouble. It might also be problematic as there is no way for the user to tell gvfs to mount the MTP device. It needs to be automatic. I think go-mtpfs might be the solution, but I am unable to test it today, as I am away from my work machine, where I have the before mentioned VM setup.


2013/6/12 Nable 80 <nable.maininbox <at> googlemail.com>
Hi, Anders.
> MTP is handled by an updated gvfs and is accessible in Nautilus, but does not get mounted as a part of the filesystem in a way that is available outside Nautilus
Are you sure that it doesn't appear as part of VFS? Open MTP in
Nautilus and then do `cat /proc/mounts' in terminal (if you haven't
tried it yet), look for entries that seems to belong to gvfs. I don't
have any MTP devices but, for example, samba shares that are opened
via gvfs appear in VFS via (AFAIR) FUSE.

2013/6/12, Anders Bruun Olsen <abo <at> dsl.dk>:
> Hi Mike,
>
> I have setup a virtual machine running Ubuntu 12.04 to test out MTP and
> have found out that it is quite annoying to deal with. mtpfs does not work
> out-of-the-box. A Google-employee has made go-mtpfs, which supposedly works
> better, but I have yet to experiment with it. With normal mtpfs it seems
> that you need to setup udev rules for your specific device, meaning that it
> can't be used as a catch-all solution for MTP devices. I will try to
> experiment with go-mtpfs and see if it can work as a general solution
> without having to do specific udev rules for all devices.
>
> As a side-note, on my Ubuntu 13.04 desktop, MTP is handled by an updated
> gvfs and is accessible in Nautilus, but does not get mounted as a part of
> the filesystem in a way that is available outside Nautilus. Which is why I
> haven't actually played with mtpfs before, despite having an MTP device :)
>
>
>
> 2013/6/10 Mike Gabriel <mike.gabriel <at> das-netzwerkteam.de>
>
>> reassign #228 x2gousbmount
>> thanks
>>
>> Hi Anders,
>>
>>
>> On Mo 10 Jun 2013 11:38:29 CEST Anders Bruun Olsen wrote:
>>
>>  Package: x2gothinclientmanagement
>>> Severity: wishlist
>>>
>>> X2go thinclients currently mount usb-storage devices nicely. It would be
>>> nice if they could also handle MTP-devices (like newer Android-phones).
>>> The
>>> mechanics for connecting the x2goserver session to the actual device
>>> (sshfs) wouldn't need to be changed. It would be a case of adding mtpfs
>>> or
>>> something similar to the thinclient chroot and making sure it auto
>>> mounts.
>>>
>>
>> This basically has to be solved in the x2gousbmount package of the
>> src:x2gothinclient X2Go component.
>>
>> As I do not have such a device here for testing, I need help for that.
>>
>> A test rig would look like this:
>>
>>   o Install a minimal Debian/Ubuntu system
>>   o install the x2gothinclient package from our nightly builds
>> (+dependencies)
>>     (or build from source: x2gothinclient.git)
>>   o edit the files you find in [1] and add mtpfs to the test system till
>> it
>>     works
>>
>> Greets,
>> Mike
>>
>> [1] http://code.x2go.org/gitweb?p=**x2gothinclient.git;a=tree;f=**
>> x2gousbmount<http://code.x2go.org/gitweb?p=x2gothinclient.git;a=tree;f=x2gousbmount>
>>
>> --
>>
>> DAS-NETZWERKTEAM
>> mike gabriel, herweg 7, 24357 fleckeby
>> fon: +49 (1520) 1976 148
>>
>> GnuPG Key ID 0x25771B31
>> mail:
>> mike.gabriel <at> das-netzwerkteam.**de<mike.gabriel <at> das-netzwerkteam.de>,
>> http://das-netzwerkteam.de
>>
>> freeBusy:
>> https://mail.das-netzwerkteam.**de/freebusy/m.gabriel%40das-**
>> netzwerkteam.de.xfb<https://mail.das-netzwerkteam.de/freebusy/m.gabriel%40das-netzwerkteam.de.xfb>
>>
>
>
>
> --
> Anders Bruun Olsen
> It-ansvarlig
> Det Danske Sprog- og Litteraturselskab
> (Society for Danish Language and Literature)
>
_______________________________________________
X2Go-Dev mailing list
X2Go-Dev <at> lists.berlios.de
https://lists.berlios.de/mailman/listinfo/x2go-dev



--
Anders Bruun Olsen
It-ansvarlig
Det Danske Sprog- og Litteraturselskab
(Society for Danish Language and Literature)
_______________________________________________
X2Go-Dev mailing list
X2Go-Dev <at> lists.berlios.de
https://lists.berlios.de/mailman/listinfo/x2go-dev

Gmane