I was running several apps that were installed with Snap Store. I was not using the system for some time and blindly run
sudo apt-get update sudo apt-get upgrade sudo snap refresh after reboot bdzionk. When I start any of these apps or even snap-store itself it just silently finishes. Everything else works as expected.
To better diagnose the problem I tried to start the apps with command line:
pdebski@system:~$ ps -ea | grep snap 764 ? 00:00:01 snapd pdebski@system:~$ snap list Name Version Rev Tracking Publisher Notes chromium 83.0.4103.61 1165 latest/stable canonical✓ - core 16-2.45 9289 latest/stable canonical✓ core core18 20200427 1754 latest/stable canonical✓ base gnome-3-28-1804 3.28.0-17-gde3d74c.de3d74c 128 latest/stable canonical✓ - gtk-common-themes 0.1-36-gc75f853 1506 latest/stable canonical✓ - kde-frameworks-5-core18 5.61.0 32 latest/stable kde✓ - midori v8.0-31-gf6b3b1e 550 latest/stable kalikiana - snap-store 3.31.1+git187.84b64e0b 415 latest/stable canonical✓ - snapd 2.45 7777 latest/stable canonical✓ snapd pdebski@system:~$ snap run snap-store /snap/snap-store/415/bin/desktop-launch: line 51: /home/pdebski/.config/user-dirs.dirs: Permission denied 18:13:30:0737 GLib-GIO g_app_info_get_name: assertion 'G_IS_APP_INFO (appinfo)' failed 18:13:30:0740 Gtk Failed to load module "appmenu-gtk-module" Unable to init server: Could not connect: Connection refused 18:13:30:0746 Gtk cannot open display: :1 pdebski@system:~$ ls -l .co*/u*s -rw------- 1 pdebski pdebski 632 mar 21 2018 .config/user-dirs.dirs I do not want user-dirs.dirs or any other file in my home directory world-readable, nevertheless I changed the permissions to check what happens:
pdebski@system:~/.config$ chmod go+r u*s pdebski@system:~/.config$ ls -ld . drwxr-xr-x 27 pdebski pdebski 4096 cze 5 19:52 . pdebski@system:~/.config$ ls -al u* -rw-r--r-- 1 pdebski pdebski 632 mar 21 2018 user-dirs.dirs pdebski@system:~/.config$ ls -ald ../.c*g drwxr-xr-x 27 pdebski pdebski 4096 cze 5 19:52 ../.config pdebski@system:~/.config$ snap-store /snap/snap-store/415/bin/desktop-launch: line 51: /home/pdebski/.config/user-dirs.dirs: Permission denied 20:45:44:0906 GLib-GIO g_app_info_get_name: assertion 'G_IS_APP_INFO (appinfo)' failed 20:45:44:0951 Gtk Failed to load module "appmenu-gtk-module" Unable to init server: Could not connect: Connection refused 20:45:45:0012 Gtk cannot open display: :1 I am stuck. What's wrong?

snappackages? In my experience,snappackages are installed for all users and requirerootprivileges user to install them (i.e.sudo snap install hello-world). Researching this issue, I did find thatsnapallows a user to login to a store withsnap login, and then they are allowed to install user levelsnaps, so maybe that is whatsnap-storeis doing.apt-get update ; apt-get upgrade ; snap refreshafter reboot all runs except snap-installed apps.pdebskior some other user? From what you have provided, I would expect things to work when logged in aspdebski, but as you noted it will likely not work with other users unless you allow them to read the contents of your$HOMEdirectory./home/pdebski/.config/user-dirs.dirsdirectory (or parent directory) get set to owned byrootor some other user, preventingpdebskifrom reading them?