Not super how much it helps, but I have the same exact issue on two
different systems (one using Kubuntu 22.10 -- with a mainline kernel of
6.0 and the other one using Kubuntu 23.04 [upgraded from 22.10]
development branch with a mainline kernel of 6.2.7).

This specifically happens when krunner is used to launch an application,
and it happens randomly (even in the same session; but I noticed that it
is less likely to happen when the first session started and more likely
to happen after you start a few apps).

Here is what I get when I run krunner and choose slack to launch.

❯ krunner --replace
/user.slice/user-1000.slice/[email protected]/app.slice/app-slack_slack-7092918b60f045318ad5898c1cd14a71.scope
 is not a snap cgroup

First attempt fails with this, but then I try it again and it works (2nd
attempt). I quite and try to launch it again, but this time first two
attempts fail and the third one succeeds and launches slack again.

/user.slice/user-1000.slice/[email protected]/app.slice/app-slack_slack-e699191c66c043c49b21af01db44a21f.scope
 is not a snap cgroup
/user.slice/user-1000.slice/[email protected]/app.slice/app-slack_slack-a38502fd65ca425ebdf9b3cbac2d154c.scope
 is not a snap cgroup

❯ echo $DBUS_SESSION_BUS_ADDRESS
unix:path=/run/user/1000/bus

Everything I have is stock Kubuntu 23.04 (I'm updating it each day)
except the mainline kernel (which is needed for the graphics driver).

System: AMD Ryzen 9 7950X as both the CPU and iGPU.

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to gnome-shell in Ubuntu.
https://bugs.launchpad.net/bugs/2011806

Title:
  [lunar] Snaps don't launch due to cgroup issue

Status in gnome-shell package in Ubuntu:
  In Progress

Bug description:
  Hi,

  Lunar up to date, Intel+Nvidia GPUs, Ubuntu Wayland or X11 session,
  hybrid or discrete graphics.

  If I click on a snap dash icon, nothing happens.
  Tested with Thunderbird, Firefox, Shortwave...
  (VS Code seems ok, maybe due to classic confinment?)

  I can launch without issue Chrome (deb), Synaptic, GNOME apps, etc.

  Recent updates included gnome-shell and libadwaita.

  ---

  I get this type of log for all problematic snaps:

  /user.slice/user-1000.slice/[email protected]/app.slice/app-gnome-
  shortwave_shortwave-11885.scope is not a snap cgroup

  ---

  Context:

  $ snap --version
  snap    2.58.3+23.04ubuntu1
  snapd   2.58.3+23.04ubuntu1
  series  16
  ubuntu  23.04
  kernel  6.1.0-16-generic

  $ snap list
  Nom                                   Version                     Révision  
Suivi             Éditeur       Notes
  bare                                  1.0                         5         
latest/stable     canonical✓    base
  code                                  ee2b180d                    122       
latest/stable     vscode✓       classic
  core                                  16-2.58.2                   14784     
latest/stable     canonical✓    core
  core18                                20230308                    2714      
latest/stable     canonical✓    base
  core20                                20230207                    1828      
latest/stable     canonical✓    base
  core22                                20230210                    522       
latest/stable     canonical✓    base
  firefox                               111.0-2                     2432      
latest/candidate  mozilla✓      -
  gimp                                  2.10.30                     393       
latest/stable     snapcrafters  -
  gnome-3-28-1804                       3.28.0-19-g98f9e67.98f9e67  161       
latest/stable     canonical✓    -
  gnome-3-38-2004                       0+git.6f39565               119       
latest/stable     canonical✓    -
  gnome-42-2204                         0+git.09673a5               65        
latest/stable     canonical✓    -
  gtk-common-themes                     0.1-81-g442e511             1535      
latest/stable/…   canonical✓    -
  gtk-theme-pocillo                     0.14.4.1                    5         
latest/stable     ubuntubudgie  -
  gtk-theme-qogirbudgie                 22.04.1                     8         
latest/stable     ubuntubudgie  -
  gtk2-common-themes                    0.1                         13        
latest/stable     canonical✓    -
  hunspell-dictionaries-1-7-2004        1.7-20.04+pkg-6fd6          2         
latest/stable     brlin         -
  kde-frameworks-5-91-qt-5-15-3-core20  5.91.0                      1         
latest/stable     kde✓          -
  kde-frameworks-5-99-qt-5-15-7-core20  5.99.0                      15        
latest/stable     kde✓          -
  kde-frameworks-5-core18               5.67.0                      35        
latest/stable     kde✓          -
  libreoffice                           7.5.1.2                     270       
latest/stable     canonical✓    -
  shortwave                             3.0.0                       79        
latest/stable     alexmurray✪   -
  snapd                                 2.58.2                      18357     
latest/stable     canonical✓    snapd
  snapd-desktop-integration             0.1                         71        
latest/stable/…   canonical✓    -
  stellarium-daily                      v1.2                        1396      
latest/stable     t4saha        -
  thunderbird                           102.9.0-1                   305       
latest/candidate  canonical✓    -
  vlc                                   3.0.18                      3078      
latest/stable     videolan✓     -

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/gnome-shell/+bug/2011806/+subscriptions


-- 
Mailing list: https://launchpad.net/~desktop-packages
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~desktop-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to