1

Upgrading a Sony VAIO notebook from Ubuntu 22.04 to 24.04 Thunderbird does not start any more clicking on the icon on the left dash. Trying to start the software from the terminal ends up in the following output:

MyUser@MyUser-SVF1521A6EW:~$ thunderbird&
[1] 15487
MyUser@MyUser-SVF1521A6EW:~$ [15487] Wayland Proxy [0x7989ab67c670] Error: CheckWaylandDisplay(): Failed to connect to Wayland display '/run/user/1000/snap.thunderbird/wayland-0' error: Permission denied
Error: we don't have any display, WAYLAND_DISPLAY='wayland-0' DISPLAY=':0'

[1]+ Exit 1 thunderbird MyUser@MyUser-SVF1521A6EW:~$

While scanning various forums I could not find any concrete answer what's the actual defect.

  • The safe-mode did not change anything.

  • The Session Type echo $XDG_SESSION_TYPE is as expected wayland.

  • The access rights mentioned in the error message

    MyUser@MyUser-SVF1521A6EW:~$ ls -al /run/user/1000/snap.thunderbird [... results in ...]
    insgesamt 0
    drwx------  3 MyUser MyUser  80 Mär 26 03:36 . 
    drwx------ 21 MyUser MyUser 680 Mär 26 06:00 .. 
    drwxrwxr-x  2 MyUser MyUser  60 Mär 26 18:33 dconf 
    lrwxrwxrwx  1 MyUser MyUser  44 Mär 26 03:36 wayland-0 -> /run/user/1000/snap.thunderbird/../wayland-0
    MyUser@MyUser-SVF1521A6EW:~$
    

EDIT - Update #4:

@David asked for the link target of the wayland-0-socket. No issue visible with this socket, but I am not an expert with it. The socket's owner is the 'MyUser'.

MyUser@MyUser-SVF1521A6EW:~$ ls -al /run/user/1000
insgesamt 8
drwx------ 19 MyUser   MyUser   640 Mär 31 06:00 .
drwxr-xr-x  3 root     root      60 Mär 31 03:36 ..
drwx------  2 MyUser   MyUser    60 Mär 31 03:35 at-spi
srw-rw-rw-  1 MyUser   MyUser     0 Mär 31 03:35 bus
drwx------  3 MyUser   MyUser    60 Mär 31 03:35 dbus-1
drwx------  2 MyUser   MyUser    60 Mär 31 20:53 dconf
dr-x------  2 MyUser   MyUser     0 Jan  1  1970 doc
drwx------  2 MyUser   MyUser    60 Mär 31 03:35 gcr
prw-rw-r--  1 MyUser   MyUser     0 Mär 31 03:35 gnome-session-    leader-fifo
drwx------  3 MyUser   MyUser    60 Mär 31 03:35 gnome-shell
drwx------  2 MyUser   MyUser   160 Mär 31 03:35 gnupg
dr-x------  2 MyUser   MyUser     0 Mär 31 03:35 gvfs
drwx------  2 MyUser   MyUser    40 Mär 31 20:55 gvfsd
-rw-------  1 MyUser   MyUser   374 Mär 31 03:35 ICEauthority
drwx------  2 MyUser   MyUser   100 Mär 31 03:35 keyring
-rw-------  1 MyUser   MyUser   128 Mär 31 03:35 .mutter-Xwaylandauth.D9LB42
srw-rw-rw-  1 MyUser   MyUser     0 Mär 31 03:35 pipewire-0
-rw-rw----  1 MyUser   MyUser     0 Mär 31 03:35 pipewire-0.lock
srw-rw-rw-  1 MyUser   MyUser     0 Mär 31 03:35 pipewire-0-manager
-rw-rw----  1 MyUser   MyUser     0 Mär 31 03:35 pipewire-0-manager.lock
srw-rw-rw-  1 MyUser   MyUser     0 Mär 31 03:35 pk-debconf-socket
drwx------  2 MyUser   MyUser    80 Mär 31 03:35 pulse
srw-rw-rw-  1 MyUser   MyUser     0 Mär 31 03:35 snapd-session-agent.socket
drwx------  3 MyUser   MyUser    80 Mär 31 03:36 snap.firefox
drwx------  3 MyUser   MyUser    80 Mär 31 06:00 snap.firmware-updater
drwx------  3 MyUser   MyUser    80 Mär 31 03:35 snap.snapd-desktop-integration
drwx------  3 MyUser   MyUser    80 Mär 31 03:38 snap.thunderbird
drwxr-xr-x  4 MyUser   MyUser   100 Mär 31 03:36 speech-dispatcher
drwxr-xr-x  7 MyUser   MyUser   180 Mär 31 03:35 systemd
-rw-------  1 MyUser   MyUser     0 Mär 31 03:36 update-notifier.pid
srwxrwxr-x  1 MyUser   MyUser     0 Mär 31 03:35 wayland-0
-rw-rw----  1 MyUser   MyUser     0 Mär 31 03:35 wayland-0.lock
MyUser@MyUser-SVF1521A6EW:~$

EDIT - Update #1:

@David, here is the requested snap information:

