Commit 2caef32f authored by Tails developers's avatar Tails developers

Run with gksudo for clipboard-sharing.

Tor Launcher has a "Copy Tor Log To Clipboard" button which this is
required for.
parent e79b17f0
Defaults!/usr/bin/tor-launcher env_keep+="TOR_CONFIGURE_ONLY TOR_CONTROL_PORT TOR_CONTROL_COOKIE_AUTH_FILE TOR_FORCE_NET_CONFIG"
Defaults!/usr/bin/tor-launcher always_set_home,env_keep+="TOR_CONFIGURE_ONLY TOR_CONTROL_PORT TOR_CONTROL_COOKIE_AUTH_FILE TOR_FORCE_NET_CONFIG"
amnesia ALL = (root) NOPASSWD: /usr/local/sbin/tails-tor-launcher --force-net-config
......@@ -30,7 +30,7 @@ export LANG
export DISPLAY=':0.0'
export XAUTHORITY="`echo /var/run/gdm3/auth-for-${LIVE_USERNAME}-*/database`"
sudo -u ${LIVE_USERNAME} xhost +SI:localuser:tor-launcher
sudo -n -H -u tor-launcher /usr/bin/tor-launcher
gksudo -u tor-launcher /usr/bin/tor-launcher
RET=${?}
sudo -u ${LIVE_USERNAME} xhost -SI:localuser:tor-launcher
......
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