The branch, master has been updated
via 4fc8a771b56c267e489a8a7faa4089864149ac43 (commit)
from 8580ba4b53602556e9e5b96bd6e87e2945b5be2f (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
commit 4fc8a771b56c267e489a8a7faa4089864149ac43
Author: Mike Gabriel <mike.gabriel(a)das-netzwerkteam.de…
[View More]>
Date: Fri Oct 28 23:59:42 2011 +0200
fix STARTUP variable content in x2goruncommand when using X2GOSERVER_XSESSION feature
-----------------------------------------------------------------------
Summary of changes:
x2goserver/bin/x2goruncommand | 3 +--
1 files changed, 1 insertions(+), 2 deletions(-)
The diff of changes is:
diff --git a/x2goserver/bin/x2goruncommand b/x2goserver/bin/x2goruncommand
index 99b4028..37cb311 100755
--- a/x2goserver/bin/x2goruncommand
+++ b/x2goserver/bin/x2goruncommand
@@ -119,8 +119,7 @@ if [ "$EXEC" != "" ] && [ -x $EXEC ]; then
x2gofeature X2GO_XSESSION &>/dev/null && [ "x$X2GO_SESS_TYPE" = "xD" ] && {
STARTUP=$cmd
$X2GO_LIB_PATH/x2gosyslog "$0" "notice" "launching session with Xsession-x2go mechanism, using STARTUP=\"$STARTUP\""
- export $STARTUP
- /etc/x2go/Xsession
+ STARTUP="$STARTUP" /etc/x2go/Xsession
} || {
$cmd
}
hooks/post-receive
--
x2goserver.git (X2go Server)
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "x2goserver.git" (X2go Server).
[View Less]
The branch, master has been updated
via 27b99c493435ff3eff5d35b6ea6017c43ab687d8 (commit)
from 1b133bce09ea92fda776803912eed3df8ecbb1ab (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
commit 27b99c493435ff3eff5d35b6ea6017c43ab687d8
Author: Mike Gabriel <mike.gabriel(a)das-netzwerkteam.de…
[View More]>
Date: Fri Oct 28 18:14:56 2011 +0200
fix string concatenation...
-----------------------------------------------------------------------
Summary of changes:
sharetray.cpp | 10 ++++++----
1 files changed, 6 insertions(+), 4 deletions(-)
The diff of changes is:
diff --git a/sharetray.cpp b/sharetray.cpp
index 6bc632d..c20e7af 100644
--- a/sharetray.cpp
+++ b/sharetray.cpp
@@ -75,11 +75,13 @@ ShareTray::ShareTray()
QString dispname=getenv ( "DISPLAY" );
// socketFname=QDir::tempPath() +"x2godesktopsharing_@"+
- socketFname=tr( "/tmp/x2godesktopsharing_@" )+
- getenv ( "LOGNAME" ) +tr ("@") +dispname;
+ socketFname = "/tmp/x2godesktopsharing_@";
+ socketFname += getenv ( "LOGNAME" );
+ socketFname += "@" + dispname;
// lockFname=QDir::tempPath() +"x2godesktopsharing.lock_"+
- lockFname=tr( "/tmp/x2godesktopsharing.lock_" ) +
- getenv ( "LOGNAME" ) +tr ("@") +dispname;
+ lockFname = "/tmp/x2godesktopsharing.lock_";
+ lockFname += getenv ( "LOGNAME" );
+ lockFname += "@" + dispname;
if ( QFile::exists ( lockFname ) )
{
QFile file ( lockFname );
hooks/post-receive
--
x2godesktopsharing.git (Desktop Sharing for X2go)
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "x2godesktopsharing.git" (Desktop Sharing for X2go).
[View Less]
The branch, master has been updated
via 1b133bce09ea92fda776803912eed3df8ecbb1ab (commit)
from 3e0d14bdbf662648486030df7c70e4c787963a4c (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
commit 1b133bce09ea92fda776803912eed3df8ecbb1ab
Author: Mike Gabriel <mike.gabriel(a)das-netzwerkteam.de…
[View More]>
Date: Fri Oct 28 16:44:28 2011 +0200
fix string concatenation
-----------------------------------------------------------------------
Summary of changes:
sharetray.cpp | 9 +++++----
1 files changed, 5 insertions(+), 4 deletions(-)
The diff of changes is:
diff --git a/sharetray.cpp b/sharetray.cpp
index 2a655ea..6bc632d 100644
--- a/sharetray.cpp
+++ b/sharetray.cpp
@@ -75,10 +75,11 @@ ShareTray::ShareTray()
QString dispname=getenv ( "DISPLAY" );
// socketFname=QDir::tempPath() +"x2godesktopsharing_@"+
- socketFname="/tmp/x2godesktopsharing_@"+
- getenv ( "LOGNAME" ) +"@"+dispname;
- lockFname="/tmp/x2godesktopsharing.lock_"+
- getenv ( "LOGNAME" ) +"@"+dispname;
+ socketFname=tr( "/tmp/x2godesktopsharing_@" )+
+ getenv ( "LOGNAME" ) +tr ("@") +dispname;
+ // lockFname=QDir::tempPath() +"x2godesktopsharing.lock_"+
+ lockFname=tr( "/tmp/x2godesktopsharing.lock_" ) +
+ getenv ( "LOGNAME" ) +tr ("@") +dispname;
if ( QFile::exists ( lockFname ) )
{
QFile file ( lockFname );
hooks/post-receive
--
x2godesktopsharing.git (Desktop Sharing for X2go)
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "x2godesktopsharing.git" (Desktop Sharing for X2go).
[View Less]
The branch, master has been updated
via 3e0d14bdbf662648486030df7c70e4c787963a4c (commit)
from b25cff23ce2bdddc3632e2b8f9fd39e7581afef6 (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
commit 3e0d14bdbf662648486030df7c70e4c787963a4c
Author: Mike Gabriel <mike.gabriel(a)das-netzwerkteam.de…
[View More]>
Date: Fri Oct 28 15:47:57 2011 +0200
Always use /tmp for lock and session sharing socket (Fixes user individual temp dirs in Debian Edu / Skolelinux).
-----------------------------------------------------------------------
Summary of changes:
debian/changelog | 3 ++-
sharetray.cpp | 5 +++--
2 files changed, 5 insertions(+), 3 deletions(-)
The diff of changes is:
diff --git a/debian/changelog b/debian/changelog
index cf003a2..c2d6c7b 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,7 +1,8 @@
x2godesktopsharing (3.0.1.4-0~x2go1) UNRELEASED; urgency=low
* New upstream version (3.0.1.4):
- - Continue development...
+ - Always use /tmp for lock and session sharing socket
+ (Fixes user individual temp dirs in Debian Edu / Skolelinux).
-- Mike Gabriel <mike.gabriel(a)das-netzwerkteam.de> Thu, 13 Oct 2011 02:01:18 +0200
diff --git a/sharetray.cpp b/sharetray.cpp
index ba3072f..2a655ea 100644
--- a/sharetray.cpp
+++ b/sharetray.cpp
@@ -74,9 +74,10 @@ ShareTray::ShareTray()
setWindowFlags ( flags );
QString dispname=getenv ( "DISPLAY" );
- socketFname=QDir::tempPath() +"/x2godesktopsharing_@"+
+ // socketFname=QDir::tempPath() +"x2godesktopsharing_@"+
+ socketFname="/tmp/x2godesktopsharing_@"+
getenv ( "LOGNAME" ) +"@"+dispname;
- lockFname=QDir::tempPath() +"/x2godesktopsharing.lock_"+
+ lockFname="/tmp/x2godesktopsharing.lock_"+
getenv ( "LOGNAME" ) +"@"+dispname;
if ( QFile::exists ( lockFname ) )
{
hooks/post-receive
--
x2godesktopsharing.git (Desktop Sharing for X2go)
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "x2godesktopsharing.git" (Desktop Sharing for X2go).
[View Less]
The branch, master has been updated
via 8580ba4b53602556e9e5b96bd6e87e2945b5be2f (commit)
from a5e451560ad1d70ce2cd26333fc585e2830ccb15 (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
commit 8580ba4b53602556e9e5b96bd6e87e2945b5be2f
Author: Mike Gabriel <mike.gabriel(a)das-netzwerkteam.de…
[View More]>
Date: Thu Oct 27 13:11:57 2011 +0200
remove obsolete line from x2goruncommand
-----------------------------------------------------------------------
Summary of changes:
x2goserver/bin/x2goruncommand | 1 -
1 files changed, 0 insertions(+), 1 deletions(-)
The diff of changes is:
diff --git a/x2goserver/bin/x2goruncommand b/x2goserver/bin/x2goruncommand
index d6033fa..99b4028 100755
--- a/x2goserver/bin/x2goruncommand
+++ b/x2goserver/bin/x2goruncommand
@@ -125,7 +125,6 @@ if [ "$EXEC" != "" ] && [ -x $EXEC ]; then
$cmd
}
- $cmd
#### some applications can quit immediately, we will wait here as long as x2goagent exists
if [ "$X2GO_SESS_TYPE" == "R" ] && [ "$IMEXIT" == "false" ]; then
$X2GO_LIB_PATH/x2gosyslog "$0" "debug" "command $EXEC forked to background, waiting for agent to finish"
hooks/post-receive
--
x2goserver.git (X2go Server)
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "x2goserver.git" (X2go Server).
[View Less]
The branch, master has been updated
via a5e451560ad1d70ce2cd26333fc585e2830ccb15 (commit)
from 606b4ffa50bab0425db81bd2e1a55d9c8585c040 (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
commit a5e451560ad1d70ce2cd26333fc585e2830ccb15
Author: Mike Gabriel <mike.gabriel(a)das-netzwerkteam.de…
[View More]>
Date: Thu Oct 27 12:52:46 2011 +0200
fix for x2goserver-xsession implementation (tested on Debian Edu)
-----------------------------------------------------------------------
Summary of changes:
x2goserver-xsession/etc/Xsession | 18 +++++++++++++-----
x2goserver/bin/x2goruncommand | 10 ++++++++++
x2goserver/bin/x2gostartagent | 3 ---
3 files changed, 23 insertions(+), 8 deletions(-)
The diff of changes is:
diff --git a/x2goserver-xsession/etc/Xsession b/x2goserver-xsession/etc/Xsession
index 6a6ca58..5cf39d6 100755
--- a/x2goserver-xsession/etc/Xsession
+++ b/x2goserver-xsession/etc/Xsession
@@ -99,13 +99,21 @@ rm -f "$WRITE_TEST"
# instead of executing so that the variables and functions defined above
# are available to the scripts, and so that they can pass variables to each
# other
+
+SESSIONFILES=$(run-parts --list $SYSSESSIONDIR)
+SYSSESSIONDIR=/etc/x2go/Xsession.d
+
SESSIONFILES=$(run-parts --list $SYSSESSIONDIR)
+
+### source Xsession files
if [ -n "$SESSIONFILES" ]; then
- set +e
- for SESSIONFILE in $SESSIONFILES; do
- . $SESSIONFILE
- done
- set -e
+
+ set +e
+ for SESSIONFILE in $SESSIONFILES; do
+ /usr/lib/x2go/x2gosyslog "$0" "notice" "executing $SESSIONFILE"
+ . $SESSIONFILE
+ done
+ set -e
fi
exit 0
diff --git a/x2goserver/bin/x2goruncommand b/x2goserver/bin/x2goruncommand
index 6ac93c1..d6033fa 100755
--- a/x2goserver/bin/x2goruncommand
+++ b/x2goserver/bin/x2goruncommand
@@ -115,6 +115,16 @@ x2gofeature X2GO_RUN_EXTENSIONS &>/dev/null && x2goserver-run-extensions $SESSIO
sucessful_run=false
if [ "$EXEC" != "" ] && [ -x $EXEC ]; then
$X2GO_LIB_PATH/x2gosyslog "$0" "debug" "running command $EXEC"
+
+ x2gofeature X2GO_XSESSION &>/dev/null && [ "x$X2GO_SESS_TYPE" = "xD" ] && {
+ STARTUP=$cmd
+ $X2GO_LIB_PATH/x2gosyslog "$0" "notice" "launching session with Xsession-x2go mechanism, using STARTUP=\"$STARTUP\""
+ export $STARTUP
+ /etc/x2go/Xsession
+ } || {
+ $cmd
+ }
+
$cmd
#### some applications can quit immediately, we will wait here as long as x2goagent exists
if [ "$X2GO_SESS_TYPE" == "R" ] && [ "$IMEXIT" == "false" ]; then
diff --git a/x2goserver/bin/x2gostartagent b/x2goserver/bin/x2gostartagent
index 3d26a9e..00c2a58 100755
--- a/x2goserver/bin/x2gostartagent
+++ b/x2goserver/bin/x2gostartagent
@@ -238,9 +238,6 @@ X2GO_AGENT_RETVAL=$?
test $X2GO_AGENT_RETVAL && {
$X2GO_LIB_PATH/x2gosyslog "$0" "notice" "successfully started X2go agent session with ID $SESSION_NAME"
- # initialize x2goserver-xsession (process /etc/x2go/Xsession)
- x2gofeature X2GO_XSESSION &>/dev/null && [ "x$SESSION_TYPE" = "xD" ] && . /etc/x2go/Xsession
-
# run x2goserver-extensions for post-start
x2gofeature X2GO_RUN_EXTENSIONS &>/dev/null && x2goserver-run-extensions $SESSION_NAME post-start
hooks/post-receive
--
x2goserver.git (X2go Server)
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "x2goserver.git" (X2go Server).
[View Less]
The branch, master has been updated
via 606b4ffa50bab0425db81bd2e1a55d9c8585c040 (commit)
from e7d3f6b1b26b4c956c76a716c200093b228f6962 (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
commit 606b4ffa50bab0425db81bd2e1a55d9c8585c040
Author: Mike Gabriel <mike.gabriel(a)das-netzwerkteam.de…
[View More]>
Date: Thu Oct 27 10:34:17 2011 +0200
no man pages in package x2goserver-xsession
-----------------------------------------------------------------------
Summary of changes:
debian/x2goserver-xsession.docs | 1 -
1 files changed, 0 insertions(+), 1 deletions(-)
The diff of changes is:
diff --git a/debian/x2goserver-xsession.docs b/debian/x2goserver-xsession.docs
index e73eae2..093650e 100644
--- a/debian/x2goserver-xsession.docs
+++ b/debian/x2goserver-xsession.docs
@@ -1,2 +1 @@
-x2goserver-xsession/.build_man2html/html
x2goserver-xsession/doc
\ No newline at end of file
hooks/post-receive
--
x2goserver.git (X2go Server)
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "x2goserver.git" (X2go Server).
[View Less]
The branch, master has been updated
via e7d3f6b1b26b4c956c76a716c200093b228f6962 (commit)
from aaf29c0565aee2f6e46d25e33dfc53c05b674646 (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
commit e7d3f6b1b26b4c956c76a716c200093b228f6962
Author: Mike Gabriel <mike.gabriel(a)das-netzwerkteam.de…
[View More]>
Date: Thu Oct 27 10:31:59 2011 +0200
forgot to add files
-----------------------------------------------------------------------
Summary of changes:
...er-extensions.dirs => x2goserver-xsession.dirs} | 2 +-
debian/x2goserver-xsession.docs | 2 ++
debian/x2goserver-xsession.install | 3 +++
3 files changed, 6 insertions(+), 1 deletions(-)
copy debian/{x2goserver-extensions.dirs => x2goserver-xsession.dirs} (81%)
create mode 100644 debian/x2goserver-xsession.docs
create mode 100644 debian/x2goserver-xsession.install
The diff of changes is:
diff --git a/debian/x2goserver-extensions.dirs b/debian/x2goserver-xsession.dirs
similarity index 81%
copy from debian/x2goserver-extensions.dirs
copy to debian/x2goserver-xsession.dirs
index 45adc59..e1541a6 100644
--- a/debian/x2goserver-extensions.dirs
+++ b/debian/x2goserver-xsession.dirs
@@ -1,3 +1,3 @@
-usr/bin
+etc/x2go
usr/share/x2go
usr/share/x2go/versions
diff --git a/debian/x2goserver-xsession.docs b/debian/x2goserver-xsession.docs
new file mode 100644
index 0000000..e73eae2
--- /dev/null
+++ b/debian/x2goserver-xsession.docs
@@ -0,0 +1,2 @@
+x2goserver-xsession/.build_man2html/html
+x2goserver-xsession/doc
\ No newline at end of file
diff --git a/debian/x2goserver-xsession.install b/debian/x2goserver-xsession.install
new file mode 100644
index 0000000..31531bb
--- /dev/null
+++ b/debian/x2goserver-xsession.install
@@ -0,0 +1,3 @@
+x2goserver-xsession/etc/* /etc/x2go/
+x2goserver-xsession/VERSION.x2goserver-xsession /usr/share/x2go/versions/
+x2goserver-xsession/share/x2gofeature.d/* /usr/share/x2go/x2gofeature.d/
hooks/post-receive
--
x2goserver.git (X2go Server)
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "x2goserver.git" (X2go Server).
[View Less]
The branch, master has been updated
via aaf29c0565aee2f6e46d25e33dfc53c05b674646 (commit)
from e8d2037ab25e6cf0d137cbe99c1859ded58ddea0 (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
commit aaf29c0565aee2f6e46d25e33dfc53c05b674646
Author: Mike Gabriel <mike.gabriel(a)das-netzwerkteam.de…
[View More]>
Date: Thu Oct 27 10:02:50 2011 +0200
Add Xsession.d processing to X2Go (as x2goserver-xsession add-on package).
-----------------------------------------------------------------------
Summary of changes:
Makefile | 6 +
debian/changelog | 2 +
debian/control | 27 +++++-
x2goserver-xsession/Makefile | 95 ++++++++++++++++
.../VERSION.x2goserver-xsession | 0
x2goserver-xsession/doc/README.Xsession-x2go | 15 +++
x2goserver-xsession/etc/Xresources | 1 +
x2goserver-xsession/etc/Xsession | 113 ++++++++++++++++++++
x2goserver-xsession/etc/Xsession.d | 1 +
x2goserver-xsession/etc/Xsession.options | 1 +
.../x2gofeature.d/x2goserver-xsession.features | 3 +-
x2goserver/bin/x2gostartagent | 3 +
12 files changed, 265 insertions(+), 2 deletions(-)
create mode 100755 x2goserver-xsession/Makefile
copy x2goserver-compat/VERSION.x2goserver-compat => x2goserver-xsession/VERSION.x2goserver-xsession (100%)
create mode 100644 x2goserver-xsession/doc/README.Xsession-x2go
create mode 120000 x2goserver-xsession/etc/Xresources
create mode 100755 x2goserver-xsession/etc/Xsession
create mode 120000 x2goserver-xsession/etc/Xsession.d
create mode 120000 x2goserver-xsession/etc/Xsession.options
copy x2goserver-printing/share/x2gofeature.d/x2goserver-printing.features => x2goserver-xsession/share/x2gofeature.d/x2goserver-xsession.features (96%)
The diff of changes is:
diff --git a/Makefile b/Makefile
index f3111d0..657dcfc 100755
--- a/Makefile
+++ b/Makefile
@@ -10,35 +10,41 @@ build_man2html:
cd x2goserver-printing && make $@
cd x2goserver-compat && make $@
cd x2goserver-extensions && make $@
+ cd x2goserver-xsession && make $@
clean:
cd x2goserver && make $@
cd x2goserver-printing && make $@
cd x2goserver-compat && make $@
cd x2goserver-extensions && make $@
+ cd x2goserver-xsession && make $@
build-arch:
cd x2goserver && make $@
cd x2goserver-printing && make $@
cd x2goserver-compat && make $@
cd x2goserver-extensions && make $@
+ cd x2goserver-xsession && make $@
build-indep:
cd x2goserver && make $@
cd x2goserver-printing && make $@
cd x2goserver-compat && make $@
cd x2goserver-extensions && make $@
+ cd x2goserver-xsession && make $@
install:
cd x2goserver && make $@
cd x2goserver-printing && make $@
cd x2goserver-compat && make $@
cd x2goserver-extensions && make $@
+ cd x2goserver-xsession && make $@
uninstall:
cd x2goserver-extensions && make $@
cd x2goserver-compat && make $@
cd x2goserver-printing && make $@
cd x2goserver && make $@
+ cd x2goserver-xsession && make $@
diff --git a/debian/changelog b/debian/changelog
index 0a78ac4..179f5fa 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -2,6 +2,8 @@ x2goserver (3.0.99.8-0~x2go1) UNRELEASED; urgency=low
* New upstream version (3.0.99.8):
- Fix feature list in x2goserver-extensions.
+ - Add Xsession.d processing to X2Go (as x2goserver-xsession add-on
+ package).
-- Mike Gabriel <mike.gabriel(a)das-netzwerkteam.de> Wed, 26 Oct 2011 17:37:10 +0200
diff --git a/debian/control b/debian/control
index dc1d274..139ed5f 100644
--- a/debian/control
+++ b/debian/control
@@ -38,7 +38,9 @@ Recommends:
xinit,
x2goserver-extensions (= ${source:Version})
Suggests:
- x2goserver-printing (= ${source:Version}), x2goserver-compat (= ${source:Version})
+ x2goserver-printing (= ${source:Version}),
+ x2goserver-compat (= ${source:Version}),
+ x2goserver-xsession (= ${source:Version})
Breaks:
x2goserver-one,
x2goserver-home,
@@ -139,3 +141,26 @@ Description: X2go server daemon scripts (extensions)
if you want non-legacy X2go clients to be able to
access your server without lack of features.
+Package: x2goserver-xsession
+Architecture: all
+Depends:
+ ${misc:Depends},
+ x2goserver (>= ${source:Version}), x2goserver (<< ${source:Version}.1~),
+ x11-common
+Description: X2go server daemon scripts (Xsession runner)
+ X2go is a server based computing environment with
+ - session resuming
+ - low bandwith support
+ - LDAP support
+ - client side mass storage mounting support
+ - audio support
+ - authentication by smartcard and USB stick
+ .
+ This X2go server add-on enables Xsession script handling
+ when starting desktop sessions with X2go.
+ .
+ Amongst others the parsing of Xsession scripts will
+ enable desktop-profiles, ssh-agent startups, gpgagent
+ startups and many more Xsession related features on
+ X2go session login automagically.
+
diff --git a/x2goserver-xsession/Makefile b/x2goserver-xsession/Makefile
new file mode 100755
index 0000000..ec4a063
--- /dev/null
+++ b/x2goserver-xsession/Makefile
@@ -0,0 +1,95 @@
+#!/usr/bin/make -f
+
+SRC_DIR=$(CURDIR)
+SHELL=/bin/bash
+
+INSTALL_DIR=install -d -o root -g root -m 755
+INSTALL_FILE=install -o root -g root -m 644
+INSTALL_PROGRAM=install -o root -g root -m 755
+
+RM_FILE=rm -f
+RM_DIR=rmdir -p --ignore-fail-on-non-empty
+
+DESTDIR=
+PREFIX=/usr/local
+ETCDIR=/etc/x2go
+#BINDIR=$(PREFIX)/bin
+#SBINDIR=$(PREFIX)/sbin
+#LIBDIR=$(PREFIX)/lib/x2go
+MANDIR=$(PREFIX)/share/man
+SHAREDIR=$(PREFIX)/share/x2go
+
+#BIN_SCRIPTS=$(shell cd bin && ls)
+#SBIN_SCRIPTS=$(shell cd sbin && ls)
+#LIB_FILES=$(shell cd lib && ls)
+ETC_FILES=$(shell cd etc && ls)
+FEATURE_SCRIPTS=$(shell cd share/x2gofeature.d && ls *.features)
+
+#man_pages = `cd man && find * -type f`
+
+#MAN2HTML_BIN = man2html
+#MAN2HTML_SRC = man
+#MAN2HTML_DEST = .build_man2html/html
+
+all: clean build
+
+build: build-indep
+
+build-indep: build_man2html
+
+build-arch:
+
+build_man2html:
+# mkdir -p $(MAN2HTML_DEST)
+# for man_page in $(man_pages); do mkdir -p `dirname $(MAN2HTML_DEST)/$$man_page`; done
+# for man_page in $(man_pages); do $(MAN2HTML_BIN) -r $(MAN2HTML_SRC)/$$man_page > $(MAN2HTML_DEST)/$$man_page.html; done
+
+clean: clean_man2html
+
+clean_man2html:
+# rm -rf `dirname $(MAN2HTML_DEST)`
+
+install: install_scripts install_config install_man install_version
+
+install_scripts:
+# $(INSTALL_DIR) $(DESTDIR)$(BINDIR)
+# $(INSTALL_DIR) $(DESTDIR)$(SBINDIR)
+ $(INSTALL_DIR) $(DESTDIR)$(SHAREDIR)
+ $(INSTALL_DIR) $(DESTDIR)$(SHAREDIR)/x2gofeature.d
+# $(INSTALL_PROGRAM) bin/* $(DESTDIR)$(BINDIR)/
+# $(INSTALL_PROGRAM) sbin/* $(DESTDIR)$(SBINDIR)/
+ $(INSTALL_PROGRAM) share/x2gofeature.d/*.features $(DESTDIR)$(SHAREDIR)/x2gofeature.d/
+
+install_config:
+ $(INSTALL_DIR) $(DESTDIR)$(ETCDIR)
+ $(INSTALL_FILE) etc/* $(DESTDIR)$(ETCDIR)/
+
+install_man:
+# $(INSTALL_DIR) $(DESTDIR)$(MANDIR)
+# $(INSTALL_DIR) $(DESTDIR)$(MANDIR)/man8
+# $(INSTALL_FILE) man/man8/*.8 $(DESTDIR)$(MANDIR)/man8
+# gzip -f $(DESTDIR)$(MANDIR)/man8/x2go*.8
+
+install_version:
+ $(INSTALL_DIR) $(DESTDIR)$(SHAREDIR)
+ $(INSTALL_DIR) $(DESTDIR)$(SHAREDIR)/versions
+ $(INSTALL_FILE) VERSION.x2goserver-xsession $(DESTDIR)$(SHAREDIR)/versions/VERSION.x2goserver-xsession
+
+uninstall: uninstall_scripts uninstall_config uninstall_man uninstall_version
+
+uninstall_scripts:
+# for file in $(BIN_SCRIPTS); do $(RM_FILE) $(DESTDIR)$(BINDIR)/$$file; done
+# for file in $(SBIN_SCRIPTS); do $(RM_FILE) $(DESTDIR)$(SBINDIR)/$$file; done
+ for file in $(FEATURE_SCRIPTS); do $(RM_FILE) $(DESTDIR)$(SHAREDIR)/x2gofeature.d/$$file; done
+
+uninstall_config:
+ for file in $(ETC_FILES); do $(RM_FILE) $(DESTDIR)$(ETCDIR)/$$file; done
+
+uninstall_man:
+# for file in $(BIN_SCRIPTS); do $(RM_FILE) $(DESTDIR)$(MANDIR)/man8/$$file.8.gz; done
+# for file in $(SBIN_SCRIPTS); do $(RM_FILE) $(DESTDIR)$(MANDIR)/man8/$$file.8.gz; done
+# $(RM_DIR) $(DESTDIR)$(MANDIR) || true
+
+uninstall_version:
+ $(RM_FILE) $(DESTDIR)$(SHAREDIR)/versions/VERSION.x2goserver-xsession
+ $(RM_DIR) $(DESTDIR)$(SHAREDIR)/versions || true
diff --git a/x2goserver-compat/VERSION.x2goserver-compat b/x2goserver-xsession/VERSION.x2goserver-xsession
similarity index 100%
copy from x2goserver-compat/VERSION.x2goserver-compat
copy to x2goserver-xsession/VERSION.x2goserver-xsession
diff --git a/x2goserver-xsession/doc/README.Xsession-x2go b/x2goserver-xsession/doc/README.Xsession-x2go
new file mode 100644
index 0000000..6324737
--- /dev/null
+++ b/x2goserver-xsession/doc/README.Xsession-x2go
@@ -0,0 +1,15 @@
+Xsession-x2go README
+====================
+
+With X2Go it is possible to use Xsession config files of your
+local X11 system.
+
+By default most files and folders related to Xsession config
+are symlinks to the corresponding file/folder in /etc/X11.
+
+If you want to customize your X2Go server's Xsession setup
+copy the corresponding files from /etc/X11 to /etc/x2go and
+adapt the setup to your needs.
+
+light+love,
+Mike Gabriel, 20111027
diff --git a/x2goserver-xsession/etc/Xresources b/x2goserver-xsession/etc/Xresources
new file mode 120000
index 0000000..484aa45
--- /dev/null
+++ b/x2goserver-xsession/etc/Xresources
@@ -0,0 +1 @@
+/etc/X11/Xresources
\ No newline at end of file
diff --git a/x2goserver-xsession/etc/Xsession b/x2goserver-xsession/etc/Xsession
new file mode 100755
index 0000000..6a6ca58
--- /dev/null
+++ b/x2goserver-xsession/etc/Xsession
@@ -0,0 +1,113 @@
+#!/bin/sh
+#
+# /etc/x2go/Xsession
+#
+# X2go Xsession file -- used by x2goserver Xsession.d add-on.
+
+# This file has been derived from the global Xsession file in Debian squeeze
+
+set -e
+
+PROGNAME=XSession-x2go
+
+message () {
+ # pretty-print messages of arbitrary length; use xmessage if it
+ # is available and $DISPLAY is set
+ MESSAGE="$PROGNAME: $*"
+ echo "$MESSAGE" | fold -s -w ${COLUMNS:-80} >&2
+ if [ -n "$DISPLAY" ] && which xmessage > /dev/null 2>&1; then
+ echo "$MESSAGE" | fold -s -w ${COLUMNS:-80} | xmessage -center -file -
+ fi
+}
+
+message_nonl () {
+ # pretty-print messages of arbitrary length (no trailing newline); use
+ # xmessage if it is available and $DISPLAY is set
+ MESSAGE="$PROGNAME: $*"
+ echo -n "$MESSAGE" | fold -s -w ${COLUMNS:-80} >&2;
+ if [ -n "$DISPLAY" ] && which xmessage > /dev/null 2>&1; then
+ echo -n "$MESSAGE" | fold -s -w ${COLUMNS:-80} | xmessage -center -file -
+ fi
+}
+
+errormsg () {
+ # exit script with error
+ message "$*"
+ exit 1
+}
+
+internal_errormsg () {
+ # exit script with error; essentially a "THIS SHOULD NEVER HAPPEN" message
+ # One big call to message() for the sake of xmessage; if we had two then
+ # the user would have dismissed the error we want reported before seeing the
+ # request to report it.
+ errormsg "$*" \
+ "Please report the installed version of the \"x2goserver\"" \
+ "package and the complete text of this error message to" \
+ "<x2go-dev(a)lists.x2go.org>."
+}
+
+# initialize variables for use by all session scripts
+
+OPTIONFILE=/etc/x2go/Xsession.options
+
+SYSRESOURCES=/etc/x2go/Xresources
+USRRESOURCES=$HOME/.Xresources-x2go
+
+SYSSESSIONDIR=/etc/x2go/Xsession.d
+USERXSESSION=$HOME/.xsession-x2go
+USERXSESSIONRC=$HOME/.xsessionrc-x2go
+ALTUSERXSESSION=$HOME/.Xsession-x2go
+ERRFILE=$HOME/.xsession-x2go-errors
+
+# attempt to create an error file; abort if we cannot
+if (umask 077 && touch "$ERRFILE") 2> /dev/null && [ -w "$ERRFILE" ] &&
+ [ ! -L "$ERRFILE" ]; then
+ chmod 600 "$ERRFILE"
+elif ERRFILE=$(tempfile 2> /dev/null); then
+ if ! ln -sf "$ERRFILE" "${TMPDIR:=/tmp}/xsession-x2go-$USER"; then
+ message "warning: unable to symlink \"$TMPDIR/xsession-x2go-$USER\" to" \
+ "\"$ERRFILE\"; look for session log/errors in" \
+ "\"$TMPDIR/xsession-x2go-$USER\"."
+ fi
+else
+ errormsg "unable to create X session (X2Go) log/error file; aborting."
+fi
+
+exec >>"$ERRFILE" 2>&1
+
+echo "$PROGNAME: X session started for $LOGNAME at $(date)"
+
+# sanity check; is our session script directory present?
+if [ ! -d "$SYSSESSIONDIR" ]; then
+ errormsg "no \"$SYSSESSIONDIR\" directory found; aborting."
+fi
+
+# Attempt to create a file of non-zero length in /tmp; a full filesystem can
+# cause mysterious X session failures. We do not use touch, :, or test -w
+# because they won't actually create a file with contents. We also let standard
+# error from tempfile and echo go to the error file to aid the user in
+# determining what went wrong.
+WRITE_TEST=$(tempfile)
+if ! echo "*" >>"$WRITE_TEST"; then
+ message "warning: unable to write to ${WRITE_TEST%/*}; X session (X2Go) may" \
+ "exit with an error"
+fi
+rm -f "$WRITE_TEST"
+
+# use run-parts to source every file in the session directory; we source
+# instead of executing so that the variables and functions defined above
+# are available to the scripts, and so that they can pass variables to each
+# other
+SESSIONFILES=$(run-parts --list $SYSSESSIONDIR)
+if [ -n "$SESSIONFILES" ]; then
+ set +e
+ for SESSIONFILE in $SESSIONFILES; do
+ . $SESSIONFILE
+ done
+ set -e
+fi
+
+exit 0
+
+# vim:set ai et sts=2 sw=2 tw=80:
diff --git a/x2goserver-xsession/etc/Xsession.d b/x2goserver-xsession/etc/Xsession.d
new file mode 120000
index 0000000..f64317e
--- /dev/null
+++ b/x2goserver-xsession/etc/Xsession.d
@@ -0,0 +1 @@
+/etc/X11/Xsession.d
\ No newline at end of file
diff --git a/x2goserver-xsession/etc/Xsession.options b/x2goserver-xsession/etc/Xsession.options
new file mode 120000
index 0000000..72929e1
--- /dev/null
+++ b/x2goserver-xsession/etc/Xsession.options
@@ -0,0 +1 @@
+/etc/X11/Xsession.options
\ No newline at end of file
diff --git a/x2goserver-printing/share/x2gofeature.d/x2goserver-printing.features b/x2goserver-xsession/share/x2gofeature.d/x2goserver-xsession.features
similarity index 96%
copy from x2goserver-printing/share/x2gofeature.d/x2goserver-printing.features
copy to x2goserver-xsession/share/x2gofeature.d/x2goserver-xsession.features
index 7332656..9fb329e 100755
--- a/x2goserver-printing/share/x2gofeature.d/x2goserver-printing.features
+++ b/x2goserver-xsession/share/x2gofeature.d/x2goserver-xsession.features
@@ -29,7 +29,8 @@ X2GO_FEATURE=$1
# check for X2go server core features
case "$X2GO_FEATURE" in
- "X2GO_PRINTING") echo "ok"; exit 0;;
+ "X2GO_XSESSION") echo "ok"; exit 0;;
*) exit -1;;
+
esac
diff --git a/x2goserver/bin/x2gostartagent b/x2goserver/bin/x2gostartagent
index 00c2a58..3d26a9e 100755
--- a/x2goserver/bin/x2gostartagent
+++ b/x2goserver/bin/x2gostartagent
@@ -238,6 +238,9 @@ X2GO_AGENT_RETVAL=$?
test $X2GO_AGENT_RETVAL && {
$X2GO_LIB_PATH/x2gosyslog "$0" "notice" "successfully started X2go agent session with ID $SESSION_NAME"
+ # initialize x2goserver-xsession (process /etc/x2go/Xsession)
+ x2gofeature X2GO_XSESSION &>/dev/null && [ "x$SESSION_TYPE" = "xD" ] && . /etc/x2go/Xsession
+
# run x2goserver-extensions for post-start
x2gofeature X2GO_RUN_EXTENSIONS &>/dev/null && x2goserver-run-extensions $SESSION_NAME post-start
hooks/post-receive
--
x2goserver.git (X2go Server)
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "x2goserver.git" (X2go Server).
[View Less]
The branch, master has been updated
via e8d2037ab25e6cf0d137cbe99c1859ded58ddea0 (commit)
via fb44b9ef4c59e138777562ebc8bfe831a877cf4e (commit)
from 1c87d105f5607c6980219cd005de1bd1fed584a9 (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
commit e8d2037ab25e6cf0d137cbe99c1859ded58ddea0
…
[View More]Author: Mike Gabriel <mike.gabriel(a)das-netzwerkteam.de>
Date: Wed Oct 26 17:40:07 2011 +0200
Fix feature list in x2goserver-extensions.
commit fb44b9ef4c59e138777562ebc8bfe831a877cf4e
Author: Mike Gabriel <mike.gabriel(a)das-netzwerkteam.de>
Date: Wed Oct 26 17:39:30 2011 +0200
version increment
-----------------------------------------------------------------------
Summary of changes:
debian/changelog | 7 +++++++
x2goserver-compat/VERSION.x2goserver-compat | 2 +-
.../VERSION.x2goserver-extensions | 2 +-
.../x2gofeature.d/x2goserver-extensions.features | 1 -
x2goserver-printing/VERSION.x2goserver-printing | 2 +-
x2goserver/VERSION.x2goserver | 2 +-
6 files changed, 11 insertions(+), 5 deletions(-)
The diff of changes is:
diff --git a/debian/changelog b/debian/changelog
index 2f4e1f7..0a78ac4 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,10 @@
+x2goserver (3.0.99.8-0~x2go1) UNRELEASED; urgency=low
+
+ * New upstream version (3.0.99.8):
+ - Fix feature list in x2goserver-extensions.
+
+ -- Mike Gabriel <mike.gabriel(a)das-netzwerkteam.de> Wed, 26 Oct 2011 17:37:10 +0200
+
x2goserver (3.0.99.7-0~x2go1) unstable; urgency=low
* New upstream version (3.0.99.7):
diff --git a/x2goserver-compat/VERSION.x2goserver-compat b/x2goserver-compat/VERSION.x2goserver-compat
index c89e6f8..d720f99 100644
--- a/x2goserver-compat/VERSION.x2goserver-compat
+++ b/x2goserver-compat/VERSION.x2goserver-compat
@@ -1 +1 @@
-3.0.99.7
\ No newline at end of file
+3.0.99.8
\ No newline at end of file
diff --git a/x2goserver-extensions/VERSION.x2goserver-extensions b/x2goserver-extensions/VERSION.x2goserver-extensions
index c89e6f8..d720f99 100644
--- a/x2goserver-extensions/VERSION.x2goserver-extensions
+++ b/x2goserver-extensions/VERSION.x2goserver-extensions
@@ -1 +1 @@
-3.0.99.7
\ No newline at end of file
+3.0.99.8
\ No newline at end of file
diff --git a/x2goserver-extensions/share/x2gofeature.d/x2goserver-extensions.features b/x2goserver-extensions/share/x2gofeature.d/x2goserver-extensions.features
index eb4e740..7e50dd7 100755
--- a/x2goserver-extensions/share/x2gofeature.d/x2goserver-extensions.features
+++ b/x2goserver-extensions/share/x2gofeature.d/x2goserver-extensions.features
@@ -30,7 +30,6 @@ X2GO_FEATURE=$1
case "$X2GO_FEATURE" in
"X2GO_SET_KEYBOARD") echo "ok"; exit 0;;
- "X2GO_LIST_MOUNTS") echo "ok"; exit 0;;
"X2GO_RUN_EXTENSIONS") echo "ok"; exit 0;;
*) exit -1;;
diff --git a/x2goserver-printing/VERSION.x2goserver-printing b/x2goserver-printing/VERSION.x2goserver-printing
index c89e6f8..d720f99 100644
--- a/x2goserver-printing/VERSION.x2goserver-printing
+++ b/x2goserver-printing/VERSION.x2goserver-printing
@@ -1 +1 @@
-3.0.99.7
\ No newline at end of file
+3.0.99.8
\ No newline at end of file
diff --git a/x2goserver/VERSION.x2goserver b/x2goserver/VERSION.x2goserver
index c89e6f8..d720f99 100644
--- a/x2goserver/VERSION.x2goserver
+++ b/x2goserver/VERSION.x2goserver
@@ -1 +1 @@
-3.0.99.7
\ No newline at end of file
+3.0.99.8
\ No newline at end of file
hooks/post-receive
--
x2goserver.git (X2go Server)
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "x2goserver.git" (X2go Server).
[View Less]