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

Service snapd-desktop-integration reloads every 2 seconds #71

Open
hvbakel opened this issue Aug 13, 2023 · 1 comment
Open

Service snapd-desktop-integration reloads every 2 seconds #71

hvbakel opened this issue Aug 13, 2023 · 1 comment

Comments

@hvbakel
Copy link

hvbakel commented Aug 13, 2023

On an up to date Ubuntu 22.04.3 installation the snapd-desktop-integration service reloads every 2 seconds, spamming journalctl with the following messages:

Aug 12 08:45:11 hostname systemd[4446]: snap.snapd-desktop-integration.snapd-desktop-integration.service: Scheduled restart job, restart counter is at 169.
Aug 12 08:45:11 hostname systemd[4446]: Stopped Service for snap application snapd-desktop-integration.snapd-desktop-integration.
Aug 12 08:45:11 hostname systemd[4446]: Started Service for snap application snapd-desktop-integration.snapd-desktop-integration.
Aug 12 08:45:11 hostname snapd-desktop-i[1704533]: Failed to do gtk init. Waiting for a new session with desktop capabilities.
Aug 12 08:45:11 hostname snapd-desktop-i[1704533]: Checking session /org/freedesktop/login1/session/_3272...
Aug 12 08:45:11 hostname snapd-desktop-i[1704533]: Is a desktop session! Forcing a reload.
Aug 12 08:45:11 hostname snapd-desktop-i[1704533]: Loop exited. Forcing reload.

Based on forum threads I could find (e.g. https://askubuntu.com/questions/1443676/snapd-desktop-integration-syslog-spam) it looks like this issue should be solved with the version released earlier this year, but with v0.9 from the stable or candidate channel the issue seems to persist even when running in a graphical desktop session.

@Ziris85
Copy link

Ziris85 commented Mar 2, 2024

Marking myself as affected by this too. For me, it seems to crop up specifically if I choose Ubuntu on Xorg during login (which is necessary in my case because xscreensaver doesn't seem to work properly on wayland at present). I found this reddit post about an issue with firefox that I was having that seemed to be related to this, and the suggested fix there was to restart the machine after selecting the Xorg option. Sure enough, after rebooting my system, both those repeated integration error messages stopped and firefox started working again. That sort of leads me to believe that the issue isn't with this or any one particular snap, but maybe with snapd in general on Xorg displays?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants