From 40bd36eaf25d98805d198e88cdd8a139e7bf5471 Mon Sep 17 00:00:00 2001 From: Mike Gabriel Date: Sat, 10 Nov 2012 15:43:14 +0100 Subject: the session starter script can be named x2go-session --- Makefile.am | 8 ++++---- freerdp-session.in | 9 --------- 2 files changed, 4 insertions(+), 13 deletions(-) delete mode 100755 freerdp-session.in 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 -- cgit v1.2.3