6

I connected my Lumia 640 mobile to Ubuntu and when I tried to open it shows this error:

enter image description here

James Henstridge
  • 40,476
  • 13
  • 109
  • 92
Karthik Bodapati
  • 61
  • 1
  • 1
  • 3
  • It looks like you, either it's not correctly mounted or you need to correct the access rights for FS "Lumia...". – Cbhihe Mar 01 '16 at 08:22
  • 1
    Possible duplicate of [How to automatically eject drivers disk when mounting Android phone?](http://askubuntu.com/questions/658033/how-to-automatically-eject-drivers-disk-when-mounting-android-phone) – Pilot6 Mar 01 '16 at 12:27
  • Sry I linked a wrong question. Here is the correct one. http://askubuntu.com/questions/668164/how-create-a-udev-rules-to-disable-one-of-android-devices – Pilot6 Mar 01 '16 at 12:29

2 Answers2

10

Install gMTP (simple file transfer program for MTP based devices). In the terminal (to open a terminal window, press Ctrl + Alt + T; to close it, press Ctrl + D), type:

sudo apt install gmtp

It's not perfect, but better than nothing.

Tip: When you're successfully connected, enable "Folder view" in the menu.

Pablo Bianchi
  • 14,308
  • 4
  • 74
  • 117
namelesske
  • 101
  • 3
  • If `go-mtpfs` return `OpenSession failed: LIBUSB_ERROR_IO; attempting reset` or `mtp-detect`, `libusb_get_active_config_descriptor(1) failed: No data available`; check if something like `usbguard` is blocking your device. If the folder appears empty, check the message to allow access on your phone :) – Pablo Bianchi Jan 09 '23 at 18:08
2

The Solution is the same as the one above from @namelesseke but with Ubunut 18.10 and nautilus 3.26.4 the error message is different, i.e. the error says something like

Unhandled error message: The name 1.994 was not provided by any service files

After installing gmtp with

$ sudo apt-get install gmtp 

everything worked like charm.

user157697
  • 427
  • 2
  • 7
  • 13
  • This solved the issue for me within Files(nautilus) with ubuntu 20.04. e.g. my phone is a HuaweiP9. After upgrate to ubuntu 20.04, usb connect phone, "EVA L09" appears in Files(nautilus) then "Allow access to files mtp" then error mtp "unhandled error message: The name 1.1630 was not provided by any .service files". Problem. After install of gmtp then mtp connection showed up ok in Files(nautilus). – gaoithe May 02 '21 at 11:15