On 2017-11-23 12:18 AM, Carsten Schoenert wrote: >> Also, directly running /usr/lib/thunderbird/thunderbird-bin works, too! >> Which is really weird because /usr/lib/thunderbird/thunderbird and >> /usr/lib/thunderbird/thunderbird-bin are the same, but only the latter one >> can connect to the X server. >> $ sha256sum /usr/lib/thunderbird/thunderbird* >> 126efa3f01f0d86c9d97702a90f163013ad1667e1a326fd193d61c72e034584e >> /usr/lib/thunderbird/thunderbird >> 126efa3f01f0d86c9d97702a90f163013ad1667e1a326fd193d61c72e034584e >> /usr/lib/thunderbird/thunderbird-bin >> a3f9e5f5820436e7205a0223ce6a7dee89b30bcf626e6de92f43fee4a2c87b24 >> /usr/lib/thunderbird/thunderbird-wrapper-helper.sh >> $ ls -l /usr/lib/thunderbird/thunderbird* >> -rwxr-xr-x 1 root root 126040 Oct 17 18:20 /usr/lib/thunderbird/thunderbird >> -rwxr-xr-x 1 root root 126040 Oct 17 18:20 >> /usr/lib/thunderbird/thunderbird-bin >> -rw-r--r-- 1 root root 14545 Oct 7 11:35 >> /usr/lib/thunderbird/thunderbird-wrapper-helper.sh >> >> What could be the difference between thunderbird and thunderbird-bin? > > I really don't know the reason why. I can remember in the past both > binaries have a different size and one of them was used for calling > Thunderbird for running on a remote side. That has changed sometimes > between version 20 and 30 I guess. > > Nethermind, I will modify the wrapper script we are using to call > thunderbird-bin with the next upload.
Currently, the Apparmor profile only applies to /usr/lib/thunderbird/thunderbird so if you change the wrapper script to call the "-bin" version, it would side step Apparmor. Maybe side stepping Apparmor is what made the "-bin" version work? That's a wild guess (I don't run Debian) but if that's the case, it would be better to fix the Apparmor profile. An easy way to check if Apparmor gets in the way would be to start thunderbird (no "-bin") and then run: dmesg -T | grep 'apparmor="DENIED"' If anything comes up please attach it in here. Regards, Simon
signature.asc
Description: OpenPGP digital signature