[GH-ISSUE #3206] Can applications still take a screenshot if the application is sanboxed? #2006

Closed
opened 2026-05-05 08:40:36 -06:00 by gitea-mirror · 9 comments
Owner

Originally created by @Joe23232 on GitHub (Feb 7, 2020).
Original GitHub issue: https://github.com/netblue30/firejail/issues/3206

If I sandbox an application, can the application take a screenshot of my desktop or something?

Originally created by @Joe23232 on GitHub (Feb 7, 2020). Original GitHub issue: https://github.com/netblue30/firejail/issues/3206 If I sandbox an application, can the application take a screenshot of my desktop or something?
gitea-mirror 2026-05-05 08:40:36 -06:00
Author
Owner

@jonleivent commented on GitHub (Feb 7, 2020):

See:
https://firejail.wordpress.com/documentation-2/x11-guide/

The short answer is: this is not prevented by default settings, but it can be prevented.

<!-- gh-comment-id:583227067 --> @jonleivent commented on GitHub (Feb 7, 2020): See: [https://firejail.wordpress.com/documentation-2/x11-guide/](url) The short answer is: this is not prevented by default settings, but it can be prevented.
Author
Owner

@rusty-snake commented on GitHub (Feb 8, 2020):

Wayland: #3148

<!-- gh-comment-id:583740031 --> @rusty-snake commented on GitHub (Feb 8, 2020): Wayland: #3148
Author
Owner

@heinrich5991 commented on GitHub (Feb 15, 2020):

@jonleivent The link is named after the correct target, but if you click it, you go somewhere else.

<!-- gh-comment-id:586527665 --> @heinrich5991 commented on GitHub (Feb 15, 2020): @jonleivent The link is named after the correct target, but if you click it, you go somewhere else.
Author
Owner

@jonleivent commented on GitHub (Feb 15, 2020):

@heinrich5991 That's a strange effect! All I did was paste the link. I'll try again with markdown:
https://firejail.wordpress.com/documentation-2/x11-guide/

<!-- gh-comment-id:586531718 --> @jonleivent commented on GitHub (Feb 15, 2020): @heinrich5991 That's a strange effect! All I did was paste the link. I'll try again with markdown: [https://firejail.wordpress.com/documentation-2/x11-guide/](url)
Author
Owner

@jonleivent commented on GitHub (Feb 15, 2020):

It did it again. That's truly strange. Will it do it as quoted text?:

https://firejail.wordpress.com/documentation-2/x11-guide/

<!-- gh-comment-id:586531882 --> @jonleivent commented on GitHub (Feb 15, 2020): It did it again. That's truly strange. Will it do it as quoted text?: > https://firejail.wordpress.com/documentation-2/x11-guide/
Author
Owner

@jonleivent commented on GitHub (Feb 15, 2020):

OK - that worked.

<!-- gh-comment-id:586531971 --> @jonleivent commented on GitHub (Feb 15, 2020): OK - that worked.
Author
Owner

@rusty-snake commented on GitHub (Feb 16, 2020):

Without the [ and the ](url) it works. Original:

> See:
> [https://firejail.wordpress.com/documentation-2/x11-guide/](url)
> 
> The short answer is: this is not prevented by default settings, but it can be prevented.
<!-- gh-comment-id:586723497 --> @rusty-snake commented on GitHub (Feb 16, 2020): Without the `[` and the `](url)` it works. Original: ``` > See: > [https://firejail.wordpress.com/documentation-2/x11-guide/](url) > > The short answer is: this is not prevented by default settings, but it can be prevented. ```
Author
Owner

@jonleivent commented on GitHub (Feb 16, 2020):

BTW - I think --x11=xorg, when the app can handle it, is sufficent to screenshooting. It doesn't prevent as much potential X spying as xephyr or xpra, though. Also, an attempt to do screenshooting with --x11=xorg will generate an X11 error for the app, while with xephyr and xpra the app will take a picture of its restricted screen.

<!-- gh-comment-id:586727238 --> @jonleivent commented on GitHub (Feb 16, 2020): BTW - I think --x11=xorg, when the app can handle it, is sufficent to screenshooting. It doesn't prevent as much potential X spying as xephyr or xpra, though. Also, an attempt to do screenshooting with --x11=xorg will generate an X11 error for the app, while with xephyr and xpra the app will take a picture of its restricted screen.
Author
Owner

@rusty-snake commented on GitHub (Feb 22, 2020):

I'm closing here because the question is answered.

<!-- gh-comment-id:589988817 --> @rusty-snake commented on GitHub (Feb 22, 2020): I'm closing here because the question is answered.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: github-starred/firejail#2006
No description provided.