Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Thunderbird X close button doesn't do anything after installing SystrayX on Debian10/KDE #86

Closed
mYnDstrEAm opened this issue Jul 1, 2021 · 14 comments

Comments

@mYnDstrEAm
Copy link

mYnDstrEAm commented Jul 1, 2021

I'm running Debian10/KDE and installed SystrayX like this. When I started Thunderbird afterwards the X close button in the upper right doesn't do anything and does not minimize Thunderbird to the tray.

There isn't any systrayx in the tray even after running /usr/bin/SysTray-X. I don't think that it's a problem with AppArmor.

Is this a known problem? How to solve this?

@Ximi1970
Copy link
Owner

Ximi1970 commented Aug 2, 2021

I tested it again in a cleanly installed Debian / KDE. It is just working fine.

@Ximi1970 Ximi1970 closed this as completed Aug 2, 2021
@mYnDstrEAm
Copy link
Author

Ok, thanks for testing it. It must be caused by something else like AppArmor then. I'll try to find out by what.

@mYnDstrEAm
Copy link
Author

mYnDstrEAm commented Aug 3, 2021

it's due to AppArmor /var/log/syslog has this:

kernel: [...] audit: type=1400 audit(...): apparmor="DENIED" operation="ptrace" profile="thunderbird//sanitized_helper" pid=[...] comm="SysTray-X" requested_mask="read" denied_mask="read" peer="thunderbird"

How to make it work with AppArmor?

sudo apparmor_status shows:

[...] processes are in enforce mode.
   [...]
   /usr/lib/thunderbird/thunderbird-bin ([...]) thunderbird

@Ximi1970
Copy link
Owner

Ximi1970 commented Aug 3, 2021

Sorry, I do not know. Never had any problems with the default setup of AppArmor. Luckily never had to change anything. It is a configuration monstrosity....

@mYnDstrEAm
Copy link
Author

Asked about it here, maybe somebody knows more about it.

@mYnDstrEAm
Copy link
Author

It's still not working after upgrading to Debian 11 and the latest systray-x update. Clicking on the X button does nothing and there's no output in the console. There's still many entries about apparmor in the syslog. In Thunderbird version of Systray is 0.8.0. The addon Enigmail is installed as well.

@Ximi1970
Copy link
Owner

Ximi1970 commented Oct 2, 2021

Default setup for Debian Gnome is wayland. Please switch to X11

@Ximi1970
Copy link
Owner

Ximi1970 commented Oct 2, 2021

Checked again but works just fiine.

Fresh install Debian 11, make sure to select the Xorg Gnome when logging in. Install the package from the repo, logout and login.
Screenshot_20211002_175655

@mYnDstrEAm
Copy link
Author

I'm using KDE (as written) and am already using X11 (kwin_x11).

@Ximi1970
Copy link
Owner

Ximi1970 commented Oct 2, 2021

Checked also with a fresh install of Debian 11 with KDE instead of Gnome. Still working without any problems.
Screenshot_20211002_214406

@mYnDstrEAm
Copy link
Author

Thanks, really strange, I'll try to debug further - it seems to be a problem with AppArmor but that's enabled by default in Debian 11 so it should have also occurred there. The Thunderbird I have installed is 1:78.14.0-1~deb11u1, apparmor is 2.13.6-10 and apparmor-profiles also 2.13.6-10.

@Ximi1970
Copy link
Owner

Ximi1970 commented Oct 2, 2021

I got the same thunderbird and apparmor but the profiles are not installed in the clean version.

@Ximi1970
Copy link
Owner

Ximi1970 commented Oct 2, 2021

Installed the profiles. Still no problems.

@mYnDstrEAm
Copy link
Author

mYnDstrEAm commented Oct 4, 2021

Birdtray works now after upgrading to Debian11 (the question linked in the original post is solved now).

Couldn't determine why it didn't work. I also tried disabling all addons. There is no new syslog entry after clicking the X button. There are 3 apparmor error message when opening thunderbird for whatever reasons, these are:

audit: ... apparmor="DENIED" operation="open" profile="thunderbird" name="/proc/sys/dev/i915/perf_stream_paranoid" pid=... comm="thunderbird" requested_mask="r" denied_mask="r" fsuid=1000 ouid=0
audit: type=1400 audit(...): apparmor="DENIED" operation="open" profile="thunderbird" name="/proc/.../cgroup" pid=... comm="thunderbird" requested_mask="r" denied_mask="r" fsuid=1000 ouid=1000
audit: type=1400 audit(...): apparmor="DENIED" operation="ptrace" profile="thunderbird//sanitized_helper" pid=.... comm="SysTray-X" requested_mask="read" denied_mask="read" peer="thunderbird"

(and I launched thunderbird without firejail; didn't check for a recent update of the Thunderbird systray-x addon). Anyways, I also consider this issue closed now as the solution was to simply use birdtray.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants