Nautilus cannot mount password protected network file shares made through GNOME Control Center
Related:
Affected version
45.0
46.alpha.0-497ed46f (GNOME Nightly Flatpak)
Seemingly everything else
Steps to reproduce
- In GNOME Settings, navigate to "Sharing".
- Enable file sharing and set a password
- In Nautilus, on either the guest or host computer, attempt to mount the share
Current behavior
You get errors. Even if you use the username "guest", or use the host's username, or leave it blank and only enter a password, you get the same error. If you enter the password on the first screen, or leave it blank and enter a password on the next password prompt, same outcome. If you forget the password, or remember it, same error. The only way to mount a GNOME network file share using it's built-in DAV share feature is to not password protect it, making it less than ideal when it would otherwise be very convenient.
Expected behavior
I expect to enter the username and password, and then have a functional mount.
Additional information
I've been using GNOME on Fedora since Fedora 36, and this issue has always been present. It was also present on ZorinOS when I used it years ago, and I think even on other distros in the past. I don't think I remember this feature having ever worked. Furthermore, I get the same errors regardless of whether I enter the right or wrong password. Interestingly, if I enter anything other than guest
as the username, I get stuck in a loop of this prompt showing up, until I press cancel, followed by another error:
Interestingly, there is a link in the sharing screen pointing to a location of dav://fedora
for me. If I click it, I get this:
If I type this url into Nautilus, I get this:
Screenshots
Logs
Journalctl
Oct 10 14:39:34 fedora xdg-desktop-por[3206]: Failed to measure available space: HTTP Error: Unauthorized
Oct 10 14:39:34 fedora nautilus[15066]: Failed to measure available space: HTTP Error: Unauthorized
Oct 10 14:39:36 fedora nautilus[15066]: Failed to measure available space: HTTP Error: Unauthorized
Oct 10 14:39:47 fedora gnome-shell[2355]: meta_window_set_stack_position_no_sync: assertion 'window->stack_position >= 0' failed
Oct 10 14:39:49 fedora tracker-miner-f[3661]: g_str_has_suffix: assertion 'str != NULL' failed
Oct 10 14:39:49 fedora tracker-miner-f[3661]: g_str_has_prefix: assertion 'str != NULL' failed
Oct 10 14:39:49 fedora tracker-miner-f[3661]: g_str_has_prefix: assertion 'str != NULL' failed
Oct 10 14:39:49 fedora tracker-miner-f[3661]: g_str_has_prefix: assertion 'str != NULL' failed
Oct 10 14:39:56 fedora xdg-desktop-por[3206]: Failed to measure available space: HTTP Error: Unauthorized
Oct 10 14:39:56 fedora nautilus[15066]: Failed to measure available space: HTTP Error: Unauthorized
Oct 10 14:39:58 fedora gnome-shell[2355]: meta_window_set_stack_position_no_sync: assertion 'window->stack_position >= 0' failed
Oct 10 14:40:40 fedora gnome-shell[2355]: g_closure_unref: assertion 'closure->ref_count > 0' failed
Oct 10 14:40:40 fedora gnome-shell[2355]: g_closure_unref: assertion 'closure->ref_count > 0' failed
Oct 10 14:40:41 fedora systemd[2031]: Started dbus-:1.3-org.gnome.Nautilus@8.service.
Oct 10 14:40:41 fedora nautilus[15807]: Connecting to org.freedesktop.Tracker3.Miner.Files
Oct 10 14:40:42 fedora gnome-shell[2355]: meta_window_set_stack_position_no_sync: assertion 'window->stack_position >= 0' failed
Oct 10 14:40:42 fedora systemd[2031]: Started dbus-:1.3-org.gnome.NautilusPreviewer@8.service.
Oct 10 14:40:42 fedora audit: BPF prog-id=109 op=LOAD
Oct 10 14:40:42 fedora audit: BPF prog-id=110 op=LOAD
Oct 10 14:40:42 fedora audit: BPF prog-id=111 op=LOAD
Oct 10 14:40:42 fedora systemd[1]: Starting systemd-hostnamed.service - Hostname Service...
Oct 10 14:40:42 fedora audit[1]: SERVICE_START pid=1 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:init_t:s0 msg='unit=systemd-hostnamed comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
Oct 10 14:40:42 fedora systemd[1]: Started systemd-hostnamed.service - Hostname Service.
Oct 10 14:40:48 fedora nautilus[15807]: Failed to measure available space: HTTP Error: Unauthorized
Oct 10 14:40:51 fedora systemd[2031]: app-flatpak-org.gnome.NautilusDevel-15032.scope: Consumed 2.083s CPU time.
Oct 10 14:40:53 fedora gnome-shell[2355]: meta_window_set_stack_position_no_sync: assertion 'window->stack_position >= 0' failed
Oct 10 14:40:58 fedora gnome-shell[2355]: meta_window_set_stack_position_no_sync: assertion 'window->stack_position >= 0' failed
Oct 10 14:40:59 fedora nautilus[15807]: g_file_info_get_content_type: assertion 'G_IS_FILE_INFO (info)' failed
Oct 10 14:40:59 fedora nautilus[15807]: g_object_unref: assertion 'G_IS_OBJECT (object)' failed
Oct 10 14:41:02 fedora PackageKit[15382]: daemon quit
Oct 10 14:41:02 fedora systemd[1]: packagekit.service: Deactivated successfully.
Oct 10 14:41:02 fedora audit[1]: SERVICE_STOP pid=1 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:init_t:s0 msg='unit=packagekit comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
Oct 10 14:41:10 fedora systemd[2031]: Started dbus-:1.3-org.gnome.NautilusDevel@1.service.
Oct 10 14:41:10 fedora systemd[2031]: Started app-flatpak-org.gnome.NautilusDevel-15925.scope.
Oct 10 14:41:10 fedora nautilus[15945]: Connecting to org.freedesktop.Tracker3.Miner.Files
Oct 10 14:41:10 fedora nautilus[15945]: Unable to get contents of the bookmarks file: Error opening file /home/gamer/.gtk-bookmarks: No such file or directory
Oct 10 14:41:10 fedora systemd[2031]: Started dbus-:1.3-org.gnome.NautilusPreviewer@9.service.
Oct 10 14:41:10 fedora gnome-shell[2355]: invalid (NULL) pointer instance
Oct 10 14:41:10 fedora gnome-shell[2355]: g_signal_handler_disconnect: assertion 'G_TYPE_CHECK_INSTANCE (instance)' failed
Oct 10 14:41:12 fedora systemd[1]: systemd-hostnamed.service: Deactivated successfully.
Oct 10 14:41:12 fedora audit[1]: SERVICE_STOP pid=1 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:init_t:s0 msg='unit=systemd-hostnamed comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
Oct 10 14:41:12 fedora audit: BPF prog-id=111 op=UNLOAD
Oct 10 14:41:12 fedora audit: BPF prog-id=110 op=UNLOAD
Oct 10 14:41:12 fedora audit: BPF prog-id=109 op=UNLOAD
Oct 10 14:41:14 fedora gnome-shell[2355]: meta_window_set_stack_position_no_sync: assertion 'window->stack_position >= 0' failed
Oct 10 14:41:15 fedora nautilus[15807]: g_file_info_get_content_type: assertion 'G_IS_FILE_INFO (info)' failed
Oct 10 14:41:15 fedora nautilus[15807]: g_object_unref: assertion 'G_IS_OBJECT (object)' failed
Oct 10 14:41:19 fedora gnome-user-share-webdav[16028]: AH00558: httpd: Could not reliably determine the server's fully qualified domain name, using fe80::b5b3:870a:4dc1:51f2%enp6s0. Set the 'ServerName' directive globally to suppress this message
Oct 10 14:41:22 fedora gnome-shell[2355]: meta_window_set_stack_position_no_sync: assertion 'window->stack_position >= 0' failed
Oct 10 14:41:25 fedora gnome-shell[2355]: meta_window_set_stack_position_no_sync: assertion 'window->stack_position >= 0' failed
Oct 10 14:41:39 fedora systemd[2031]: Started app-gnome-kgx-16055.scope - Application launched by gsd-media-keys.
Oct 10 14:41:39 fedora systemd[2031]: Started vte-spawn-b43d165b-7c54-498b-b113-01d3a37ec172.scope - VTE child process 16065 launched by kgx process 16055.
Oct 10 14:41:41 fedora systemd[2031]: Starting tracker-extract-3.service - Tracker metadata extractor...
Oct 10 14:41:41 fedora systemd[2031]: Started tracker-extract-3.service - Tracker metadata extractor.****
Nautilus (system and nightly Flatpak):
** Message: 14:47:02.203: Connecting to org.freedesktop.Tracker3.Miner.Files
** (org.gnome.Nautilus:16334): WARNING **: 14:47:10.369: Failed to measure available space: HTTP Error: Unauthorized
Also had a popup saying "don't have permission..."
DNF package match:
user@fedora:~$ dnf list --installed | grep dav
libdav1d.x86_64 1.2.1-2.fc39 @anaconda
spice-webdavd.x86_64 3.0-6.fc39 @anaconda
gamer@fedora:~$ dnf list --installed | grep gnome-user-share
gnome-user-share.x86_64 43.0-3.fc39 @anaconda
System Details Report
Report details
- Date generated: 2023-10-10 14:36:01
Hardware Information:
- Memory: 64.0 GiB
- Processor: AMD Ryzen™ 7 5800X3D × 16
Software Information:
- Firmware Version: 4802
- OS Name: Fedora Linux 39 (Workstation Edition)
- OS Type: 64-bit
- GNOME Version: 45.0
- Windowing System: Wayland
- Kernel Version: Linux 6.5.6-300.fc39.x86_64
(also tested on Intel i3 w/ 16 GB RAM, HP laptop on same local network, same result)