Estou com um problema semelhante, que parece ter começado depois de uma atualização de software.
versão de encaixe:
snap 2.33.1+18.04ubuntu2
snapd 2.33.1+18.04ubuntu2
series 16
ubuntu 18.04
kernel 4.15.0-24-generic
lista de snap
Name Version Rev Tracking Developer Notes
communitheme 0.1 614 stable didrocks -
core 16-2.33.1 4917 stable canonical core
hugo 0.44 2205 stable hugo-authors -
keepassxc 2.3.3 38 stable keepassxreboot -
qownnotes 18.07.4 1038 stable pbek -
spotify 1.0.80.474.gef6b503e-7 16 stable spotify -
ubuntu-mate-welcome 17.10.23-e4f4c4c 169 stable flexiondotorg classic
systemctl status snapd.service
● snapd.service - Snappy daemon
Loaded: loaded (/lib/systemd/system/snapd.service; enabled; vendor preset: en
Active: active (running) since Sat 2018-07-21 10:23:47 ACST; 7h ago
Main PID: 840 (snapd)
Tasks: 25 (limit: 4915)
CGroup: /system.slice/snapd.service
└─840 /usr/lib/snapd/snapd
Jul 21 10:38:53 dark-horse snapd[840]: 2018/07/21 10:38:53.913415 storehelpers.g
Jul 21 10:38:53 dark-horse snapd[840]: snap "hugo": snap has no updates availabl
Jul 21 10:38:53 dark-horse snapd[840]: snap "ubuntu-mate-welcome": snap has no u
Jul 21 10:38:53 dark-horse snapd[840]: snap "spotify": snap has no updates avail
Jul 21 10:38:53 dark-horse snapd[840]: snap "qownnotes": snap has no updates ava
Jul 21 10:38:53 dark-horse snapd[840]: snap "core": snap has no updates availabl
Jul 21 10:38:53 dark-horse snapd[840]: snap "keepassxc": snap has no updates ava
Jul 21 10:38:53 dark-horse snapd[840]: 2018/07/21 10:38:53.915637 autorefresh.go
Jul 21 17:17:58 dark-horse snapd[840]: 2018/07/21 17:17:58.423179 api.go:1045: I
Jul 21 17:18:12 dark-horse snapd[840]: 2018/07/21 17:18:12.996129 api.go:1045: I
lines 1-18/18 (END)
Parece ser um problema de permissões. Se eu executar um aplicativo afetado na linha de comando:
steven@dark-horse:~$ qownnotes
/snap/qownnotes/1038/bin/desktop-launch: line 23: /home/steven/.config/user-dirs.dirs: Permission denied
Fatal: QXcbConnection: Could not connect to display :0 ((null):0, (null))
Aborted (core dumped)
steven@dark-horse:~$
steven@dark-horse:~$ keepassxc
/snap/keepassxc/38/bin/desktop-launch: line 23: /home/steven/.config/user-dirs.dirs: Permission denied
QXcbConnection: Could not connect to display :0
Aborted
steven@dark-horse:~$
steven@dark-horse:~$ spotify
Gtk-Message: Failed to load module "gail"
Gtk-Message: Failed to load module "atk-bridge"
(spotify:27512): Gtk-WARNING **: cannot open display: :0
steven@dark-horse:~$
ubuntu-mate-welcome (um clique clássico) funciona normalmente.
Ao reverter os snaps afetados, eles voltaram a trabalhar ...
sudo snap revert qownnotes
... e os snaps continuaram a funcionar depois de atualizar os snaps novamente.
sudo snap refresh qownnotes