web-dev-qa-db-fra.com

Le paquet logiciel enfichable Telegram-desktop ne s'exécute pas après le redémarrage

s'il vous plaît, j'utilise Ubuntu 18.04 LTS et je suis encore très satisfait. Mais malheureusement, le bureau Telegram cesse de fonctionner après le redémarrage d'aujourd'hui. Je ne sais vraiment pas pourquoi car cela fonctionnait correctement avant aujourd'hui.

Si j'essaie de démarrer le télégramme à partir de la ligne de commande, le message d'erreur suivant s'affiche:

~$ telegram-desktop 
QXcbConnection: Could not connect to display :1
Telegram[0x9338cf]
Telegram[0x933e4c]
Telegram(_ZN15google_breakpad16ExceptionHandler12GenerateDumpEPNS0_12CrashContextE+0x382)[0x11d0d0c]
Telegram(_ZN15google_breakpad16ExceptionHandler12HandleSignalEiP9siginfo_tPv+0x1c3)[0x11d08e7]
Telegram(_ZN15google_breakpad16ExceptionHandler13SignalHandlerEiP9siginfo_tPv+0x1ab)[0x11d05ff]
/lib/x86_64-linux-gnu/libpthread.so.0(+0x11390)[0x7f9195a16390]
/lib/x86_64-linux-gnu/libc.so.6(gsignal+0x38)[0x7f9195151428]
/lib/x86_64-linux-gnu/libc.so.6(abort+0x16a)[0x7f919515302a]
Telegram[0x1f55117]
Telegram(_ZN14QXcbConnectionC2EP19QXcbNativeInterfacebjPKc+0xe93)[0x1624423]
Telegram(_ZN15QXcbIntegrationC1ERK11QStringListRiPPc+0x2ea)[0x15f907a]
Telegram[0x15f7c4b]
Telegram[0x1e1bc1d]
Telegram[0x1b38bad]
Telegram[0x1b397b5]
Telegram[0x2128295]
Telegram[0x1b3ad8f]
Telegram[0x17f8889]
Telegram(_ZN11ApplicationC2EN3gsl8not_nullIPN4Core8LauncherEEERiPPc+0x3a)[0xfcc76a]
Telegram(_ZN4Core8Launcher18executeApplicationEv+0x3e)[0x93088e]
Telegram(_ZN4Core8Launcher4execEv+0x54)[0x930d14]
Telegram(main+0x32)[0x78a2a2]
/lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xf0)[0x7f919513c830]
Telegram(_start+0x29)[0x79b569]
Aborted (core dumped)

En fait, j'ai eu beaucoup de problèmes avec les paquets instantanés comme avec gnome-calculator ou gnome-system-monitor. Cette application a été livrée sous forme de paquet logiciel enfichable après l'installation normale. Mais je ne pense pas que ces applications doivent être aussi simples. Après la désinstallation et l'installation, l'application normale fonctionne correctement.

Mais Telegram, je ne peux pas installer l'application normale via Sudo apt install car il ne se trouve pas dans le référentiel ppa stadard :( Je peux seulement télécharger AppImage depuis le site Web officiel de Telegram. Mais alors, snap n'est qu'une merde. .. (vous savez) et je recommande de migrer vers Flatpak.

S'il vous plaît, pouvez-vous aider où peut être un problème avec le package de capture instantanée de cette application?

Mes applications Snap:

$ ls -la /snap/
total 40
drwxr-xr-x  9 root root 4096 máj 20 20:16 .
drwxr-xr-x 24 root root 4096 máj 19 22:39 ..
drwxr-xr-x  2 root root 4096 máj 20 20:16 bin
drwxr-xr-x  4 root root 4096 máj  7 19:04 core
drwxr-xr-x  5 root root 4096 máj  9 20:28 gnome-3-26-1604
drwxr-xr-x  4 root root 4096 máj  5 20:54 gnome-characters
drwxr-xr-x  4 root root 4096 máj  5 20:54 gnome-logs
-r--r--r--  1 root root  548 máj  5 14:08 README
drwxr-xr-x  3 root root 4096 máj  6 09:09 telegram-desktop
drwxr-xr-x  3 root root 4096 máj 20 20:02 vlc

vlc fonctionne encore correctement :) Merci pour tout conseil

PS: J'ai essayé d'actualiser le package de clichés via snap refresh mais cela n'aide pas

Sudo snap refresh telegram-desktop
snap "telegram-desktop" has no updates available

Merci pour votre réponse

3
Nela Drobná

Ce problème me concerne aussi. La première fois que j'ai connecté les interfaces de capture requises au télégramme, cela a fonctionné. Mais aujourd'hui, le problème a refait surface. Je le répare en supprimant et en installant à nouveau le télégramme avec:

Sudo snap remove telegram-desktop
Sudo snap install telegram-desktop

Notez qu’il existe à présent un paquet telegram-desktop dans ppa par défaut et que vous pouvez l’installer par

Sudo apt install telegram-desktop 
3
Bob91