aboutsummaryrefslogtreecommitdiffstats
path: root/etc/Xvfb.profile
diff options
context:
space:
mode:
authorLibravatar netblue30 <netblue30@yahoo.com>2017-05-06 13:03:15 -0400
committerLibravatar netblue30 <netblue30@yahoo.com>2017-05-06 13:03:15 -0400
commit4515f44e59001c13122f9e9976f420c230806737 (patch)
tree42dd67e9279f1bbfc715271fcb420bfa8f664dda /etc/Xvfb.profile
parentMerge pull request #1266 from SYN-cook/patch-2 (diff)
downloadfirejail-4515f44e59001c13122f9e9976f420c230806737.tar.gz
firejail-4515f44e59001c13122f9e9976f420c230806737.tar.zst
firejail-4515f44e59001c13122f9e9976f420c230806737.zip
merge #1100 from zackw: added support for sandboxing Xpra, Xvfb and Xephyr in independent sandboxes when started with firejail --x11
Diffstat (limited to 'etc/Xvfb.profile')
-rw-r--r--etc/Xvfb.profile39
1 files changed, 39 insertions, 0 deletions
diff --git a/etc/Xvfb.profile b/etc/Xvfb.profile
new file mode 100644
index 000000000..9c919f432
--- /dev/null
+++ b/etc/Xvfb.profile
@@ -0,0 +1,39 @@
1# This file is overwritten during software install.
2# Persistent customizations should go in a .local file.
3include /etc/firejail/xvfb.local
4
5#
6# This profile will sandbox Xvfb server itself when used with firejail --x11=xvfb.
7# The target program is sandboxed with its own profile. By default the this functionality
8# is disabled. To enable it, create a firejail-Xvfb symlink in /usr/local/bin:
9#
10# $ sudo ln -s /usr/bin/firejail /usr/local/bin/Xvfb
11#
12# We have this functionality disabled by default because it creates problems on
13# some Linux distributions.
14#
15
16
17# using a private home directory
18private
19
20caps.drop all
21# Xvfb needs to be allowed access to the abstract Unix socket namespace.
22#net none
23nogroups
24nonewprivs
25# In noroot mode, Xvfb cannot create a socket in the real /tmp/.X11-unix.
26#noroot
27nosound
28shell none
29seccomp
30protocol unix
31
32private-dev
33private-tmp
34private-etc ld.so.conf,ld.so.cache,resolv.conf,host.conf,nsswitch.conf,gai.conf,hosts,hostname
35#private-bin Xvfb,sh,xkbcomp,strace,bash,cat,ls
36#private-bin Xvfb,sh,xkbcomp
37
38blacklist /media
39whitelist /var/lib/xkb