aboutsummaryrefslogtreecommitdiff
path: root/x2go-session.in
blob: 227581cba721fd62f41a6ea16759c97a245e0dd7 (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 --sound pulse 2>&1 | logger -t lightdm-remote-session-x2go --
else
	zenity --warning --text="Unable to locate X2GoSession/PyHoca socket"
fi;

rm -f ~/.x2go-socket