Cannot run flatpaks anymore

Yesterday I’ve been using EasySSH extensively. Today I cannot start it:

~> LANG=C flatpak run com.github.muriloventuroso.easyssh
Gtk-Message: 11:49:12.132: Failed to load module "unity-gtk-module"
Invalid MIT-MAGIC-COOKIE-1 keyUnable to init server: Could not connect: Connection refused

(com.github.muriloventuroso.easyssh:2): Gtk-WARNING **: 11:49:12.145: cannot open display: :99.0

All my other flatpaks refuse to start, too:

~> flatpak run io.gitlab.Goodvibes
Gtk-Message: 11:54:32.369: Failed to load module "unity-gtk-module"
Gtk-Message: 11:54:32.369: Failed to load module "canberra-gtk-module"
Invalid MIT-MAGIC-COOKIE-1 key
(goodvibes:2): Gtk-WARNING **: 11:54:32.377: cannot open display: :99.0
~> flatpak run com.kubeproject.kube
gpg-agent[3]: enabled debug flags: ipc
can't connect to 'socket:///home/cristiano/.gnupg/log-socket': File o directory non esistente
Invalid MIT-MAGIC-COOKIE-1 keyqt.qpa.xcb: could not connect to display :99.0
qt.qpa.plugin: Could not load the Qt platform plugin "xcb" in "" even though it was found.
This application failed to start because no Qt platform plugin could be initialized. Reinstalling the application may fix this problem.

Available platform plugins are: eglfs, minimal, minimalegl, offscreen, vnc, wayland-egl, wayland, wayland-xcomposite-egl, wayland-xcomposite-glx, xcb.

SIGABRT received
1       0x560aa3cd29c0 kube(+0x99c0) [0x560aa3cd29c0]
2       0x7f94f86e8690 /usr/lib/x86_64-linux-gnu/libc.so.6(+0x39690) [0x7f94f86e8690]
3       0x7f94f86e8605 gsignal + 325
4       0x7f94f86d1899 abort + 299
5       0x7f94f8b2ea51 /app/lib/libQt5Core.so.5(+0x9ca51) [0x7f94f8b2ea51]
6       0x7f94f9f5b849 QGuiApplicationPrivate::createPlatformIntegration() + 6025
7       0x7f94f9f5bc70 QGuiApplicationPrivate::createEventDispatcher() + 48
8       0x7f94f8d51185 QCoreApplicationPrivate::init() + 2805
9       0x7f94f9f5ed9f QGuiApplicationPrivate::init() + 47
10      0x7f94f923d48e QApplicationPrivate::init() + 14
11      0x560aa3cd0c19 kube(+0x7c19) [0x560aa3cd0c19]
12      0x7f94f86d3173 __libc_start_main + 243
13      0x560aa3cd27ee _start + 46
Sleeping for 10s to attach a debugger: gdb attach 5

kill: uso: kill -s specsegn | -n numsegn | -specsegn] pid | specjob ... oppure kill -l [specsegn]
OK closing connection

I updated everything with “flatpak update” but still I cannot run any flatpak.
Any hints?

Thank you in advance
Cris

Maybe you should consider a bug report.

Submitting Bug Reports

(that link seems to be misbehaving, but it usually works).

Very similar errors shown in this Dec 2018 bug report…

https://bugzilla.opensuse.org/show_bug.cgi?id=1120200

If you are having invalid MIT-MAGIC-COOKIE-1 issues then:

(a) logout.
(b) Use CTRL-ALT-F1 to get to a command line, and login there (as yourself).
(c) rm .Xauthority
(d) Use CTRL-ALT-F7 to get back to the GUI login screen.

And then login again, and see if that helped.

Hi nrickert, and sorry for the long delay

That worked, thank you!!
Cris

Glad to have helped. And thanks for reporting back.