if by non graphical shell you mean a shell you arrive at via a local login, I would not expect the bug to be present. The bug, as I understand it, happens when the login process (not the UI) skips some step. I can't imagine you would encounter this in any "official" login, such as to a virtual terminal, or via ssh. Because I think the bug happens in the login process and not the session start process, I have to predict that using wayland vs xorg sessions would make no difference. \ It is interesting that xrdp works. I don't know how xrdp works as far as starting sessions goes. But it is actively maintained unlike x2go so it seems likely to me that it has "modern" log in methods so it may be fine.
I use nomachine workstation server and the most recent version release notes specifically mention changes to the login process with respect to PAM handling. The systemd experts who have looked at this bug, including correspondence I've had with them outside of this bug report, indicate that the problem with x2go and nomachine look like a missing PAM step in the login process. I will upgrade my server soon to check it out regards TIm On Tue, 7 Nov 2023 at 05:16, Richard Brooksby <1951...@bugs.launchpad.net> wrote: > Thank you for the clarifications, Tim. For what it's worth, my Ubuntu > 22 non-graphical shell *does* have DBUS_SESSION_BUS_ADDRESS to the same > value that appears in a Wayland session > ("unix:path=/run/user/1000/bus"). So the bug you mention being exposed > does not occur for me. > > It is also set correctly for an RDP (remote desktop) login to a headless > Ubuntu 22 machine with xrdp installed to provide the session. The > Firefox snap starts happily in that session. > > A local X session started with `startx` also produces a session in which > the Firefox snap will run. > > The only session that breaks Firefox for me is starting Wayland using > `XDG_SESSION_TYPE=wayland dbus-run-session gnome-session`. I have not > found any other way to get a Wayland session from the command line. > > It's possible this is all evidence of this bug being fixed in Ubuntu 22, > and all I have is a problem with starting Wayland correctly. > > -- > You received this bug notification because you are subscribed to the bug > report. > https://bugs.launchpad.net/bugs/1951491 > > Title: > Can't run snaps: .slice/session-1.scope is not a snap cgroup > > To manage notifications about this bug go to: > https://bugs.launchpad.net/x2go/+bug/1951491/+subscriptions > > -- Tim Richardson -- 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 Xpra Terminal Server: New Status in snapd package in Ubuntu: Confirmed Status in systemd package in Ubuntu: Incomplete Status in x2goserver package in Ubuntu: Confirmed Status in snapd package in Debian: New Status in snapd package in Fedora: 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 : touch-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~touch-packages More help : https://help.launchpad.net/ListHelp