Another affected user. Here using VNC through Apache Guacamole with XFCE4 as a desktop manager. Similar errors to others:
$ firefox
2023/03/30 14:56:04.261227 cmd_run.go:1055: WARNING: cannot start document portal: Can't mount path /home/student/.cache/doc
/user.slice/user-1000.slice/session-1.scope is not a snap cgroup
Another affected user. Here using VNC through Apache Guacamole with XFCE4 as a desktop manager. Similar errors to others:
$ firefox .cache/ doc user-1000. slice/session- 1.scope is not a snap cgroup
2023/03/30 14:56:04.261227 cmd_run.go:1055: WARNING: cannot start document portal: Can't mount path /home/student/
/user.slice/
The DBUS_SESSION_ ADDRESS is set:
DBUS_SESSION_ BUS_ADDRESS= unix:abstract= /tmp/dbus- XNw4LGQaye, guid=488bab5d48 a052fe381e2fa76 425a2f9
..but the path it refers to doesn't exist.
If I try to check the systemd --user status I get:
$ systemd --user
Trying to run as user instance, but $XDG_RUNTIME_DIR is not set.
..so the fixes involving manually changing the DBUS address won't work.
All other graphical apps work, it's just the confined snap apps which don't.