Skip to content

Commit

Permalink
fix(xauth): add hostname to container (#129)
Browse files Browse the repository at this point in the history
  • Loading branch information
perrin4869 authored May 16, 2024
1 parent 0b8589d commit f80146c
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions zwift.sh
Original file line number Diff line number Diff line change
Expand Up @@ -140,12 +140,14 @@ then
else

WAYLAND_FLAGS=(
--hostname $HOSTNAME
-e PULSE_SERVER=/run/user/$ZWIFT_UID/pulse/native
-v $XAUTHORITY:$(echo $XAUTHORITY | sed 's/'$UID'/'$ZWIFT_UID'/')
)
fi
else
X11_FLAGS=(
--hostname $HOSTNAME
-v $XAUTHORITY:$(echo $XAUTHORITY | sed 's/'$UID'/'$ZWIFT_UID'/')
)
fi
Expand Down

0 comments on commit f80146c

Please sign in to comment.