[Desktop-packages] [Bug 2003192]
Already commented on the ubuntu bug tracker: It looks this is fixed in stable|candidate 115.3.2-2 (395) and in beta 119.0b5-1 (397) as well. How i tested: I tried on ubuntu with disconnected x11, with two users (uid 1000, uid 1001). Starting with fresh ~/snap/thunderbird dirs. For beta I also updated from a profile in use. LGTM -- You received this bug notification because you are a member of Desktop Packages, which is subscribed to thunderbird in Ubuntu. https://bugs.launchpad.net/bugs/2003192 Title: thunderbird snap does not work without x11 interface connected Status in Mozilla Thunderbird: Invalid Status in thunderbird package in Ubuntu: Fix Released Bug description: When I disconnect the thunderbird from the x11 interface thunderbird crashes saying it can not find the wayland socket. If I add a link to the wayland socket inside the container thunderbird works fine. That is on kubuntu 22.04 in a plasma/wayland session, MOZ_ENABLE_WAYLAND=1 is set on the host and in the container as well. This also probably means that the thunderbird snap actually never uses native wayland and falls back to xwayland (because the wayland socket can not be found). This unintended use of xwayland could be construed as a security issue, but someone who mistrusts snaps using x11 (like me) will remove the permission which leads to failure instead of a security issue. $ snap run thunderbird ## BROKEN ... [GFX1-]: glxtest: libpci missing [GFX1-]: glxtest: Could not connect to wayland socket [GFX1-]: No GPUs detected via PCI (thunderbird:103861): Gtk-WARNING **: 12:37:14.162: cannot open display: :1 ExceptionHandler::GenerateDump cloned child 103976 ExceptionHandler::SendContinueSignalToChild sent continue signal to child ExceptionHandler::WaitForContinueSignal waiting for continue signal... $ snap run --shell thunderbird ## FIXING IT To run a command as administrator (user "root"), use "sudo ". See "man sudo_root" for details. user@user-mycomputer:/$ ln -s /run/user/1000/wayland-0 $XDG_RUNTIME_DIR/ ; exit $ snap run thunderbird ## NOW IT WORKS $ lsb_release -rd ## UBUNTU VERSION Description:Ubuntu 22.04.1 LTS Release:22.04 $ snap interfaces thunderbird ## SNAP CONFIGURATION Slot Plug gnome-3-38-2004:gnome-3-38-2004 thunderbird gtk-common-themes:gtk-3-themes thunderbird gtk-common-themes:icon-themesthunderbird gtk-common-themes:sound-themes thunderbird :audio-playback thunderbird :browser-support thunderbird:browser-sandbox :cups-controlthunderbird :desktop thunderbird :desktop-legacy thunderbird :gsettings thunderbird :homethunderbird :network thunderbird :opengl thunderbird :system-filesthunderbird:etc-thunderbird-policies :wayland thunderbird thunderbird:dbus-daemon - -thunderbird:avahi-observe -thunderbird:camera -thunderbird:gpg-keys -thunderbird:network-control -thunderbird:removable-media -thunderbird:u2f-devices -thunderbird:x11 $ snap info thunderbird ## THUNDERBIRD SNAP VERSION ... installed: 102.7.0-1(288) 106MB - $ snap --version ## SNAPD etc VERSION snap2.58 snapd 2.58 series 16 ubuntu 22.04 kernel 5.15.0-57-generic To manage notifications about this bug go to: https://bugs.launchpad.net/thunderbird/+bug/2003192/+subscriptions -- Mailing list: https://launchpad.net/~desktop-packages Post to : desktop-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~desktop-packages More help : https://help.launchpad.net/ListHelp
[Desktop-packages] [Bug 2003192] Re: thunderbird snap does not work without x11 interface connected
How i tested: I tried on ubuntu with disconnected x11, with two users (uid 1000, uid 1001). Starting with fresh ~/snap/thunderbird dirs. For beta I also updated from a profile in use. LGTM ** Changed in: thunderbird (Ubuntu) Status: New => Fix Released -- You received this bug notification because you are a member of Desktop Packages, which is subscribed to thunderbird in Ubuntu. https://bugs.launchpad.net/bugs/2003192 Title: thunderbird snap does not work without x11 interface connected Status in Mozilla Thunderbird: New Status in thunderbird package in Ubuntu: Fix Released Bug description: When I disconnect the thunderbird from the x11 interface thunderbird crashes saying it can not find the wayland socket. If I add a link to the wayland socket inside the container thunderbird works fine. That is on kubuntu 22.04 in a plasma/wayland session, MOZ_ENABLE_WAYLAND=1 is set on the host and in the container as well. This also probably means that the thunderbird snap actually never uses native wayland and falls back to xwayland (because the wayland socket can not be found). This unintended use of xwayland could be construed as a security issue, but someone who mistrusts snaps using x11 (like me) will remove the permission which leads to failure instead of a security issue. $ snap run thunderbird ## BROKEN ... [GFX1-]: glxtest: libpci missing [GFX1-]: glxtest: Could not connect to wayland socket [GFX1-]: No GPUs detected via PCI (thunderbird:103861): Gtk-WARNING **: 12:37:14.162: cannot open display: :1 ExceptionHandler::GenerateDump cloned child 103976 ExceptionHandler::SendContinueSignalToChild sent continue signal to child ExceptionHandler::WaitForContinueSignal waiting for continue signal... $ snap run --shell thunderbird ## FIXING IT To run a command as administrator (user "root"), use "sudo ". See "man sudo_root" for details. user@user-mycomputer:/$ ln -s /run/user/1000/wayland-0 $XDG_RUNTIME_DIR/ ; exit $ snap run thunderbird ## NOW IT WORKS $ lsb_release -rd ## UBUNTU VERSION Description:Ubuntu 22.04.1 LTS Release:22.04 $ snap interfaces thunderbird ## SNAP CONFIGURATION Slot Plug gnome-3-38-2004:gnome-3-38-2004 thunderbird gtk-common-themes:gtk-3-themes thunderbird gtk-common-themes:icon-themesthunderbird gtk-common-themes:sound-themes thunderbird :audio-playback thunderbird :browser-support thunderbird:browser-sandbox :cups-controlthunderbird :desktop thunderbird :desktop-legacy thunderbird :gsettings thunderbird :homethunderbird :network thunderbird :opengl thunderbird :system-filesthunderbird:etc-thunderbird-policies :wayland thunderbird thunderbird:dbus-daemon - -thunderbird:avahi-observe -thunderbird:camera -thunderbird:gpg-keys -thunderbird:network-control -thunderbird:removable-media -thunderbird:u2f-devices -thunderbird:x11 $ snap info thunderbird ## THUNDERBIRD SNAP VERSION ... installed: 102.7.0-1(288) 106MB - $ snap --version ## SNAPD etc VERSION snap2.58 snapd 2.58 series 16 ubuntu 22.04 kernel 5.15.0-57-generic To manage notifications about this bug go to: https://bugs.launchpad.net/thunderbird/+bug/2003192/+subscriptions -- Mailing list: https://launchpad.net/~desktop-packages Post to : desktop-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~desktop-packages More help : https://help.launchpad.net/ListHelp
[Desktop-packages] [Bug 2003192] Re: thunderbird snap does not work without x11 interface connected
It looks this is fixed in stable|candidate 115.3.2-2 (395) and in beta 119.0b5-1 (397) as well. -- You received this bug notification because you are a member of Desktop Packages, which is subscribed to thunderbird in Ubuntu. https://bugs.launchpad.net/bugs/2003192 Title: thunderbird snap does not work without x11 interface connected Status in Mozilla Thunderbird: New Status in thunderbird package in Ubuntu: Fix Released Bug description: When I disconnect the thunderbird from the x11 interface thunderbird crashes saying it can not find the wayland socket. If I add a link to the wayland socket inside the container thunderbird works fine. That is on kubuntu 22.04 in a plasma/wayland session, MOZ_ENABLE_WAYLAND=1 is set on the host and in the container as well. This also probably means that the thunderbird snap actually never uses native wayland and falls back to xwayland (because the wayland socket can not be found). This unintended use of xwayland could be construed as a security issue, but someone who mistrusts snaps using x11 (like me) will remove the permission which leads to failure instead of a security issue. $ snap run thunderbird ## BROKEN ... [GFX1-]: glxtest: libpci missing [GFX1-]: glxtest: Could not connect to wayland socket [GFX1-]: No GPUs detected via PCI (thunderbird:103861): Gtk-WARNING **: 12:37:14.162: cannot open display: :1 ExceptionHandler::GenerateDump cloned child 103976 ExceptionHandler::SendContinueSignalToChild sent continue signal to child ExceptionHandler::WaitForContinueSignal waiting for continue signal... $ snap run --shell thunderbird ## FIXING IT To run a command as administrator (user "root"), use "sudo ". See "man sudo_root" for details. user@user-mycomputer:/$ ln -s /run/user/1000/wayland-0 $XDG_RUNTIME_DIR/ ; exit $ snap run thunderbird ## NOW IT WORKS $ lsb_release -rd ## UBUNTU VERSION Description:Ubuntu 22.04.1 LTS Release:22.04 $ snap interfaces thunderbird ## SNAP CONFIGURATION Slot Plug gnome-3-38-2004:gnome-3-38-2004 thunderbird gtk-common-themes:gtk-3-themes thunderbird gtk-common-themes:icon-themesthunderbird gtk-common-themes:sound-themes thunderbird :audio-playback thunderbird :browser-support thunderbird:browser-sandbox :cups-controlthunderbird :desktop thunderbird :desktop-legacy thunderbird :gsettings thunderbird :homethunderbird :network thunderbird :opengl thunderbird :system-filesthunderbird:etc-thunderbird-policies :wayland thunderbird thunderbird:dbus-daemon - -thunderbird:avahi-observe -thunderbird:camera -thunderbird:gpg-keys -thunderbird:network-control -thunderbird:removable-media -thunderbird:u2f-devices -thunderbird:x11 $ snap info thunderbird ## THUNDERBIRD SNAP VERSION ... installed: 102.7.0-1(288) 106MB - $ snap --version ## SNAPD etc VERSION snap2.58 snapd 2.58 series 16 ubuntu 22.04 kernel 5.15.0-57-generic To manage notifications about this bug go to: https://bugs.launchpad.net/thunderbird/+bug/2003192/+subscriptions -- Mailing list: https://launchpad.net/~desktop-packages Post to : desktop-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~desktop-packages More help : https://help.launchpad.net/ListHelp
[Desktop-packages] [Bug 1996267] Re: [snap] Doesn't store encrypted passwords unless interface is connected
> > According to the chromium documented cited, this is wrong. > > If it applied a rot13 to your password ...it would be the same security level against anyone who has ever read anything about security as storing it plaintext. That is just obfuscation. The point was not that it is plain text. The point was that it is unsafe. And your cited discussion thread jdstrand also refers to the situation as > with it not connected the passwords are stored in effectively plaintext on > disk If there is no (secure) secret, there is no added security level. > > For many people an autoconnect for the password-manager-service would > > probably solve this > > Then you're welcome to follow up in [1], in which the automatic connection of > the interface has been > declined. I cannot override the policy reviewers' decision. referring to that thread is a sensible answer; probably there should be a feature request for an auto-connection to some kind of restricted password manager (where a snap can only write and read its own passwords), which may be manually connected to one of the usual password managers if the users decide so. if what jdstrand writes is true.. > Other snaps that plugs password-manager-service also have access to chromium’s passwords. .. i think the current password manager situation (all connected snaps sharing passwords) is kind of broken. Probably the same kind of broken like on a normal desktop, but snaps are supposed to sandboxed. -- You received this bug notification because you are a member of Desktop Packages, which is subscribed to chromium-browser in Ubuntu. https://bugs.launchpad.net/bugs/1996267 Title: [snap] Doesn't store encrypted passwords unless interface is connected Status in chromium-browser package in Ubuntu: Confirmed Bug description: In the Snap package of Chromium, Chromium is not protecting passwords with gnome-keyring (or KWallet). As a result, copying the Chromium profile directory from the snap directory gives access to all stored passwords. This is a HIGH security risk. Regular users who are used to storing their passwords in browsers are probably unaware of this. Note that Chromium is started with the command line option “--password-store=basic”. This hack should never have been released to the public. The Chromium documentation states: > --password-store=basic (to use the plain text store) https://chromium.googlesource.com/chromium/src/+/master/docs/linux/password_storage.md To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/chromium-browser/+bug/1996267/+subscriptions -- Mailing list: https://launchpad.net/~desktop-packages Post to : desktop-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~desktop-packages More help : https://help.launchpad.net/ListHelp
[Desktop-packages] [Bug 1996267] Re: [snap] Doesn't store encrypted passwords unless interface is connected
> > As a result, copying the Chromium profile directory from the snap > > directory gives access to all stored passwords. > > Please note those passwords are not stored in the clear, though they can > be discovered by going into Chromium's Settings > Passwords. According to the chromium documented cited, this is wrong. According to the docs, the credentials are actually stored as plain text in the chrome profile if one is not using an external password manager. And this is still true today. You can also see that when using chromium - no one has to give a secret at any time to decrypt the passwords. For many people an autoconnect for the password-manager-service would probably solve this -- You received this bug notification because you are a member of Desktop Packages, which is subscribed to chromium-browser in Ubuntu. https://bugs.launchpad.net/bugs/1996267 Title: [snap] Doesn't store encrypted passwords unless interface is connected Status in chromium-browser package in Ubuntu: Confirmed Bug description: In the Snap package of Chromium, Chromium is not protecting passwords with gnome-keyring (or KWallet). As a result, copying the Chromium profile directory from the snap directory gives access to all stored passwords. This is a HIGH security risk. Regular users who are used to storing their passwords in browsers are probably unaware of this. Note that Chromium is started with the command line option “--password-store=basic”. This hack should never have been released to the public. The Chromium documentation states: > --password-store=basic (to use the plain text store) https://chromium.googlesource.com/chromium/src/+/master/docs/linux/password_storage.md To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/chromium-browser/+bug/1996267/+subscriptions -- Mailing list: https://launchpad.net/~desktop-packages Post to : desktop-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~desktop-packages More help : https://help.launchpad.net/ListHelp
[Desktop-packages] [Bug 2003192]
err: that broken thunderbird snap beta revision is 391 (119.0b3-1) -- You received this bug notification because you are a member of Desktop Packages, which is subscribed to thunderbird in Ubuntu. https://bugs.launchpad.net/bugs/2003192 Title: thunderbird snap does not work without x11 interface connected Status in Mozilla Thunderbird: New Status in thunderbird package in Ubuntu: New Bug description: When I disconnect the thunderbird from the x11 interface thunderbird crashes saying it can not find the wayland socket. If I add a link to the wayland socket inside the container thunderbird works fine. That is on kubuntu 22.04 in a plasma/wayland session, MOZ_ENABLE_WAYLAND=1 is set on the host and in the container as well. This also probably means that the thunderbird snap actually never uses native wayland and falls back to xwayland (because the wayland socket can not be found). This unintended use of xwayland could be construed as a security issue, but someone who mistrusts snaps using x11 (like me) will remove the permission which leads to failure instead of a security issue. $ snap run thunderbird ## BROKEN ... [GFX1-]: glxtest: libpci missing [GFX1-]: glxtest: Could not connect to wayland socket [GFX1-]: No GPUs detected via PCI (thunderbird:103861): Gtk-WARNING **: 12:37:14.162: cannot open display: :1 ExceptionHandler::GenerateDump cloned child 103976 ExceptionHandler::SendContinueSignalToChild sent continue signal to child ExceptionHandler::WaitForContinueSignal waiting for continue signal... $ snap run --shell thunderbird ## FIXING IT To run a command as administrator (user "root"), use "sudo ". See "man sudo_root" for details. user@user-mycomputer:/$ ln -s /run/user/1000/wayland-0 $XDG_RUNTIME_DIR/ ; exit $ snap run thunderbird ## NOW IT WORKS $ lsb_release -rd ## UBUNTU VERSION Description:Ubuntu 22.04.1 LTS Release:22.04 $ snap interfaces thunderbird ## SNAP CONFIGURATION Slot Plug gnome-3-38-2004:gnome-3-38-2004 thunderbird gtk-common-themes:gtk-3-themes thunderbird gtk-common-themes:icon-themesthunderbird gtk-common-themes:sound-themes thunderbird :audio-playback thunderbird :browser-support thunderbird:browser-sandbox :cups-controlthunderbird :desktop thunderbird :desktop-legacy thunderbird :gsettings thunderbird :homethunderbird :network thunderbird :opengl thunderbird :system-filesthunderbird:etc-thunderbird-policies :wayland thunderbird thunderbird:dbus-daemon - -thunderbird:avahi-observe -thunderbird:camera -thunderbird:gpg-keys -thunderbird:network-control -thunderbird:removable-media -thunderbird:u2f-devices -thunderbird:x11 $ snap info thunderbird ## THUNDERBIRD SNAP VERSION ... installed: 102.7.0-1(288) 106MB - $ snap --version ## SNAPD etc VERSION snap2.58 snapd 2.58 series 16 ubuntu 22.04 kernel 5.15.0-57-generic To manage notifications about this bug go to: https://bugs.launchpad.net/thunderbird/+bug/2003192/+subscriptions -- Mailing list: https://launchpad.net/~desktop-packages Post to : desktop-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~desktop-packages More help : https://help.launchpad.net/ListHelp
[Desktop-packages] [Bug 2003192]
still a problem with snap stable revisision 389 (115.3.1-1) and snap beta revision 389 (119.0b3-1) -- You received this bug notification because you are a member of Desktop Packages, which is subscribed to thunderbird in Ubuntu. https://bugs.launchpad.net/bugs/2003192 Title: thunderbird snap does not work without x11 interface connected Status in Mozilla Thunderbird: New Status in thunderbird package in Ubuntu: New Bug description: When I disconnect the thunderbird from the x11 interface thunderbird crashes saying it can not find the wayland socket. If I add a link to the wayland socket inside the container thunderbird works fine. That is on kubuntu 22.04 in a plasma/wayland session, MOZ_ENABLE_WAYLAND=1 is set on the host and in the container as well. This also probably means that the thunderbird snap actually never uses native wayland and falls back to xwayland (because the wayland socket can not be found). This unintended use of xwayland could be construed as a security issue, but someone who mistrusts snaps using x11 (like me) will remove the permission which leads to failure instead of a security issue. $ snap run thunderbird ## BROKEN ... [GFX1-]: glxtest: libpci missing [GFX1-]: glxtest: Could not connect to wayland socket [GFX1-]: No GPUs detected via PCI (thunderbird:103861): Gtk-WARNING **: 12:37:14.162: cannot open display: :1 ExceptionHandler::GenerateDump cloned child 103976 ExceptionHandler::SendContinueSignalToChild sent continue signal to child ExceptionHandler::WaitForContinueSignal waiting for continue signal... $ snap run --shell thunderbird ## FIXING IT To run a command as administrator (user "root"), use "sudo ". See "man sudo_root" for details. user@user-mycomputer:/$ ln -s /run/user/1000/wayland-0 $XDG_RUNTIME_DIR/ ; exit $ snap run thunderbird ## NOW IT WORKS $ lsb_release -rd ## UBUNTU VERSION Description:Ubuntu 22.04.1 LTS Release:22.04 $ snap interfaces thunderbird ## SNAP CONFIGURATION Slot Plug gnome-3-38-2004:gnome-3-38-2004 thunderbird gtk-common-themes:gtk-3-themes thunderbird gtk-common-themes:icon-themesthunderbird gtk-common-themes:sound-themes thunderbird :audio-playback thunderbird :browser-support thunderbird:browser-sandbox :cups-controlthunderbird :desktop thunderbird :desktop-legacy thunderbird :gsettings thunderbird :homethunderbird :network thunderbird :opengl thunderbird :system-filesthunderbird:etc-thunderbird-policies :wayland thunderbird thunderbird:dbus-daemon - -thunderbird:avahi-observe -thunderbird:camera -thunderbird:gpg-keys -thunderbird:network-control -thunderbird:removable-media -thunderbird:u2f-devices -thunderbird:x11 $ snap info thunderbird ## THUNDERBIRD SNAP VERSION ... installed: 102.7.0-1(288) 106MB - $ snap --version ## SNAPD etc VERSION snap2.58 snapd 2.58 series 16 ubuntu 22.04 kernel 5.15.0-57-generic To manage notifications about this bug go to: https://bugs.launchpad.net/thunderbird/+bug/2003192/+subscriptions -- Mailing list: https://launchpad.net/~desktop-packages Post to : desktop-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~desktop-packages More help : https://help.launchpad.net/ListHelp
[Desktop-packages] [Bug 2003192]
Yes it does reproduce in 115 . Hinting it to use wayland using MOZ_ENABLE_WAYLAND=1 snap run thunderbird gives more errors but finally also fails when looking for a X display. Adding the link to the wayland socket still solves it. No, it is not possible to start Help > Troubleshoot Mode without the modification (because there is no UI). Also running snap thunderbird -safe-mode tells one that cannot open display: 1 (failing to find wayland and then trying X11). How to reproduce? * start a wayland session * sudo snap install thunderbird * sudo snap disconnect thunderbird:x11 * MOZ_ENABLE_WAYLAND=1 snap run thunderbird -- You received this bug notification because you are a member of Desktop Packages, which is subscribed to thunderbird in Ubuntu. https://bugs.launchpad.net/bugs/2003192 Title: thunderbird snap does not work without x11 interface connected Status in Mozilla Thunderbird: New Status in thunderbird package in Ubuntu: New Bug description: When I disconnect the thunderbird from the x11 interface thunderbird crashes saying it can not find the wayland socket. If I add a link to the wayland socket inside the container thunderbird works fine. That is on kubuntu 22.04 in a plasma/wayland session, MOZ_ENABLE_WAYLAND=1 is set on the host and in the container as well. This also probably means that the thunderbird snap actually never uses native wayland and falls back to xwayland (because the wayland socket can not be found). This unintended use of xwayland could be construed as a security issue, but someone who mistrusts snaps using x11 (like me) will remove the permission which leads to failure instead of a security issue. $ snap run thunderbird ## BROKEN ... [GFX1-]: glxtest: libpci missing [GFX1-]: glxtest: Could not connect to wayland socket [GFX1-]: No GPUs detected via PCI (thunderbird:103861): Gtk-WARNING **: 12:37:14.162: cannot open display: :1 ExceptionHandler::GenerateDump cloned child 103976 ExceptionHandler::SendContinueSignalToChild sent continue signal to child ExceptionHandler::WaitForContinueSignal waiting for continue signal... $ snap run --shell thunderbird ## FIXING IT To run a command as administrator (user "root"), use "sudo ". See "man sudo_root" for details. user@user-mycomputer:/$ ln -s /run/user/1000/wayland-0 $XDG_RUNTIME_DIR/ ; exit $ snap run thunderbird ## NOW IT WORKS $ lsb_release -rd ## UBUNTU VERSION Description:Ubuntu 22.04.1 LTS Release:22.04 $ snap interfaces thunderbird ## SNAP CONFIGURATION Slot Plug gnome-3-38-2004:gnome-3-38-2004 thunderbird gtk-common-themes:gtk-3-themes thunderbird gtk-common-themes:icon-themesthunderbird gtk-common-themes:sound-themes thunderbird :audio-playback thunderbird :browser-support thunderbird:browser-sandbox :cups-controlthunderbird :desktop thunderbird :desktop-legacy thunderbird :gsettings thunderbird :homethunderbird :network thunderbird :opengl thunderbird :system-filesthunderbird:etc-thunderbird-policies :wayland thunderbird thunderbird:dbus-daemon - -thunderbird:avahi-observe -thunderbird:camera -thunderbird:gpg-keys -thunderbird:network-control -thunderbird:removable-media -thunderbird:u2f-devices -thunderbird:x11 $ snap info thunderbird ## THUNDERBIRD SNAP VERSION ... installed: 102.7.0-1(288) 106MB - $ snap --version ## SNAPD etc VERSION snap2.58 snapd 2.58 series 16 ubuntu 22.04 kernel 5.15.0-57-generic To manage notifications about this bug go to: https://bugs.launchpad.net/thunderbird/+bug/2003192/+subscriptions -- Mailing list: https://launchpad.net/~desktop-packages Post to : desktop-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~desktop-packages More help : https://help.launchpad.net/ListHelp
[Desktop-packages] [Bug 2003192] Re: thunderbird snap does not work without x11 interface connected
** Bug watch added: Mozilla Bugzilla #1819866 https://bugzilla.mozilla.org/show_bug.cgi?id=1819866 ** Also affects: thunderbird via https://bugzilla.mozilla.org/show_bug.cgi?id=1819866 Importance: Unknown Status: Unknown -- You received this bug notification because you are a member of Desktop Packages, which is subscribed to thunderbird in Ubuntu. https://bugs.launchpad.net/bugs/2003192 Title: thunderbird snap does not work without x11 interface connected Status in Mozilla Thunderbird: Unknown Status in thunderbird package in Ubuntu: New Bug description: When I disconnect the thunderbird from the x11 interface thunderbird crashes saying it can not find the wayland socket. If I add a link to the wayland socket inside the container thunderbird works fine. That is on kubuntu 22.04 in a plasma/wayland session, MOZ_ENABLE_WAYLAND=1 is set on the host and in the container as well. This also probably means that the thunderbird snap actually never uses native wayland and falls back to xwayland (because the wayland socket can not be found). This unintended use of xwayland could be construed as a security issue, but someone who mistrusts snaps using x11 (like me) will remove the permission which leads to failure instead of a security issue. $ snap run thunderbird ## BROKEN ... [GFX1-]: glxtest: libpci missing [GFX1-]: glxtest: Could not connect to wayland socket [GFX1-]: No GPUs detected via PCI (thunderbird:103861): Gtk-WARNING **: 12:37:14.162: cannot open display: :1 ExceptionHandler::GenerateDump cloned child 103976 ExceptionHandler::SendContinueSignalToChild sent continue signal to child ExceptionHandler::WaitForContinueSignal waiting for continue signal... $ snap run --shell thunderbird ## FIXING IT To run a command as administrator (user "root"), use "sudo ". See "man sudo_root" for details. user@user-mycomputer:/$ ln -s /run/user/1000/wayland-0 $XDG_RUNTIME_DIR/ ; exit $ snap run thunderbird ## NOW IT WORKS $ lsb_release -rd ## UBUNTU VERSION Description:Ubuntu 22.04.1 LTS Release:22.04 $ snap interfaces thunderbird ## SNAP CONFIGURATION Slot Plug gnome-3-38-2004:gnome-3-38-2004 thunderbird gtk-common-themes:gtk-3-themes thunderbird gtk-common-themes:icon-themesthunderbird gtk-common-themes:sound-themes thunderbird :audio-playback thunderbird :browser-support thunderbird:browser-sandbox :cups-controlthunderbird :desktop thunderbird :desktop-legacy thunderbird :gsettings thunderbird :homethunderbird :network thunderbird :opengl thunderbird :system-filesthunderbird:etc-thunderbird-policies :wayland thunderbird thunderbird:dbus-daemon - -thunderbird:avahi-observe -thunderbird:camera -thunderbird:gpg-keys -thunderbird:network-control -thunderbird:removable-media -thunderbird:u2f-devices -thunderbird:x11 $ snap info thunderbird ## THUNDERBIRD SNAP VERSION ... installed: 102.7.0-1(288) 106MB - $ snap --version ## SNAPD etc VERSION snap2.58 snapd 2.58 series 16 ubuntu 22.04 kernel 5.15.0-57-generic To manage notifications about this bug go to: https://bugs.launchpad.net/thunderbird/+bug/2003192/+subscriptions -- Mailing list: https://launchpad.net/~desktop-packages Post to : desktop-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~desktop-packages More help : https://help.launchpad.net/ListHelp
[Desktop-packages] [Bug 2003192] Re: thunderbird snap does not work without x11 interface connected
Note: such a workaround is basically necessary for every snap using wayland. The mir project mentions this in their documentation about using ubuntu-frame in IoT and provides a wayland-launch helper script. For documentation and script see the “wayland interface dance” in https://mir-server.io/docs/iot-gui-snaps-made-easy -- You received this bug notification because you are a member of Desktop Packages, which is subscribed to thunderbird in Ubuntu. https://bugs.launchpad.net/bugs/2003192 Title: thunderbird snap does not work without x11 interface connected Status in thunderbird package in Ubuntu: New Bug description: When I disconnect the thunderbird from the x11 interface thunderbird crashes saying it can not find the wayland socket. If I add a link to the wayland socket inside the container thunderbird works fine. That is on kubuntu 22.04 in a plasma/wayland session, MOZ_ENABLE_WAYLAND=1 is set on the host and in the container as well. This also probably means that the thunderbird snap actually never uses native wayland and falls back to xwayland (because the wayland socket can not be found). This unintended use of xwayland could be construed as a security issue, but someone who mistrusts snaps using x11 (like me) will remove the permission which leads to failure instead of a security issue. $ snap run thunderbird ## BROKEN ... [GFX1-]: glxtest: libpci missing [GFX1-]: glxtest: Could not connect to wayland socket [GFX1-]: No GPUs detected via PCI (thunderbird:103861): Gtk-WARNING **: 12:37:14.162: cannot open display: :1 ExceptionHandler::GenerateDump cloned child 103976 ExceptionHandler::SendContinueSignalToChild sent continue signal to child ExceptionHandler::WaitForContinueSignal waiting for continue signal... $ snap run --shell thunderbird ## FIXING IT To run a command as administrator (user "root"), use "sudo ". See "man sudo_root" for details. user@user-mycomputer:/$ ln -s /run/user/1000/wayland-0 $XDG_RUNTIME_DIR/ ; exit $ snap run thunderbird ## NOW IT WORKS $ lsb_release -rd ## UBUNTU VERSION Description:Ubuntu 22.04.1 LTS Release:22.04 $ snap interfaces thunderbird ## SNAP CONFIGURATION Slot Plug gnome-3-38-2004:gnome-3-38-2004 thunderbird gtk-common-themes:gtk-3-themes thunderbird gtk-common-themes:icon-themesthunderbird gtk-common-themes:sound-themes thunderbird :audio-playback thunderbird :browser-support thunderbird:browser-sandbox :cups-controlthunderbird :desktop thunderbird :desktop-legacy thunderbird :gsettings thunderbird :homethunderbird :network thunderbird :opengl thunderbird :system-filesthunderbird:etc-thunderbird-policies :wayland thunderbird thunderbird:dbus-daemon - -thunderbird:avahi-observe -thunderbird:camera -thunderbird:gpg-keys -thunderbird:network-control -thunderbird:removable-media -thunderbird:u2f-devices -thunderbird:x11 $ snap info thunderbird ## THUNDERBIRD SNAP VERSION ... installed: 102.7.0-1(288) 106MB - $ snap --version ## SNAPD etc VERSION snap2.58 snapd 2.58 series 16 ubuntu 22.04 kernel 5.15.0-57-generic To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/thunderbird/+bug/2003192/+subscriptions -- Mailing list: https://launchpad.net/~desktop-packages Post to : desktop-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~desktop-packages More help : https://help.launchpad.net/ListHelp
[Desktop-packages] [Bug 2003192] [NEW] thunderbird snap does not work without x11 interface connected
Public bug reported: When I disconnect the thunderbird from the x11 interface thunderbird crashes saying it can not find the wayland socket. If I add a link to the wayland socket inside the container thunderbird works fine. That is on kubuntu 22.04 in a plasma/wayland session, MOZ_ENABLE_WAYLAND=1 is set on the host and in the container as well. This also probably means that the thunderbird snap actually never uses native wayland and falls back to xwayland (because the wayland socket can not be found). This unintended use of xwayland could be construed as a security issue, but someone who mistrusts snaps using x11 (like me) will remove the permission which leads to failure instead of a security issue. $ snap run thunderbird ## BROKEN ... [GFX1-]: glxtest: libpci missing [GFX1-]: glxtest: Could not connect to wayland socket [GFX1-]: No GPUs detected via PCI (thunderbird:103861): Gtk-WARNING **: 12:37:14.162: cannot open display: :1 ExceptionHandler::GenerateDump cloned child 103976 ExceptionHandler::SendContinueSignalToChild sent continue signal to child ExceptionHandler::WaitForContinueSignal waiting for continue signal... $ snap run --shell thunderbird ## FIXING IT To run a command as administrator (user "root"), use "sudo ". See "man sudo_root" for details. user@user-mycomputer:/$ ln -s /run/user/1000/wayland-0 $XDG_RUNTIME_DIR/ ; exit $ snap run thunderbird ## NOW IT WORKS $ lsb_release -rd ## UBUNTU VERSION Description:Ubuntu 22.04.1 LTS Release:22.04 $ snap interfaces thunderbird ## SNAP CONFIGURATION Slot Plug gnome-3-38-2004:gnome-3-38-2004 thunderbird gtk-common-themes:gtk-3-themes thunderbird gtk-common-themes:icon-themesthunderbird gtk-common-themes:sound-themes thunderbird :audio-playback thunderbird :browser-support thunderbird:browser-sandbox :cups-controlthunderbird :desktop thunderbird :desktop-legacy thunderbird :gsettings thunderbird :homethunderbird :network thunderbird :opengl thunderbird :system-filesthunderbird:etc-thunderbird-policies :wayland thunderbird thunderbird:dbus-daemon - -thunderbird:avahi-observe -thunderbird:camera -thunderbird:gpg-keys -thunderbird:network-control -thunderbird:removable-media -thunderbird:u2f-devices -thunderbird:x11 $ snap info thunderbird ## THUNDERBIRD SNAP VERSION ... installed: 102.7.0-1(288) 106MB - $ snap --version ## SNAPD etc VERSION snap2.58 snapd 2.58 series 16 ubuntu 22.04 kernel 5.15.0-57-generic ** Affects: thunderbird (Ubuntu) Importance: Undecided Status: New ** Description changed: - When I disconnect the thunderbird from the x11 interface, thunderbird - crashes saying it cant find the wayland socket. If I add a link to the - wayland socket inside the container, thunderbird works fine. That is on - ubuntu 22.04. + When I disconnect the thunderbird from the x11 interface thunderbird + crashes saying it can not find the wayland socket. If I add a link to + the wayland socket inside the container thunderbird works fine. That is + on ubuntu 22.04. This also probably means that the thunderbird snap actually never uses native wayland and falls back to xwayland (because the wayland socket can not be found). This unintended use of xwayland could be construed as a security issue, but someone who mistrusts snaps using x11 (like me) will remove the permission which leads to failure instead of a security issue. - $ snap run thunderbird ## BROKEN ... [GFX1-]: glxtest: libpci missing [GFX1-]: glxtest: Could not connect to wayland socket [GFX1-]: No GPUs detected via PCI (thunderbird:103861): Gtk-WARNING **: 12:37:14.162: cannot open display: :1 ExceptionHandler::GenerateDump cloned child 103976 ExceptionHandler::SendContinueSignalToChild sent continue signal to child ExceptionHandler::WaitForContinueSignal waiting for continue signal... - $ snap run --shell thunderbird ## FIXING IT To run a command as administrator (user "root"), use "sudo ". See "man sudo_root" for details. user@user-mycomputer:/$ ln -s /run/user/1000/wayland-0 $XDG_RUNTIME_DIR/ ; exit $ snap run thunderbird ## NOW IT WORKS - $ lsb_release -rd ## UBUNTU VERSION Description:Ubuntu 22.04.1 LTS Release:22.04 - $ snap interfaces thunderbird ## SNAP CONFIGURATION Slot Plug gnome-3-38-2004:gnome-3-38-2004 thunderbird gtk-common-themes:gtk-3-themes thunderbird