72

When I try to mount my Xiaomi Redmi Note 9 Pro on my Ubuntu 20.04 via USB, I get "Unhandled error message: The name :1.1001 was not provided by any .service files" from Nautilus. It fails to mount. I have a Lenovo Y510p.

Tried every USB port.

chila
  • 855

4 Answers4

137

Similar issue I have managed to solve with 'nautilus -q' typed in terminal. Worth a try. Don't need to restart the computer.

Pablo Bianchi
  • 17,552
emvidi
  • 2,796
12

In addition to nautilus -q, I also had to run this to work:

sudo killall gvfsd
nautilus -q

No need to reboot anything. Just plug again and open Nautilus.

Majal
  • 8,249
3

I have the same problem on my Redmi 5 Plus. I am on Ubuntu 20.04.

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

I tried connecting my phone via USB on same port as usual, except it had just been used by a USB printer (EPSON ET-2756) on the same port without restarting the PC between the two connections. Tried on all other USB ports: same message.

I solved it like this:

  • Restart Redmi without connecting it to a computer.
  • Restart computer without any USB port connected especially devices such as printers or scanners.
  • Connect your Redmi via usual USB port, when prompted with Use USB to... select Transfer files.
  • Now open your Redmi phone's location on Ubuntu. No error message should appear

Proof of USB connection to Redmi phone after restart of Ubuntu 20.4

Zanna
  • 72,471
  • 3
    I confirm that restarting the computer works indeed. Is there a way to "reset" the USB port from command line without having to restart the computer? – Andyc Jul 24 '21 at 15:20
  • Happens on Mint too, only it successfully mounts but the error appears when trying to copy files. – t8ja Sep 23 '21 at 11:51
  • 4
    Also the nautilus -q. – chila Oct 18 '21 at 11:11
  • I use Nemo on Mint so it doesn't seem to be manager specific, and resetting lightdm sometimes solves it. It worked for a HTCphone but not for a Nikon cam. – t8ja Nov 11 '21 at 01:34
1

This resolved it in my case of a 2016 old Android device:

  1. If plugged, unplug the phone-to-laptop usb-cable.
  2. Close notifications that offer to open phone contents, just in case.
  3. Connect phone to laptop via usb-cable.
  4. Now important to do this in order: First, accept phone pop up to "allow access to phone data" (that's what it says on device), only then accept Ubuntu's notification to open phone's contents. That's it.