May importante. I use Wireguard and have a mounted sft there. Since my update 
to 21.10 it do not work anymore. 
Goal here is to have imediately after login a mounted drive.
I never found a recommended way how to automount a network drive in Ubuntu. 

$HOME/.local/share/systemd/user/
contain a .mount and .automout file with folowing content.

.mount
___________
[Unit]
Description=Speicher einbinden

[Install]
WantedBy=multi-user.target

[Mount]
What=USER@SERVER-IP:/
Where=/media/USER/Mountpoint
Type=fuse.sshfs
Options=_netdev,allow_other,IdentityFile=/home/USER/.ssh/SSH-FILE,reconnect,ServerAliveInterval=15,ServerAliveCountMax=10,uid=1000,gid=1000
TimeoutSec=60


.automount
___________
[Unit]
Description=Auto Speicher einbinden

[Install]
WantedBy=multi-user.target


[Automount]
Where=/media/USER/sieben

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1960898

Title:
  Wayland sessions crash with Gjs:ERROR:../gi/interface.cpp:101:bool
  InterfacePrototype::has_instance_impl(JSContext*, const
  JS::CallArgs&): assertion failed: (args[0].isObject()) from ubuntu-
  d...@ubuntu.com/locations.js:1108

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/gnome-shell-extension-ubuntu-dock/+bug/1960898/+subscriptions


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to