mirror of
https://github.com/netbirdio/netbird.git
synced 2026-05-19 15:19:55 +00:00
Drop -ac from Xvfb/Xorg invocations to keep xhost localuser grant authoritative
This commit is contained in:
@@ -249,7 +249,6 @@ func (vs *VirtualSession) startXvfbDirect() error {
|
||||
geom := fmt.Sprintf("%dx%dx24", vs.width, vs.height)
|
||||
vs.xvfb = exec.Command("Xvfb", vs.display,
|
||||
"-screen", "0", geom,
|
||||
"-ac",
|
||||
"-nolisten", "tcp",
|
||||
)
|
||||
vs.xvfb.SysProcAttr = &syscall.SysProcAttr{Setsid: true, Pdeathsig: syscall.SIGTERM}
|
||||
@@ -306,7 +305,6 @@ EndSection
|
||||
"-config", confPath,
|
||||
"-noreset",
|
||||
"-nolisten", "tcp",
|
||||
"-ac",
|
||||
)
|
||||
vs.xvfb.SysProcAttr = &syscall.SysProcAttr{Setsid: true, Pdeathsig: syscall.SIGTERM}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user