6

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

enter image description here

Karthik Bodapati
  • 61
  • 1
  • 1
  • 3

2 Answers2

11

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
  • 15,657
  • 1
    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
  • Not working .. it also sys error "Unable to Connect Raw device" – H Nazmul Hassan Sep 08 '23 at 09:32
3

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
  • 437
  • 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