<div dir="ltr"><div><div><div>Hi all,<br><br></div>I've managed to fix gnome-flashback on Ubuntu 15.10+ (actually tested only on 16.04).<br></div>Patches attached.<br><br></div><div>Summary:<br>1. gnome-session was crashing due to bug in gnome-session.<br>    The solution was to disable display configuration by gnome-flashback:<br>    gsettings set org.gnome.gnome-flashback display-config false<br></div><div>2. environment set by x2goruncommnd was insufficient for gnome-flashback and upstart to work.<br></div><div>    Following variables had to be added: XDG_CURRENT_DESKTOP and BASESESSION<br>3. In normal sessions Xsession is executed with parameter, new variable XSESSION_PARAM was introduced and passed to Xsession<br>4. Variable DESKTOP_SESSION had to be updated to gnome-flashback-metacity<br></div><div>5. gnome-session now requires --disable-acceleration-check parameter<br></div><div>6. PATH had to be synced with /etc/environment for upstart to work<br></div><div>7. Initial display configuration was fixed by installing sane default in ~/.config/monitors.xml on first run<br></div><div>8. On the way, formatting of x2gorunner was fixed<br>9. New dependencies (libgles{1,2}-mesa) had to be introduced to libnx-x11-6.<br>    control-center and probably other applications based clutter/GL, won't work otherwise.<br></div><div><br></div><div>Big thanks to <i>Alberts Muktupāvels</i> and <i>Alkis Georgopoulos</i> (<a href="https://mail.gnome.org/archives/gnome-flashback-list/2015-December/msg00014.html" target="_blank">https://mail.gnome.org/archives/gnome-flashback-list/2015-December/msg00014.html</a>)<br><br></div><div>Regards<br></div><br></div><div class="gmail_extra"><br><div class="gmail_quote">On Sun, Dec 13, 2015 at 8:11 PM, Eugene San <span dir="ltr"><<a href="mailto:eugenesan@gmail.com" target="_blank">eugenesan@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div><div><div><span>Hi all.<br>I am trying to fix 
gnome sessions (gnome flashback) on Ubuntu 15.10+.<br><br>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.<br><br></span></div><span>Logs are inconclusive.<br>I guess services are failing to start and the problem </span><span>is related to recent systemd-user-init and upstart mixture for sessions start-up</span><span></span>.<br><br></div>Can anyone educate me how exactly the sessions are starting in recent releases and where the problem might be?<br><br></div>Thanks.<br><br></div>
</blockquote></div><br></div>