Commit c6e34ff7 authored by Tails developers's avatar Tails developers

Run Tor Browser using the TBB's shared libraries.

The libstdc++6.so we have (from Debian Wheezy) is too old.
parent 7b866f52
......@@ -43,6 +43,9 @@ start_browser() {
unset SESSION_MANAGER
LD_LIBRARY_PATH="${TBB_INSTALL}"/Browser
export LD_LIBRARY_PATH
exec "${TBB_INSTALL}"/Browser/firefox -allow-remote --class "Tor Browser" -profile "${PROFILE}" "${@}"
}
......
......@@ -214,7 +214,7 @@ run_browser_in_chroot () {
echo "* Starting Unsafe Browser"
sudo -u ${SUDO_USER} xhost +SI:localuser:${CLEARNET_USER} 2>/dev/null
chroot ${CHROOT} sudo -u ${CLEARNET_USER} "${TBB_INSTALL}"/Browser/firefox -DISPLAY=:0.0 -profile /home/clearnet/.tor-browser/profile.default
chroot ${CHROOT} sudo -u ${CLEARNET_USER} LD_LIBRARY_PATH="${TBB_INSTALL}"/Browser "${TBB_INSTALL}"/Browser/firefox -DISPLAY=:0.0 -profile /home/clearnet/.tor-browser/profile.default
sudo -u ${SUDO_USER} xhost -SI:localuser:${CLEARNET_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