X2Go Bug report logs - #814
Properly starting xubuntu (and others) session in Ubuntu

version graph

Package: x2goserver-xsession; Maintainer for x2goserver-xsession is X2Go Developers <x2go-dev@lists.x2go.org>; Source for x2goserver-xsession is src:x2goserver.

Reported by: Hrvoje Habjanić <hrvoje.habjanic@zg.ht.hr>

Date: Tue, 10 Mar 2015 15:35:01 UTC

Severity: normal

Found in version 4.0.1.19-0~1062~ubuntu14.04.1

Reply or subscribe to this bug.

Toggle useless messages

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to x2go-dev@lists.x2go.org, X2Go Developers <x2go-dev@lists.x2go.org>:
Bug#814; Package x2goserver-xsession. (Tue, 10 Mar 2015 15:35:01 GMT) (full text, mbox, link).


Acknowledgement sent to Hrvoje Habjanić <hrvoje.habjanic@zg.ht.hr>:
New Bug report received and forwarded. Copy sent to X2Go Developers <x2go-dev@lists.x2go.org>. (Tue, 10 Mar 2015 15:35:01 GMT) (full text, mbox, link).


Message #5 received at submit@bugs.x2go.org (full text, mbox, reply):

From: Hrvoje Habjanić <hrvoje.habjanic@zg.ht.hr>
To: submit@bugs.x2go.org
Subject: Properly starting xubuntu (and others) session in Ubuntu
Date: Tue, 10 Mar 2015 16:30:22 +0100
Package: x2goserver-xsession
Version: 4.0.1.19-0~1062~ubuntu14.04.1

Hi.

It seems that ubuntu requires some additional stuff to be started,
to successfully fork X virtual session. The most notable is calling
of init script with "--user" argument.

Scripts used by /etc/X11/Xsession do most of the stuff ok, and are
used by GUI launchers (ie. lightdm). Unfortunately, it requires
some additional environment variables to work properly.

In most cases, it seems that DESKTOP_SESSION is the most important
one. Following does script properly starts xubuntu session, and is the
same as started from lightdm:

-------[snip]-------

PATH=$PATH:/sbin
export DESKTOP_SESSION=xubuntu

exec /etc/X11/Xsession 'env XAUTHORITY=/home/'$LOGNAME'/.Xauthority /usr/bin/xfce4-session'

-------[snip]-------

It is enough to put this somewhere on OS, and set it up as script
to be started when session start via x2gosession GUI.

List of possible values in "DESKTOP_SESSION" is available in 
/etc/upstart-xsessions.

It would be nice if you could put this information somewhere on the
wiki, so other users can use it to properly start session(s).

Regards,

H.



Send a report that this bug log contains spam.


X2Go Developers <owner@bugs.x2go.org>. Last modified: Thu Nov 21 16:24:33 2024; Machine Name: ymir.das-netzwerkteam.de

X2Go Bug tracking system

Debbugs is free software and licensed under the terms of the GNU Public License version 2. The current version can be obtained from https://bugs.debian.org/debbugs-source/.

Copyright © 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson, 2005-2017 Don Armstrong, and many other contributors.