Hi all,
I've managed to fix gnome-flashback on Ubuntu 15.10+ (actually tested only
on 16.04).
Patches attached.
Summary:
- 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
- environment set by x2goruncommnd was insufficient for gnome-flashback
and upstart to work.
Following variables had to be added: XDG_CURRENT_DESKTOP and BASESESSION
- In normal sessions Xsession is executed with parameter, new variable
XSESSION_PARAM was introduced and passed to Xsession
- Variable DESKTOP_SESSION had to be updated to gnome-flashback-metacity
- gnome-session now requires --disable-acceleration-check parameter
- PATH had to be synced with /etc/environment for upstart to work
- Initial display configuration was fixed by installing sane default in
~/.config/monitors.xml on first run
- On the way, formatting of x2gorunner was fixed
- 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....
)
Regards
On Sun, Dec 13, 2015 at 8:11 PM, Eugene San <eugenesan@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.