-
-
Notifications
You must be signed in to change notification settings - Fork 519
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
GUI uses xorg instead of wayland #794
Comments
Sorry, I don't understand what the issue is. What's the problem of using xorg (xcb plugin) instead of wayland? |
Using xorg allows the malicious program to intercept the input when creating a new rule |
Can you provide a practical example showing how to intercept the input only when QT_QPA_PLATFORM is not set to "wayland" in our GUI? while running Wayland. |
When QT_QPA_PLATFORM=wayland, the gui still works through xwayland (xorg). |
Thank you for the explanation @Pheidologeton , Please, provide a practical example that I can reproduce, with commands to execute, or a video, etc. Right now, the GUI uses what the system configures QT_QPA_PLATFORM as default. We don't configure that environment variable (on the published releases), so if this is a problem I guess it'll affect all Qt apps. |
After commit 5264988 when setting environment variable QT_QPA_PLATFORM=wayland, ui still works through xwayland. It says that this is because of a crash when creating an advanced rule via the + menu, but on arch linux with kde plasma this crash did not happen, and ui works fine through wayland. |
aah ok, I see. I think I've found a way of not crashing on Fedora 37, so we won't need to set QT_QPA_PLATFORM to xcb. |
Please, check the FAQ and Known Problems pages before creating the bug report:
https://github.com/evilsocket/opensnitch/wiki/FAQs
https://github.com/evilsocket/opensnitch/wiki/Known-problems
Describe the bug
A clear and concise description of what the bug is.
Include the following information:
To Reproduce
Gui uses xorg instead of wayland, QT_QPA_PLATFORM=wayland variable is system wide.
Steps to reproduce the behavior:
Post error logs:
If it's a crash of the GUI:
If the daemon doesn't start:
/var/log/opensnitchd.log
# /usr/bin/opensnitchd -rules-path /etc/opensnitchd/rules
) and post the errors logged to the terminal.If the deb or rpm packages fail to install:
$ sudo dpkg -i opensnitch*
/$ sudo yum install opensnitch*
), and post the errors logged to stdout.Expected behavior (optional)
If QT_QPA_PLATFORM=wayland, gui must use wayland.
Screenshots
If applicable, add screenshots to help explain your problem. It may help to understand the issue much better.
Additional context
Add any other context about the problem here.
The text was updated successfully, but these errors were encountered: