From 812db2a6f45d3c4ba4a3c5a9716e653d25c52f7a Mon Sep 17 00:00:00 2001 From: netblue30 Date: Wed, 19 Jul 2017 09:00:16 -0400 Subject: support for Xephyr screen size --- src/man/firejail-profile.txt | 15 +++++++++++++++ src/man/firejail.txt | 10 ++++++++++ 2 files changed, 25 insertions(+) (limited to 'src/man') diff --git a/src/man/firejail-profile.txt b/src/man/firejail-profile.txt index 9f4f4a927..f446f37b8 100644 --- a/src/man/firejail-profile.txt +++ b/src/man/firejail-profile.txt @@ -341,6 +341,21 @@ Enable X11 sandboxing with Xpra server. .TP \fBx11 xvfb Enable X11 sandboxing with Xvfb server. +.TP +\fBxephyr-screen WIDTHxHEIGHT +Set screen size for x11 xephyr. This command should be included in the profile file before x11 xephyr command. +.br + +.br +Example: +.br + +.br +xephyr-screen 640x480 +.br +x11 xephyr + + .SH Resource limits, CPU affinity, Control Groups These profile entries define the limits on system resources (rlimits) for the processes inside the sandbox. diff --git a/src/man/firejail.txt b/src/man/firejail.txt index 6e49fc25f..3253ae8bb 100644 --- a/src/man/firejail.txt +++ b/src/man/firejail.txt @@ -1980,7 +1980,17 @@ On the client machine we start a VNC viewer and use it to connect to our server: $ vncviewer .br +.TP +\fB\-\-xephyr-screen=WIDTHxHEIGHT +Set screen size for --x11=xephyr. The setting will overwrite the default set in /etc/firejail/firejail.config +for the current sandbox. Run xrandr to get a list of supported resolutions on your computer. +.br +.br +Example: +.br +$ firejail --net=eth0 --x11=xephyr --xephyr-screen=640x480 firefox +.br .TP \fB\-\-zsh -- cgit v1.2.3-54-g00ecf