aboutsummaryrefslogtreecommitdiffstats
path: root/etc/profile-m-z/xpra.profile
diff options
context:
space:
mode:
Diffstat (limited to 'etc/profile-m-z/xpra.profile')
-rw-r--r--etc/profile-m-z/xpra.profile54
1 files changed, 54 insertions, 0 deletions
diff --git a/etc/profile-m-z/xpra.profile b/etc/profile-m-z/xpra.profile
new file mode 100644
index 000000000..1033a7471
--- /dev/null
+++ b/etc/profile-m-z/xpra.profile
@@ -0,0 +1,54 @@
1# Firejail profile for xpra
2# Description: Tool to detach/reattach running X programs
3# This file is overwritten after every install/update
4quiet
5# Persistent local customizations
6include xpra.local
7# Persistent global definitions
8include globals.local
9
10#
11# This profile will sandbox Xpra server itself when used with firejail --x11=xpra.
12# To enable it, create a firejail-xpra symlink in /usr/local/bin:
13#
14# $ sudo ln -s /usr/bin/firejail /usr/local/bin/xpra
15#
16# or run "sudo firecfg"
17
18# Allow python (blacklisted by disable-interpreters.inc)
19include allow-python2.inc
20include allow-python3.inc
21
22include disable-common.inc
23include disable-devel.inc
24include disable-interpreters.inc
25include disable-passwdmgr.inc
26include disable-programs.inc
27
28whitelist /var/lib/xkb
29# whitelisting home directory, or including whitelist-common.inc
30# will crash xpra on some platforms
31
32caps.drop all
33# xpra needs to be allowed access to the abstract Unix socket namespace.
34nodvd
35nogroups
36nonewprivs
37# In noroot mode, xpra cannot create a socket in the real /tmp/.X11-unix.
38#noroot
39nosound
40notv
41nou2f
42novideo
43protocol unix
44seccomp
45shell none
46
47disable-mnt
48# private home directory doesn't work on some distros, so we go for a regular home
49# private
50# older Xpra versions also use Xvfb
51# private-bin bash,cat,dbus-launch,ldconfig,ls,pactl,python*,sh,strace,which,xauth,xkbcomp,Xorg,xpra,Xvfb
52private-dev
53# private-etc alternatives,gai.conf,host.conf,hostname,hosts,ld.so.cache,ld.so.conf,machine-id,nsswitch.conf,resolv.conf,X11,xpra
54private-tmp