MyUser@MyUser-SVF1521A6EW:~$ snap list
Name                       Version                     Revision  Tracking         Herausgeber      Hinweise
backupz2                   1.0.3                       4         latest/stable    keygenqt         -
bare                       1.0                         5         latest/stable    canonical✓       base
core18                     20250123                    2855      latest/stable    canonical✓       base
core20                     20241206                    2496      latest/stable    canonical✓       base
core22                     20250210                    1802      latest/stable    canonical✓       base
core24                     20241217                    739       latest/stable    canonical✓       base
duplicity                  3.0.4                       524       latest/stable    kenneth-loafman  classic
firefox                    136.0.3-1                   5947      latest/stable    mozilla✓         -
firmware-updater           0+git.22198be               167       1/stable/…       canonical✓       -
frame-diagnostic           0.1                         10        latest/edge      alangriffiths✪   -
frame-it                   1.2                         18        latest/stable    alangriffiths✪   classic
gnome-3-34-1804            0+git.3556cb3               93        latest/stable    canonical✓       -
gnome-3-38-2004            0+git.efb213a               143       latest/stable    canonical✓       -
gnome-42-2204              0+git.38ea591               202       latest/stable    canonical✓       -
gtk-common-themes          0.1-81-g442e511             1535      latest/stable/…  canonical✓       -
htop                       3.4.0                       4773      latest/stable    maxiberta✪       -
kbackup                    24.12.3                     41        latest/stable    kde✓             -
kf6-core24                 6.8.2-6.11.0-6.2.5-24.12.3  19        latest/stable    kde✓             -
mesa-2404                  24.2.8                      495       latest/stable    canonical✓       -
restic                     0.14.0                      41        latest/stable    bashfulrobot     classic
snap-store                 0+git.7a3a49a6              1248      2/stable/…       canonical✓       -
snapd                      2.67.1                      23771     latest/stable    canonical✓       snapd
snapd-desktop-integration  0.9                         253       latest/stable    canonical✓       -
spotify                    1.2.56.502.ga68d2d4f        84        latest/stable    spotify✓         -
thunderbird                128.8.1esr-1                684       latest/stable    canonical✓       -
ubuntu-frame               205-mir2.19.3               11874     24/stable        canonical✓       -
ubuntu-frame-vnc           82-wayvnc0.7.2-1build2      607       24/stable        canonical✓       -
zoom-client                6.2.3.2056                  242       latest/stable    ogra             -
MyUser@MyUser-SVF1521A6EW:~$ 

Other application that seems to fail, but with different symptoms:

MyUser@MyUser-SVF1521A6EW:~$ kbackup
From getter desktopFileName "org.kde.kbackup"
Failed to create wl_display (Permission denied)
qt.qpa.wayland: Failed to initialize EGL display 3001
qt.qpa.plugin: Could not load the Qt platform plugin "wayland-egl" 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, linuxfb, minimal, minimalegl, offscreen, vkkhrdisplay, vnc, wayland-egl, wayland, xcb.

Abgebrochen (Speicherabzug geschrieben) MyUser@MyUser-SVF1521A6EW:~$

EDIT - Update #2:

Saw this in another post ... maybe it is relevant to identify the root-cause:

MyUser@MyUser-SVF1521A6EW:~$ inxi -G
Graphics:
  Device-1: Intel 3rd Gen Core processor Graphics driver: i915 v: kernel
  Device-2: Realtek Front Camera driver: uvcvideo type: USB
  Display: wayland server: X.Org v: 23.2.6 with: Xwayland v: 23.2.6
    compositor: gnome-shell v: 46.0 driver: X: loaded: modesetting
    unloaded: fbdev,vesa dri: crocus gpu: i915 resolution: 1366x768~60Hz
  API: EGL v: 1.5 drivers: crocus,swrast
    platforms: gbm,wayland,x11,surfaceless,device
  API: OpenGL v: 4.5 compat-v: 4.2 vendor: intel mesa
    v: 24.2.8-1ubuntu1~24.04.1 renderer: Mesa Intel HD Graphics 2500 (IVB GT1)
MyUser@MyUser-SVF1521A6EW:~$ 

EDIT - Update #3:

Here's the ceck according to @david's hint - snaps refreshed:

MyUser@MyUser-SVF1521A6EW:~$ thunderbird --safe-mode
[4488] Wayland Proxy [0x789361e7b9b0] Error: CheckWaylandDisplay(): Failed to connect to Wayland display '/run/user/1000/snap.thunderbird/wayland-0' error: Permission denied
Error: we don't have any display, WAYLAND_DISPLAY='wayland-0' DISPLAY=':0'
MyUser@MyUser-SVF1521A6EW:~$ sudo snap refresh
[sudo] Passwort für MyUser: 
ubuntu-frame-vnc (24/stable) 84-wayvnc0.7.2-1build2 from Canonical✓ refreshed
MyUser@MyUser-SVF1521A6EW:~$ thunderbird --safe-mode
[5514] Wayland Proxy [0x76fe0747c340] Error: CheckWaylandDisplay(): Failed to connect to Wayland display '/run/user/1000/snap.thunderbird/wayland-0' error: Permission denied
Error: we don't have any display, WAYLAND_DISPLAY='wayland-0' DISPLAY=':0'
MyUser@MyUser-SVF1521A6EW:~$ 
FrSch
  • 21

1 Answers1

0

Solution or Work-around:

After scanning tons of postings related to Wayland topics around its standardization in 24.04 and the handling of display environment and sockets, I stumbled over some hints.

  • Thunderbird is way behind e.g. firefox in Wayland support
  • Instead of snap as installation tool
  • it is better supported using flatpak.

Consequently installed the later way it starts without errors and the settings from 22.04 can be imported without problems. ==> It is usable again.

FrSch
  • 21