[X2Go-Dev] gnome-sessions on Ubuntu 15.10+

Eugene San eugenesan at gmail.com
Thu Dec 24 04:07:10 CET 2015


Hi all,

I've managed to fix gnome-flashback on Ubuntu 15.10+ (actually tested only
on 16.04).
Patches attached.

Summary:
1. gnome-session was crashing due to bug in gnome-session.
    The solution was to disable display configuration by gnome-flashback:
    gsettings set org.gnome.gnome-flashback display-config false
2. environment set by x2goruncommnd was insufficient for gnome-flashback
and upstart to work.
    Following variables had to be added: XDG_CURRENT_DESKTOP and BASESESSION
3. In normal sessions Xsession is executed with parameter, new variable
XSESSION_PARAM was introduced and passed to Xsession
4. Variable DESKTOP_SESSION had to be updated to gnome-flashback-metacity
5. gnome-session now requires --disable-acceleration-check parameter
6. PATH had to be synced with /etc/environment for upstart to work
7. Initial display configuration was fixed by installing sane default in
~/.config/monitors.xml on first run
8. On the way, formatting of x2gorunner was fixed
9. New dependencies (libgles{1,2}-mesa) had to be introduced to libnx-x11-6.
    control-center and probably other applications based clutter/GL, won't
work otherwise.

Big thanks to *Alberts Muktupāvels* and *Alkis Georgopoulos* (
https://mail.gnome.org/archives/gnome-flashback-list/2015-December/msg00014.html
)

Regards


On Sun, Dec 13, 2015 at 8:11 PM, Eugene San <eugenesan at gmail.com> wrote:

> Hi all.
> I am trying to fix gnome sessions (gnome flashback) on Ubuntu 15.10+.
>
> I started with fixing session name (flashback -> flashback-metacity) and
> disabling acceleration check (--disable-acceleration-check), but the
> sessions are still broken, they start as a black screen and crashes after
> few minutes.
>
> Logs are inconclusive.
> I guess services are failing to start and the problem is related to
> recent systemd-user-init and upstart mixture for sessions start-up.
>
> Can anyone educate me how exactly the sessions are starting in recent
> releases and where the problem might be?
>
> Thanks.
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.x2go.org/pipermail/x2go-dev/attachments/20151223/be62dc2c/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-x2goruncommand-fix-formatting.patch
Type: text/x-patch
Size: 4638 bytes
Desc: not available
URL: <http://lists.x2go.org/pipermail/x2go-dev/attachments/20151223/be62dc2c/attachment.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0002-x2goruncommand-fix-initial-monitor-configuration.patch
Type: text/x-patch
Size: 2484 bytes
Desc: not available
URL: <http://lists.x2go.org/pipermail/x2go-dev/attachments/20151223/be62dc2c/attachment-0001.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0003-x2goruncommand-set-normal-PATH.patch
Type: text/x-patch
Size: 972 bytes
Desc: not available
URL: <http://lists.x2go.org/pipermail/x2go-dev/attachments/20151223/be62dc2c/attachment-0002.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0004-x2goruncommand-add-support-for-gnome-flashback-on-ub.patch
Type: text/x-patch
Size: 2712 bytes
Desc: not available
URL: <http://lists.x2go.org/pipermail/x2go-dev/attachments/20151223/be62dc2c/attachment-0003.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0005-x2goruncommand-add-support-for-unity-on-ubuntu-15.10.patch
Type: text/x-patch
Size: 1488 bytes
Desc: not available
URL: <http://lists.x2go.org/pipermail/x2go-dev/attachments/20151223/be62dc2c/attachment-0004.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-libnx-x11-6-Add-libgles-1-2-mesa-to-depends-to-fix-c.patch
Type: text/x-patch
Size: 823 bytes
Desc: not available
URL: <http://lists.x2go.org/pipermail/x2go-dev/attachments/20151223/be62dc2c/attachment-0005.bin>


More information about the x2go-dev mailing list