This happened to me on a fresh install of Xubuntu 22.04 when using X2Go. Local sessions don't have this problem. I can work around it by setting the environment variable (as specified in message 31) DBUS_SESSION_BUS_ADDRESS before running firefox.
I'd like to get this fixed as we use X2go extensively at my office, and we'll be stuck on Ubuntu 20.04 until this is fixed. It sounds like a new x2go (bug) integration issue starting with 22.04. Tim Richardson is probably right that X2go is not doing something the way systemd expects, and that therefore x2go is 'old'. Is there a 'new' remote access tool that is known to work? I rather like x2go and would love to port the 'new' solution to x2go if I knew what exactly needed to be done. I looked here for information about what the right way to do this, but it's not clear from that page where to go for the steps I need: https://www.freedesktop.org/software/systemd/man/systemd- logind.service.html I also looked in the the source for x2go: https://code.x2go.org/releases/source/ But I have yet to find the code responsible for this bug or any clue about what it should be changed to. I also find related bug reports dating back many years, but it's just clues, not a clear explanation of what's being done 'the old way' and what the new way should look like: https://bugs.x2go.org/cgi-bin/bugreport.cgi?bug=1046 I'm looking for a bug report for this bug on the x2go side, but I can't find one. Does anyone know if one is open, or should I open a fresh one? The closest related bug report I could find was this: https://bugs.x2go.org/cgi-bin/bugreport.cgi?bug=814 Once I have a proper bug report found/opened, if anyone with a slightly deeper knowledge of how to fix this could give me some clues of where to look or what to fix, that would be great. ** Bug watch added: bugs.x2go.org/ #1046 http://bugs.x2go.org/cgi-bin/bugreport.cgi?bug=1046 ** Bug watch added: bugs.x2go.org/ #814 http://bugs.x2go.org/cgi-bin/bugreport.cgi?bug=814 -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to systemd in Ubuntu. https://bugs.launchpad.net/bugs/1951491 Title: Can't run snaps: .slice/session-1.scope is not a snap cgroup Status in X2Go: New Status in snapd package in Ubuntu: Invalid Status in systemd package in Ubuntu: Incomplete Status in x2goserver package in Ubuntu: Confirmed Status in snapd package in Debian: New Bug description: I just upgraded from hirsute to impish using do-release-upgrade. On the upgraded system, I can't run either firefox or chromium (both of which worked fine under hirsute). Both fail with: /user.slice/user-NNN.slice/session-1.scope is not a snap cgroup where NNN is my uid With firefox, I was able to fix the problem with: snap remove --purge firefox apt purge firefox apt install firefox Now firefox works. But I tried the same thing substituting chromium- browser for firefox, and it didn't help: chromium fails with the same error message. I guess there must be something left over from the hirsute version of snapd that isn't getting noticed or cleared by the impish version? Someone suggested this might be related to bug 1850667, but that bug is marked fixed as of a couple months ago, and I just did this upgrade today. Also, it doesn't mention the error message I'm seeing. ProblemType: Bug DistroRelease: Ubuntu 21.10 Package: snapd 2.53+21.10ubuntu1 ProcVersionSignature: Ubuntu 5.13.0-21.21-generic 5.13.18 Uname: Linux 5.13.0-21-generic x86_64 ApportVersion: 2.20.11-0ubuntu71 Architecture: amd64 CasperMD5CheckResult: unknown Date: Thu Nov 18 18:12:45 2021 InstallationDate: Installed on 2020-04-29 (568 days ago) InstallationMedia: Ubuntu 20.04 LTS "Focal Fossa" - Release amd64 (20200423) SourcePackage: snapd UpgradeStatus: Upgraded to impish on 2021-11-18 (0 days ago) To manage notifications about this bug go to: https://bugs.launchpad.net/x2go/+bug/1951491/+subscriptions -- Mailing list: https://launchpad.net/~touch-packages Post to : [email protected] Unsubscribe : https://launchpad.net/~touch-packages More help : https://help.launchpad.net/ListHelp

