commit 064922e565c05850d6f1ca7f2836ba54ff90d4bd
parent 89fb3395fba82ad770dc62ed86906c815f734af1
Author: Antoine Amarilli <a3nm@a3nm.net>
Date: Mon, 5 Oct 2015 19:45:34 +0200
fix right issues resulting in no sound
Diffstat:
1 file changed, 3 insertions(+), 0 deletions(-)
diff --git a/skype b/skype
@@ -144,6 +144,9 @@ start)
fi
done
echo "session is ready"
+ # give me access to the server
+ $USER=$(whoami)
+ $DCMD "DISPLAY=:$DISPLAYNUM xhost +si:localuser:$USER"
# give access to the pulseaudio credentials
pax11publish -D :$DISPLAYNUM -e
echo "running skype"