-
Notifications
You must be signed in to change notification settings - Fork 584
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
Warnings with --x11=xorg #875
Comments
This is a bug, I was able to reproduce it:
Yes, they seem to disable a number of x11 extensions such as XInput, RANDR, RECORD and SHAPE. I don't have a full list, if you find one please let me know.
On debian stable xterm(312) seems also to work, however when I select text with the mouse it crashes immediately.
I grabbed a bunch of keyloggers from the web, compiled them and started them inside the sandbox. They don't seem to pick up anything from outside the sandbox. This is one example: https://github.com/magcius/keylog. |
I have experienced crashes with all tested applications, whenever I tried to copy some text. Regarding certain x11 features: is it possible to (safely) enable or disable specific features for single applications? No being able to copie from one window to another (no to mention the crashes) does not make this feature very useful. If this were possible it would be an awesome alternative for xpra on the other hand. |
No, some applications are just crashing when x11 security extension is enabled. These are application problems, basically they don't do any kind of error recovery.
Copying works for --x11=xpra, the clipboard seems to be configurable. For xephyr you will have to run both applications on the same x11 server, I have an example for --x11=xephyr here: https://firejail.wordpress.com/documentation-2/x11-guide/#listing. X11 security extension disables the clipboard and drag&drop, |
Fixed. |
using the X11 security extension leads to the following warning at startup:
/usr/bin/xauth: file /run/firejail/mnt/sec.Xauthority does not exist
Also when using it with firefox, most things seem to work fine but the terminal (from which it was started with firejail --x11=xorg firefox) spams with the following message whenever the mouse is moved:
Xlib: extension "XInputExtension" missing on display ":0".
There is also a changed mouse cursor when hovering over links.
I suspect there are some config files that are missing access exceptions.
The documentation says taht xterm will not work with this option but XTerm(327) seems to have no issues so far.
Is there a way to test keylogging functionality with this option? xinput is no available when using this option, which is probably a good thing but not helpful for testing.
The text was updated successfully, but these errors were encountered: