This is an automated email from the git hooks/post-receive script. x2go pushed a commit to branch master in repository x2gothinclient. commit e77ef5e1af1926e7662de1a9539e0c90fb643247 Author: Mike Gabriel <mike.gabriel@das-netzwerkteam.de> Date: Thu Aug 28 13:33:18 2014 +0200 Enforce TCE session restart after logout. --- debian/changelog | 1 + debian/x2gothinclient-minidesktop.install | 1 + minidesktop/etc/lightdm.conf | 1 + minidesktop/etc/restart.lightdm | 4 ++++ 4 files changed, 7 insertions(+) diff --git a/debian/changelog b/debian/changelog index e67cfe6..146d0b4 100644 --- a/debian/changelog +++ b/debian/changelog @@ -41,6 +41,7 @@ x2gothinclient (1.5.0.0-0x2go1) UNRELEASED; urgency=low creation. . Disallow Caja to handle storage media (automounting, opening, etc.). . Enable usbmounts and smartcard rules for minidestop TCE flavour. + . Enforce TCE session restart after logout. - Adapt management package to TCE flavouring. Add new configuration option in x2gothinclient_settings: TC_FLAVOUR (can be: minidesktop or displaymanager). diff --git a/debian/x2gothinclient-minidesktop.install b/debian/x2gothinclient-minidesktop.install index 87394da..1ba07f9 100644 --- a/debian/x2gothinclient-minidesktop.install +++ b/debian/x2gothinclient-minidesktop.install @@ -1,5 +1,6 @@ management/share/etc/x2gothinclient-minidesktop_* etc/x2go/ minidesktop/etc/lightdm.conf etc/lightdm/ +minidesktop/etc/restart.lightdm etc/lightdm/ minidesktop/desktop/x2gothinclient-minidesktop.desktop usr/share/applications/ minidesktop/schema-overrides/* usr/share/glib-2.0/schemas/ minidesktop/mate-panel-layout/* usr/share/mate-panel/layouts/ diff --git a/minidesktop/etc/lightdm.conf b/minidesktop/etc/lightdm.conf index 94c20b8..b3f6f55 100644 --- a/minidesktop/etc/lightdm.conf +++ b/minidesktop/etc/lightdm.conf @@ -10,3 +10,4 @@ session-wrapper=/etc/x2go/x2gothinclient_init autologin-user=x2gothinclient autologin-user-timeout=0 pam-service=lightdm-autologin +session-cleanup-script=/etc/lightdm/restart.lightdm diff --git a/minidesktop/etc/restart.lightdm b/minidesktop/etc/restart.lightdm new file mode 100755 index 0000000..35b5059 --- /dev/null +++ b/minidesktop/etc/restart.lightdm @@ -0,0 +1,4 @@ +#!/bin/sh + +invoke-rc.d lightdm restart + -- Alioth's /srv/git/_hooks_/post-receive-email on /srv/git/code.x2go.org/x2gothinclient.git