Re: [Touch-packages] [Bug 1951491] Re: Can't run snaps: .slice/session-1.scope is not a snap cgroup

2023-11-06 Thread Tim Richardson
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

Re: [Touch-packages] [Bug 1951491] Re: Can't run snaps: .slice/session-1.scope is not a snap cgroup

2023-11-04 Thread Tim Richardson
it is more that systemd is not setup properly rather than snaps, but snaps assume systemd cgroup is set up when other applications are not so fussy. systemd-oomd also relies on cgroups and I wonder if it is broken too. Anyway, the root cause of this is not snaps, but rather, snaps expose a bug

Re: [Touch-packages] [Bug 1951491] Re: Can't run snaps: .slice/session-1.scope is not a snap cgroup

2023-10-24 Thread Tim Richardson
Hi, if you connect with VNC, then you are starting the session with the VNC scripts, and this is actually an instance of the bug as I understand it, a non-standard login. If this is how you reproduce it, you are simply repeating what is common to the reports already here. There is something wrong

Re: [Touch-packages] [Bug 1951491] Re: Can't run snaps: .slice/session-1.scope is not a snap cgroup

2023-10-18 Thread Tim Richardson
If you find a way to reproduce it, for example installing into a VM in such a way that you can trigger it, then it would be helpful. The point is that there are millions of standard Ubuntu installs involving a few different kernel versions and the only reports of it are a couple here. If a

Re: [Touch-packages] [Bug 1951491] Re: Can't run snaps: .slice/session-1.scope is not a snap cgroup

2023-10-17 Thread Tim Richardson
I doubt the kernel but a standard desktop install should have given you the hwe kernel so something isn't right. There is no way you should get this problem running Firefox in a standard desktop install. The bug is mostly due to non standard logins and certainly a standard Ubuntu install delivers

Re: [Touch-packages] [Bug 1951491] Re: Can't run snaps: .slice/session-1.scope is not a snap cgroup

2023-10-16 Thread Tim Richardson
Janus, your kernel is old and does not match a desktop (HWE) kernel for 22.04.3, so I guess this is a server install of Ubuntu. How are you connecting to it? On Tue, 17 Oct 2023 at 13:21, Janus Kobain <1951...@bugs.launchpad.net> wrote: > In GNOME Terminal: > $ chromium >

Re: [Touch-packages] [Bug 1951491] Re: Can't run snaps: .slice/session-1.scope is not a snap cgroup

2022-11-06 Thread Tim Richardson
unconfinded snaps don't have thie problem (that is, --classic snaps), these bypass all the snap sandboxing and I guess this means they bypass the controls and restrictions of cgroups. If you want this fixed, you have to get x2go fixed. Report the bug there. On Sun, 6 Nov 2022 at 21:05, Luigi

Re: [Touch-packages] [Bug 1951491] Re: Can't run snaps: .slice/session-1.scope is not a snap cgroup

2022-10-22 Thread Tim Richardson
@Akkana. My suspicion from digging around is that the problem happens during login, not session start. Certain steps in the sessiond login process need to be invoked for the session bus to work correctly. You will see from other reports that this issue is with the dbus session bus not being set up

Re: [Touch-packages] [Bug 1951491] Re: Can't run snaps: .slice/session-1.scope is not a snap cgroup

2022-10-20 Thread Tim Richardson
@mtu and make sure that systemd is properly installed, how you check this I don't know. On Fri, 21 Oct 2022 at 08:13, Tim Richardson wrote: > hi @mtu, in that case no confined snaps will work for you, which you are > probably noticing. Something is wrong with your installation, I think. At a >

Re: [Touch-packages] [Bug 1951491] Re: Can't run snaps: .slice/session-1.scope is not a snap cgroup

2022-10-20 Thread Tim Richardson
hi @mtu, in that case no confined snaps will work for you, which you are probably noticing. Something is wrong with your installation, I think. At a wild guess, try installing gdm3 and making it default. Or reinstall. Speaking from my own experience, I have not seen this once in any upgrades or

Re: [Touch-packages] [Bug 1951491] Re: Can't run snaps: .slice/session-1.scope is not a snap cgroup

2022-10-19 Thread Tim Richardson
Akkana, what login manager are you using with openbox? On Thu, 20 Oct 2022 at 14:57, Tim Richardson wrote: > The problem was identified as the session not being established correctly > in some instances, and those instances were 100% involved in non-mainstream > session starts (nomachine or

Re: [Touch-packages] [Bug 1951491] Re: Can't run snaps: .slice/session-1.scope is not a snap cgroup

2022-10-19 Thread Tim Richardson
The problem was identified as the session not being established correctly in some instances, and those instances were 100% involved in non-mainstream session starts (nomachine or other remote session starts such as X2Go). The fixes apart from disabling cgroups v2 involve simulating one aspect of a

Re: [Touch-packages] [Bug 1951491] Re: Can't run snaps: .slice/session-1.scope is not a snap cgroup

2022-10-17 Thread Tim Richardson
This is not a snap problem. I don't think it is a problem with standard Linux desktops either. The problem seems to be entirely reported for remote desktop sessions,.somehow they have missed something modern systemd sets up at login. On Mon, 17 Oct 2022, 13:40 Daniel van Vugt,

Re: [Touch-packages] [Bug 1951491] Re: Can't run snaps: .slice/session-1.scope is not a snap cgroup

2022-08-05 Thread Tim Richardson
It is (much) better to use the more sophisticated workaround that does not disable cgroups v2. On Tue, 2 Aug 2022 at 07:32, mtu <1951...@bugs.launchpad.net> wrote: > > I see the same as Stephen in c46: snap-Firefox fails to start locally, > _sometimes_ – the error is not readily reproducable. > >