Commit 45c625f6 authored by Tails developers's avatar Tails developers

Use exec_firefox() to start the I2P Browser.

parent 26e2c0a7
......@@ -351,7 +351,10 @@ run_browser_in_chroot () {
echo "* Starting I2P Browser"
sudo -u ${SUDO_USER} xhost +SI:localuser:${BROWSER_USER} 2>/dev/null
chroot ${CHROOT} sudo -u ${BROWSER_USER} LD_LIBRARY_PATH="${TBB_INSTALL}" "${TBB_INSTALL}/Browser/firefox" -DISPLAY=:0.0 -profile /home/${BROWSER_USER}/.tor-browser/profile.default
chroot ${CHROOT} sudo -u ${BROWSER_USER} /bin/sh -c \
". /usr/local/lib/tails-shell-library/ && \
exec_firefox -DISPLAY=:0.0 \
-profile /home/${BROWSER_USER}/.tor-browser/profile.default"
sudo -u ${SUDO_USER} xhost -SI:localuser:${BROWSER_USER} 2>/dev/null
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