# I have this problem on a fresh install: Xubuntu 22.04 Firefox 113.0.2 (snap)
# When I try to launch Firefox from the command line with a profile that is already running, I get an error reported to mu GUI: "Firefox is already running, but is not responding. To use Firefox, you must first close the existing Firefox process, restart your device, or use a different profile." # From the terminal I get the following error: ._. firefox -P default "https://forums.mozillazine.org/viewtopic.php?f=38&t=3097766" ATTENTION: default value of option mesa_glthread overridden by environment. ATTENTION: default value of option mesa_glthread overridden by environment. ATTENTION: default value of option mesa_glthread overridden by environment. ATTENTION: default value of option mesa_glthread overridden by environment. # My $DBUS_SESSION_BUS_ADDRESS reports thus from the terminal: ._. echo $DBUS_SESSION_BUS_ADDRESS unix:path=/run/user/1000/bus # also, note: ._. echo $XDG_RUNTIME_DIR /run/user/1000 # systemd seems to think $DBUS_SESSION_BUS_ADDRESS is not set, so systemd --user gets an error: ._. sudo systemd --user Trying to run as user instance, but $XDG_RUNTIME_DIR is not set. # syslog seems to report no problems ._. tail -f /var/log/syslog May 31 12:57:09 xistem systemd[1754]: Started snap.firefox.firefox.627300a7-5b6b-4e94-a847-a9498bf434a4.scope. May 31 12:57:09 xistem kernel: [83141.605303] audit: type=1326 audit(1685534229.654:941): auid=4294967295 uid=1000 gid=1000 ses=4294967295 subj=snap.firefox.firefox pid=107385 comm="firefox" exe="/snap/firefox/2710/usr/lib/firefox/firefox" sig=0 arch=c000003e syscall=314 compat=0 ip=0x7f60398ff73d code=0x50000 May 31 12:57:20 xistem kernel: [83152.479468] audit: type=1326 audit(1685534240.526:942): auid=4294967295 uid=1000 gid=1000 ses=4294967295 subj=snap.firefox.firefox pid=107385 comm="firefox" exe="/snap/firefox/2710/usr/lib/firefox/firefox" sig=0 arch=c000003e syscall=314 compat=0 ip=0x7efc3d54073d code=0x50000 May 31 12:57:24 xistem systemd[1754]: snap.firefox.firefox.627300a7-5b6b-4e94-a847-a9498bf434a4.scope: Consumed 2.872s CPU time. # I have attached reports generated from: SNAPD_DEBUG=1 snap run firefox --profile-manager # it does appear to have user value 1000 set I would be grateful for any pointers. ** Attachment added: "output of: SNAPD_DEBUG=1 snap run firefox --profile-manager" https://bugs.launchpad.net/ubuntu/+source/snapd/+bug/1951491/+attachment/5676991/+files/snap_debug -- 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 : [email protected] Unsubscribe : https://launchpad.net/~touch-packages More help : https://help.launchpad.net/ListHelp

