diff options
author | Mike Gabriel <mike.gabriel@das-netzwerkteam.de> | 2012-11-10 15:43:14 +0100 |
---|---|---|
committer | Mike Gabriel <mike.gabriel@das-netzwerkteam.de> | 2012-11-10 15:43:14 +0100 |
commit | 40bd36eaf25d98805d198e88cdd8a139e7bf5471 (patch) | |
tree | 48555b112595b3c27606b34700dac239a7f73625 | |
parent | 0ad430c07bb21a88694e5e71ce040b8b44c7af67 (diff) | |
download | lightdm-remote-session-x2go-40bd36eaf25d98805d198e88cdd8a139e7bf5471.tar.gz lightdm-remote-session-x2go-40bd36eaf25d98805d198e88cdd8a139e7bf5471.tar.bz2 lightdm-remote-session-x2go-40bd36eaf25d98805d198e88cdd8a139e7bf5471.zip |
the session starter script can be named x2go-session
-rw-r--r-- | Makefile.am | 8 | ||||
-rwxr-xr-x | freerdp-session.in | 9 |
2 files changed, 4 insertions, 13 deletions
diff --git a/Makefile.am b/Makefile.am index 7113c74..4dcebce 100644 --- a/Makefile.am +++ b/Makefile.am @@ -12,9 +12,9 @@ lightdm_session_DATA = \ session_startdir = $(pkgdatadir) session_start_SCRIPTS = \ - freerdp-session + x2go-session -freerdp-session: freerdp-session.in +x2go-session: x2go-session.in @sed -e "s|\@libexecdir\@|$(libexecdir)|" $< > $@ @chmod +x $@ @@ -46,12 +46,12 @@ x2go_session_wrapper_CFLAGS = \ EXTRA_DIST = \ $(pam_session_DATA) \ freerdp.desktop.in \ - freerdp-session.in \ + x2go-session.in \ lightdm-remote-session-freerdp.in CLEANFILES = \ freerdp.desktop \ - freerdp-session \ + x2go-session \ lightdm-remote-session-freerdp DISTCHECK_CONFIGURE_FLAGS = --enable-localinstall diff --git a/freerdp-session.in b/freerdp-session.in deleted file mode 100755 index e95786f..0000000 --- a/freerdp-session.in +++ /dev/null @@ -1,9 +0,0 @@ -#!/bin/bash - -if [ -e ~/.x2go-socket ]; then - @libexecdir@/socket-sucker | /usr/bin/pyhoca-cli --from-stdin -else - zenity --warning --text="Unable to locate X2GoSession/PyHoca socket" -fi; - -rm -f ~/.x2go-socket |