I too have a very similar error. Only when I attempt to launch firefox
remotely by SSH I get this:

/system.slice/ssh.service is not a snap cgroup

And this when I attempt launch firefox directly on my target computer:

WARNING: cannot start document portal: Expected portal at "/run/user/1000/doc", 
got "/home/stephen/.cache/doc"
/system.slice/sddm.service is not a snap cgroup

So I edited the three files as recommended by Michael Woods (woodsy) in
c44. The result is the target computer boots a dark, blank, monitor
screen. Fortunately the OS was nevertheless accessible by SSH, and so I
was able to restore the three files, and after doing so, I rebooted and
got the expected screen displays.

I am not sure I edited those three files correctly, so I attached those
edited files to this posting for your review. I also included in the
attachment the output from the command:

SNAPD_DEBUG=1 snap run firefox

I would deeply appreciate any help with this. It is a new computer, and
a new Ubuntu installation of mine.

** Attachment added: "Jira 1951491 Attachment 2022-07-13.zip"
   
https://bugs.launchpad.net/ubuntu/+source/snapd/+bug/1951491/+attachment/5603023/+files/Jira%201951491%20Attachment%202022-07-13.zip

-- 
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:
  Confirmed
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     : touch-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~touch-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to