aboutsummaryrefslogtreecommitdiff
path: root/x2go-session.in
blob: 658af13d830e0c2c5f4a1100f313ce429e0f11d0 (plain)
1
2
3
4
5
6
7
8
9
#!/bin/bash

if [ -e ~/.x2go-socket ]; then
	@libexecdir@/socket-sucker | /usr/bin/pyhoca-cli --from-stdin --add-to-known-hosts --kbd-type auto 2>&1 | logger -t lightdm-remote-session-x2go --
else
	zenity --warning --text="Unable to locate X2GoSession/PyHoca socket"
fi;

rm -f ~/.x2go-socket