NixOS / nixpkgs

Nix Packages collection & NixOS
MIT License
17.31k stars 13.54k forks source link

Nautilus returns Operation not supported when connecting (s)ftp with gvfs.enable = true #60449

Closed diamondburned closed 5 years ago

diamondburned commented 5 years ago

Issue description

Nautilus would return an Operation not supported, even with services.gnome3.gvfs.enable = true; in the config.

Edit: unsure if related or not, but MTP does not work either.

Steps to reproduce

  1. Add gnome3.nautilus to environment.systemPackages`
  2. Add services.gnome3.gvfs.enable = true;
  3. Run nautilus
  4. If one tries to connect to a (s)ftp bookmarks, the above image is returned 4.5. If one tries to connect via the Connect to server field in Other Locations, the Connect button is greyed

Technical details

 - system: `"x86_64-linux"`
 - host os: `Linux 4.19.34, NixOS, 19.03.172361.cf3e277dd0b (Koi)`
 - multi-user?: `yes`
 - sandbox: `yes`
 - version: `nix-env (Nix) 2.2.2`
 - channels(diamond): `"nixpkgs-19.09pre177248.ed1b59a98e7"`
 - channels(root): `"nixos-19.03.172361.cf3e277dd0b, nixpkgs-19.09pre177248.ed1b59a98e7"`
 - nixpkgs: `/nix/var/nix/profiles/per-user/root/channels/nixos`

A copy of my configuration.nix can be found here: https://gitlab.com/diamondburned/dotfiles/blob/master/Scripts/nix/configuration.nix

jtojnar commented 5 years ago

Can this be duplicate of https://github.com/NixOS/nixpkgs/issues/50254

Does the fix in the collapsed section of https://github.com/NixOS/nixpkgs/issues/50254#issuecomment-472432604 work for you?

Perhaps https://github.com/NixOS/nixpkgs/pull/57603 needs to be backported.

diamondburned commented 5 years ago

Fixx at https://github.com/NixOS/nixpkgs/issues/50254#issuecomment-472432604 sadly didn't fix it for me.

(same error)

I've also tried running systemctl --user stop gvfs-daemon and systemctl --user start gvfs-daemon, though that didn't work either (worth noting that I have not rebooted yet)

worldofpeace commented 5 years ago

I believe the fix was ported to stable. Is this still an issue?

jtojnar commented 5 years ago

Closing with no feedback.