Nautilus crashes on trying to browse my phone with KDE Connect

I’m new to KDE Connect, and I’m highly impressed by its range of functions and its cross-platform capabilities.

I’ve managed to get everything working so far, apart from one problem. When I try to browse my phone’s file system from my desktop, it either tells me that it doesn’t have permission or it just crashes.

Desktop:

  • Linux Ubuntu 24.04 using GNOME 46 on X11
  • Using KDE Connect via GSConnect (GNOME extension) version 67
  • File browser is GNOME Nautilus version 46.4

Phone:

  • Pixel 10 Pro, Android version 16
  • KDE Connect version 1.34.1 installed from the Google Play Store
  • I have granted KDE Connect permission to manage all files.

Process:

  1. On my desktop, I mount my phone using the GSConnect “Mount” command in the settings.
  2. I open Nautilus and attempt to open the mounted phone.

I get one of two responses:

  1. Either an error message: This location could not be displayed. You do not have permissions necessary to view the contents of “/ on 192.168.55.115”. (The IP address is that of my phone on the LAN.)
  2. Or Nautilus crashes. When running Nautilus from a terminal, it produces the following error message.
nautilus-bookmarks:ERROR:../src/nautilus-bookmark.c:340:nautilus_bookmark_connect_file: assertion failed: (!nautilus_file_is_gone (bookmark->file))
Bail out! nautilus-bookmarks:ERROR:../src/nautilus-bookmark.c:340:nautilus_bookmark_connect_file: assertion failed: (!nautilus_file_is_gone (bookmark->file))
Aborted (core dumped)

Unfortunately, I have absolutely no clue how to go about fixing this. I would appreciate any advice, thank you!

Hi,

This usually means the volume is not exported at the root (/) and needs e.g. /storage/emulated/0 appended to the IP/port in the location bar. Gvfs doesn’t consider separate folders to be separate volumes, so it tries to mount the root.

If you’re experiencing an outright crash with Nautilus, you should report that upstream with a the backtrace (Making sure you're not a bot!). An application (like GSConnect) shouldn’t be able to crash another application.

Thank you. Unfortunately, neither the mount command in GSConnect nor the settings on my phone provide any way to specify the folder — at least that I can find. Would you know how to achieve this?

I’ll do that. How do I produce a backtrace? Or is that what I already posted?

You can change the path manually in Nautilus, but there would be changes required in GSConnect for that to be automatic.

This error indicates you should have a coredump available via coredumpctl, although the Nautilus maintainers might require you to install debug symbols to get a readable backtrace with function names and so on.

Aborted (core dumped)

There are some instructions here for Ubuntu: Backtrace - Ubuntu Wiki

1 Like

Thank you, Andy. I don’t have time today, but I’ll look into this probably over the weekend if not sooner.

I’ve decided that I use KDE Connect too rarely to justify having it running continuously on my desktop and phone, so I’ve uninstalled it instead.

Thank you for your help and advice.

1 Like