Hi Orion,

On  Sa 07 Dez 2013 21:35:42 CET, Orion Poplawski wrote:

In the Fedora x2goserver package, I've packaged the /etc/x2go/Xsession* files as part of the main package. This is breaking things - see https://bugzilla.redhat.com/show_bug.cgi?id=1038834

This seems to be the crux of the matter, from x2goruncommand:

x2gofeature X2GO_XSESSION &>/dev/null && [ "x$X2GO_SESS_TYPE" = "xD" ] && {
                STARTUP="$cmd$args"
$X2GO_LIB_PATH/x2gosyslog "$0" "notice" "launching session with Xsession-x2go mechanism, using STARTUP=\"$STARTUP\"" STARTUP="/usr/bin/env LD_LIBRARY_PATH=${LD_LIBRARY_PATH} ${STARTUP}" /etc/x2go/Xsession
        } || {
$X2GO_LIB_PATH/x2gosyslog "$0" "debug" "executing command \"$cmd$args\"..."
                $EXEC_WRAPPER $cmd$args
        }


So, with the X2GO_XSESSION feature installed (which it is), it runs /etc/x2go/Xsession. This script exits successfully and so $cmd$args is never executed.

It looks like something in Xsession is supposed to run $STARTUP, but nothing is configured to do so. Are users expected to create their own script to do this?

Part of the confusion for me is that there is no /etc/X11/Xsession.d in Fedora, so I'm not sure what is meant to be there.

Ah well. Seems like that part of X2Go Server is highly Debianic then... Sorry for that.

The /etc/X11/Xsession.d is a place on Debian systems where other package (maintainers) can drop in code that should be executed with every Xsession startup.

I attach a tarball of all those script on my Debian wheezy system to this mail to give you an impression of what is going on in Debian's /etc/X11/Xsession.d.

The last script being executed looks like this:

"""
# $Id: 99x11-common_start 305 2005-07-03 18:51:43Z dnusinow $

# This file is sourced by Xsession(5), not executed.

exec $STARTUP

# vim:set ai et sts=2 sw=2 tw=80:
"""

Greets,
Mike

--

DAS-NETZWERKTEAM
mike gabriel, herweg 7, 24357 fleckeby
fon: +49 (1520) 1976 148

GnuPG Key ID 0x25771B31
mail: [email protected], http://das-netzwerkteam.de

freeBusy:
https://mail.das-netzwerkteam.de/freebusy/m.gabriel%40das-netzwerkteam.de.xfb

Attachment: Xsession.d.tar.gz
Description: GNU Zip compressed data

Attachment: pgprTNaML4_9E.pgp
Description: Digitale PGP-Signatur

_______________________________________________
X2Go-Dev mailing list
[email protected]
https://lists.berlios.de/mailman/listinfo/x2go-dev

Reply via email to