Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

bug(os): Snaps don't work #33

Open
eugenialoli opened this issue Feb 9, 2025 · 11 comments
Open

bug(os): Snaps don't work #33

eugenialoli opened this issue Feb 9, 2025 · 11 comments
Assignees
Labels
Bug Something isn't working OS Development OS Development Team: builder + core functionality

Comments

@eugenialoli
Copy link

Rhino Linux version & platform:
2025.1

What distribution component is causing issues:
Snapd

Describe the bug

As seen in this screenshot, snaps don't work properly. I tried both Chromium and Thunderbird (which are wrapper snaps), but also normal snaps, like liferea.

Image

That error message is very common on ubuntu. It gets alleviated if just before launching the app from the terminal you run: export DBUS_SESSION_BUS_ADDRESS="unix:path=$XDG_RUNTIME_DIR/bus"
Unfortunately, even if I put this command on some scripts, or on my .profile, it still doesn't work. Only when I run it from the terminal manually it works to later load manually the snap binary.

Plus, no menu item gets added on the menus anyway for these snaps anyway, so it becomes a terminal-only launching experience.

On top of that, all the snap apps complain that they can't load the appmenu-gtk-module, and so they don't provide their menu on the appmenu plugin.

@eugenialoli eugenialoli added Bug Something isn't working triage Bug report/Feature request is yet to be evaluated by the Rhino Linux team labels Feb 9, 2025
@ajstrongdev ajstrongdev changed the title Snaps don't work bug(os): Snaps don't work Feb 9, 2025
@ajstrongdev
Copy link
Member

Can you ensure the snap runtime is installed with snap list and send the output here please.

@ajstrongdev ajstrongdev added the OS Development OS Development Team: builder + core functionality label Feb 10, 2025
@eugenialoli
Copy link
Author

Yes, snapd is running and here's the list.

Image

@ajstrongdev
Copy link
Member

@eugenialoli I asked for the output of snap list not apt list --installed | grep snapd, these are two different commands with different functions. Furthermore, please send all output as text inside of a codeblock rather than a screenshot, as then we are able to compare file differences.

@eugenialoli
Copy link
Author

Here it is:

Name Version Rev Tracking Publisher Notes bare 1.0 5 latest/stable canonical** base core18 20240920 2846 latest/stable canonical** base core22 20250110 1748 latest/stable canonical** base cups 2.4.11-2 1067 latest/stable openprinting** - gnome-3-28-1804 3.28.0-19-g98f9e67.98f9e67 198 latest/stable canonical** - gnome-42-2204 0+git.38ea591 202 latest/stable canonical** - gtk-common-themes 0.1-81-g442e511 1535 latest/stable canonical** - liferea v1.12.7 11 latest/stable almejo - snapd 2.67 23545 latest/stable canonical** snapd thunderbird 128.6.1esr-3 634 latest/stable canonical** -

@eugenialoli
Copy link
Author

Better to include the actual text file that has formatting.

snap.txt

@ajstrongdev
Copy link
Member

Better to include the actual text file that has formatting.

snap.txt

Or you could just use three backticks to create a large codeblock?

like this

Either way I can confirm you have the snap runtime installed onto your system so I will dig into this further later.

@oklopfer
Copy link
Member

After updating, snaps should now appear properly in the app grid (rhino-linux/unicorn@b78c958).

As for the cgroup issue, it seems this is only a bug with certain packages, as sublime-text does not experience the issue, but thunderbird does. It will require a bit more investigating to get right, as when we added DBUS_SESSION_BUS_ADDRESS="unix:path=$XDG_RUNTIME_DIR/bus" to unicorn startup, other things broke. There is this bug report upstream that discusses more: https://bugs.launchpad.net/ubuntu/+source/snapd/+bug/1951491

@ajstrongdev
Copy link
Member

Note: While applications appear properly in the app grid, they still do not appear in uLauncher (tested and confirmed this issue on 2025.2~RC)

@oklopfer
Copy link
Member

Note: While applications appear properly in the app grid, they still do not appear in uLauncher (tested and confirmed this issue on 2025.2~RC)

Unconfirmed - I do not experience this issue.

@ajstrongdev
Copy link
Member

ajstrongdev commented Feb 16, 2025

Note: While applications appear properly in the app grid, they still do not appear in uLauncher (tested and confirmed this issue on 2025.2~RC)

Unconfirmed - I do not experience this issue.

Just because you do not experience this issue, does not mean that it is not an active issue. See below:

Image

[~] aj@rhino-linux $ snap list
Name               Version          Rev    Tracking       Publisher      Notes
bare               1.0              5      latest/stable  canonical✓     base
core20             20240911         2434   latest/stable  canonical✓     base
core22             20250110         1748   latest/stable  canonical✓     base
gnome-42-2204      0+git.38ea591    202    latest/stable  canonical✓     -
gtk-common-themes  0.1-81-g442e511  1535   latest/stable  canonical✓     -
snapd              2.67             23545  latest/stable  canonical✓     snapd
sublime-text       4192             196    latest/stable  snapcrafters✪  classic
thunderbird        128.7.0esr-1     644    latest/stable  canonical✓     -

On Rhino Linux 2025.2~RC installed on my laptop.

EDIT: Sublime-text DOES appear in lightpad/app grid though, which means this is an issue with uLauncher.

@SkyePrism
Copy link

SkyePrism commented Feb 18, 2025

I did a fresh install of rhino Rhino-Linux-2025.2~RC-amd64 (on AMD64 machine). Installed thunderbird and sublime text snaps. Both of these show up in ulauncher :)

Thunderbird doesn't launch but sublime does.

Log from running thunderbird:

/user.slice/user-1002.slice/session-1.scope is not a snap cgroup

@oklopfer oklopfer removed the triage Bug report/Feature request is yet to be evaluated by the Rhino Linux team label Feb 23, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Something isn't working OS Development OS Development Team: builder + core functionality
Projects
None yet
Development

No branches or pull requests

4 participants