configs: make configs using X11 more versatile

This commit is contained in:
Robert Swiecki 2022-09-04 12:07:55 +02:00
parent a22bb2e437
commit b87f983463
3 changed files with 51 additions and 0 deletions

View File

@ -163,9 +163,26 @@ mount {
}
mount {
prefix_src_env: "XAUTHORITY"
src: ""
dst: "/user/.Xauthority"
is_bind: true
rw: false
mandatory: false
}
mount {
src: "/tmp/.X11-unix/X0"
dst: "/tmp/.X11-unix/X0"
is_bind: true
mandatory: false
}
mount {
src: "/tmp/.X11-unix/X1"
dst: "/tmp/.X11-unix/X1"
is_bind: true
mandatory: false
}
seccomp_string: "KILL_PROCESS {"

View File

@ -155,9 +155,26 @@ mount {
}
mount {
prefix_src_env: "XAUTHORITY"
src: ""
dst: "/user/.Xauthority"
is_bind: true
rw: false
mandatory: false
}
mount {
src: "/tmp/.X11-unix/X0"
dst: "/tmp/.X11-unix/X0"
is_bind: true
mandatory: false
}
mount {
src: "/tmp/.X11-unix/X1"
dst: "/tmp/.X11-unix/X1"
is_bind: true
mandatory: false
}
seccomp_string: "KILL_PROCESS {"

View File

@ -125,10 +125,27 @@ mount {
mandatory: false
}
mount {
prefix_src_env: "XAUTHORITY"
src: ""
dst: "/user/.Xauthority"
is_bind: true
rw: false
mandatory: false
}
mount {
src: "/tmp/.X11-unix/X0"
dst: "/tmp/.X11-unix/X0"
is_bind: true
mandatory: false
}
mount {
src: "/tmp/.X11-unix/X1"
dst: "/tmp/.X11-unix/X1"
is_bind: true
mandatory: false
}
seccomp_string: "KILL_PROCESS { "