ln: failed to create symbolic link '/home/endrii/snap/telegram-desktop/common/snap/telegram-desktop/common/Documents': No such file or directory
ln: failed to create symbolic link '/home/endrii/snap/telegram-desktop/common/snap/telegram-desktop/common/Desktop': No such file or directory
ln: failed to create symbolic link '/home/endrii/snap/telegram-desktop/common/snap/telegram-desktop/common/Downloads': No such file or directory
ln: failed to create symbolic link '/home/endrii/snap/telegram-desktop/common/snap/telegram-desktop/common/Music': No such file or directory
ln: failed to create symbolic link '/home/endrii/snap/telegram-desktop/common/snap/telegram-desktop/common/Pictures': No such file or directory
ln: failed to create symbolic link '/home/endrii/snap/telegram-desktop/common/snap/telegram-desktop/common/Videos': No such file or directory
ln: failed to create symbolic link '/home/endrii/snap/telegram-desktop/common/snap/telegram-desktop/common/Templates': No such file or directory
QXcbConnection: Could not connect to display :0
Telegram[0x981805]
Telegram[0x981d8c]
Telegram(_ZN15google_breakpad16ExceptionHandler12GenerateDumpEPNS0_12CrashContextE+0x382)[0x1571f80]
Telegram(_ZN15google_breakpad16ExceptionHandler12HandleSignalEiP9siginfo_tPv+0x1c3)[0x1571b5b]
Telegram(_ZN15google_breakpad16ExceptionHandler13SignalHandlerEiP9siginfo_tPv+0x1ab)[0x1571873]
/lib/x86_64-linux-gnu/libpthread.so.0(+0x11390)[0x7f2e89299390]
/lib/x86_64-linux-gnu/libc.so.6(gsignal+0x38)[0x7f2e889c5428]
/lib/x86_64-linux-gnu/libc.so.6(abort+0x16a)[0x7f2e889c702a]
Telegram[0x230c327]
Telegram(_ZN14QXcbConnectionC2EP19QXcbNativeInterfacebjPKc+0xe93)[0x19db9f3]
Telegram(_ZN15QXcbIntegrationC1ERK11QStringListRiPPc+0x2ea)[0x19b073a]
Telegram[0x19af30b]
Telegram[0x21d2ffd]
Telegram[0x1ef015d]
Telegram[0x1ef0d65]
Telegram[0x24df4e5]
Telegram[0x1ef233f]
Telegram[0x1bafcc9]
Telegram(_ZN11ApplicationC2EN3gsl8not_nullIPN4Core8LauncherEEERiPPc+0x3a)[0x10c0b6a]
Telegram(_ZN4Core8Launcher18executeApplicationEv+0x8e)[0x9b1a4e]
Telegram(_ZN4Core8Launcher4execEv+0x4d)[0x9b1b7d]
Telegram(main+0x32)[0x82cdc2]
/lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xf0)[0x7f2e889b0830]
Telegram(_start+0x29)[0x843919]
Аварийный останов (стек памяти сброшен на диск)
discord
/snap/discord/69/bin/desktop-launch: line 23: /home/endrii/.config/user-dirs.dirs: Permission denied
/snap/discord/69/bin/desktop-launch: line 176: $'\321\201\321\202\320\276\320\273': command not found
Gtk-Message: Failed to load module "gail"
Gtk-Message: Failed to load module "atk-bridge"
gnome-system-monitor
/snap/gnome-system-monitor/51/bin/desktop-launch: line 23: /home/endrii/.config/user-dirs.dirs: Permission denied
You need to connect this snap to the gnome platform snap.
You can do this with those commands:
snap install gnome-3-26-1604
snap connect gnome-system-monitor:gnome-3-26-1604 gnome-3-26-1604
(the '3-26-1604' number defines the platform version and might change)
gnome-calculator
/snap/gnome-calculator/180/bin/desktop-launch: line 23: /home/endrii/.config/user-dirs.dirs: Permission denied
You need to connect this snap to the gnome platform snap.
You can do this with those commands:
snap install gnome-3-26-1604
snap connect gnome-calculator:gnome-3-26-1604 gnome-3-26-1604
(the '3-26-1604' number defines the platform version and might change)
endrii@Xenon:~$ snap install gnome-3-26-1604
snap "gnome-3-26-1604" is already installed, see 'snap help
refresh'
I have the same issue here. It looks like all strictly confined, graphical applications I have installed as snaps have stopped working.
I can reproduce the issues above for Discord and Telegram. In addition to that:
$ snap run firefox
Failed to connect to Mir: Failed to connect to server socket: No such file or directory
Unable to init server: Could not connect: Connection refused
Error: cannot open display: :0
$ snap run chromium
/snap/chromium/367/bin/desktop-launch: line 23: /home/tim/.config/user-dirs.dirs: Permission denied
Failed to move to new namespace: PID namespaces supported, Network namespace supported, but failed: errno = Operation not permitted
fish: “snap run chromium” terminated by signal SIGTRAP (Trace or breakpoint trap)
$ snap run ohmygiraffe
xcb_connection_has_error() returned true
shm_open() failed: Permission denied
AL lib: (WW) alc_initconfig: Failed to initialize backend "pulse"
ALSA lib conf.c:3750:(snd_config_update_r) Cannot access file /usr/share/alsa/alsa.conf
ALSA lib pcm.c:2266:(snd_pcm_open_noupdate) Unknown PCM default
AL lib: (EE) ALCplaybackAlsa_open: Could not open playback device 'default': No such file or directory
Could not open device.
/snap/ohmygiraffe/3/bin/launch_omg: line 59: 13584 Segmentation fault (core dumped) $SNAP/usr/bin/love $SNAP/oh-my-giraffe.love
This seems to be a really weird problem.
It looks like the applications work again after switching the channels: For example, I was on edge on telegram-desktop.
snap refresh telegram-desktop --stable
snap run telegram-desktop
snap refresh telegram-desktop --edge
snap run telegram-desktop
… and now I’m unable to reproduce the issue for Telegram, while for the other snaps the issue still persists.
I could also get Minecraft and Firefox working again using the same method. I will leave Chromium broken in case I can use it to provide any info in order to help debugging this ^^
It looks like, somehow, some (all?) the slots got disconnected, leading to various types of denials that prevent the confined applications from working. This would explain why switching channels appears to fix the issue, because the operation effectively installs a new version of the snap, and re-executes all the interface connections.
I have a similar issue with launching minecraft. Ever since the update to minecraft launcher that was made about a week ago, clicking on the minecraft icon does nothing.
I am running on Ubuntu 18.04.1 and snap version 2.34.2+18.04. Minecraft launcher version is 2.1.1218.
I have also tried to remove the installation and install a fresh version, but it didn’t help.
I’m having this same problem with my new app “heimer”:
$ heimer
ln: failed to create symbolic link '/home/juzzlin/snap/heimer/1/snap/heimer/1/Documents': No such file or directory
ln: failed to create symbolic link '/home/juzzlin/snap/heimer/1/snap/heimer/1/Desktop': No such file or directory
ln: failed to create symbolic link '/home/juzzlin/snap/heimer/1/snap/heimer/1/Downloads': No such file or directory
ln: failed to create symbolic link '/home/juzzlin/snap/heimer/1/snap/heimer/1/Music': No such file or directory
ln: failed to create symbolic link '/home/juzzlin/snap/heimer/1/snap/heimer/1/Pictures': No such file or directory
ln: failed to create symbolic link '/home/juzzlin/snap/heimer/1/snap/heimer/1/Videos': No such file or directory
ln: failed to create symbolic link '/home/juzzlin/snap/heimer/1/snap/heimer/1/Templates': No such file or directory
[Wed Aug 8 00:42:29 2018] I: Heimer version 1.0.0
[Wed Aug 8 00:42:29 2018] I: Copyright (c) 2018 Jussi Lind
[Wed Aug 8 00:42:29 2018] I: Compiled against Qt version 5.5.1
QXcbConnection: Could not connect to display :1
Aborted (core dumped)
This is a Qt5 app. Any ideas how to fix this? Do I need to add some permissions etc?