Skip to content

Commit

Permalink
liveinst: Don't unset XAUTHORITY in liveinst
Browse files Browse the repository at this point in the history
commit 919be1d included a workaround
to allow firefox to get started as root. It unset XAUTHORITY.

Now that firefox is no longer started as root, we no longer need the
workaround (and actually it's getting in the way, since the liveuser
needs the variable!)

This commit drops the workaround.
  • Loading branch information
halfline committed Aug 20, 2023
1 parent 182fa5a commit b3cd860
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion data/liveinst/liveinst
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,6 @@
# unprivileged, restart running as root.
if [ "$(id -u)" -ne 0 ]; then
xhost +si:localuser:root
unset XAUTHORITY
exec pkexec "$0" "$@"
fi

Expand Down

0 comments on commit b3cd860

Please sign in to comment.