On 12/07/2013 01:54 PM, Mike Gabriel wrote:
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.

OKay, for now I'm going to just disable the xsession stuff completely in the Fedora packages and see how that goes.

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


Thanks, that's helpful. I'll try to think more about how we want to handle this long term later.

--
Orion Poplawski
Technical Manager                     303-415-9701 x222
NWRA/CoRA Division                    FAX: 303-415-9702
3380 Mitchell Lane                  [email protected]
Boulder, CO 80301              http://www.cora.nwra.com
_______________________________________________
X2Go-Dev mailing list
[email protected]
https://lists.berlios.de/mailman/listinfo/x2go-dev

Reply via email to