Came here after using nomachine (remote desktop client) to run on a headless ubuntu server with gnome on x11.
nomachine starts its own display manager. I can connect and use gnome remotely, all gui apps work fine, I can take screenshots, or view them in shotwell. Firefox and Chrome refuse to launch with the same error message:
`...session-c4.scope is not a snap cgroup`
```
export DBUS_SESSION_BUS_ADDRESS="unix:path=$XDG_RUNTIME_DIR/bus"
```
fixes it. I can now launch Firefox/Chrome from that terminal.
Came here after using nomachine (remote desktop client) to run on a headless ubuntu server with gnome on x11.
nomachine starts its own display manager. I can connect and use gnome remotely, all gui apps work fine, I can take screenshots, or view them in shotwell. Firefox and Chrome refuse to launch with the same error message:
`...session- c4.scope is not a snap cgroup`
``` BUS_ADDRESS= "unix:path= $XDG_RUNTIME_ DIR/bus"
export DBUS_SESSION_
```
fixes it. I can now launch Firefox/Chrome from that terminal.