Commit 6531e29c authored by intrigeri's avatar intrigeri

Drop obsolete Firefox -DISPLAY argument.

In the Browser Console of the Unsafe Browser, I see:

  Warning: unrecognized command line flag -DISPLAY
parent 5066426d
......@@ -240,8 +240,7 @@ run_browser_in_chroot () {
chroot "${chroot}" sudo -u "${chroot_user}" /bin/sh -c \
". /usr/local/lib/tails-shell-library/tor-browser.sh && \
export TOR_TRANSPROXY=1 && \
exec_firefox -DISPLAY='${DISPLAY}' \
--class='${wm_class}' \
exec_firefox --class='${wm_class}' \
-profile '${profile}'"
sudo -u "${local_user}" xhost "-SI:localuser:${chroot_user}"
}
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment