Re: [gnome-flashback] Gnome FB Meta on F22 fails to start locally



On Sun, Aug 9, 2015 at 4:04 PM, Alberts Muktupāvels
<alberts muktupavels gmail com> wrote:
Hi,

On Sun, Aug 9, 2015 at 10:44 PM, Michael DePaulo <mikedep333 gmail com>
wrote:

Hi Gnome Flashback devs,

As previously mentioned, Yaakov Selkowitz and I are working on
packaging GNOME Flashback for Fedora.
https://copr.fedoraproject.org/coprs/yselkowitz/gnome-flashback/

http://pastebin.com/AKA2YuDu

Anyway, I installed Fedora 22 (GNOME 3.16) on my laptop and GNOME
Flashback Metacity 3.16.x is failing to start locally via GDM.
Surprisingly, it successfully starts remotely via TigerVNC on the
laptop and on an Amazon EC2 instance. I can also start regular GNOME,
or GNOME Classic, on the laptop locally.

Both outputs below are from `journalctl --user`. I am calling
gnome-flashback-metacity with --debug.

Output from a failed local session:
http://pastebin.com/uF162cR7

Output from a successful remote (TigerVNC) session on the same laptop:
http://pastebin.com/1ixSQt40

It seems that the gnome-flashback executable itself is failing. I can
even see gnome-panel for a split second after I dismiss the fail
whale.


Is there any error message or something when gnome-flashback fails to start?
Do you have same problem if you try to use gnome-flashback from git master?

I created a test "xterm" xsession and tried to run gnome-flashback. It
segfaulted.
http://pastebin.com/WFQGgpJ6

I will try the version from git master.

In my ~/.vnc/.xstartup script, I have these 2 lines, which may be
significant:
unset SESSION_MANAGER
unset DBUS_SESSION_BUS_ADDRESS

Also,

GDM is reading from the xsession file, which contains this line:
DesktopNames=GNOME-Flashback;GNOME;

Whereas for TigerVNC, I have this line in ~/.Xclients
export XDG_CURRENT_DESKTOP=GNOME-Flashback;GNOME;


; - is used only in .desktop files
: - should be used when setting environment variable

That line should be:
export XDG_CURRENT_DESKTOP=GNOME-Flashback:GNOME

Just in case it is not a typo....

1. It looks like this is a bug. I will submit a patch.
https://git.gnome.org/browse/gnome-flashback/tree/data/gnome-flashback-metacity.desktop.in.in
https://git.gnome.org/browse/gnome-flashback/tree/data/gnome-flashback-compiz.desktop.in.in

2. I edited the .xsession file on my system and it did not fix the
issue with the local session. (I made sure to restart GDM).

3. It did fix compatibility with the simple project I have been
working on all day (xsession-chooser-pygtk), which I was using under
TigerVNC. My project uses the .xsession file:
https://github.com/mikedep333/xsession-chooser-pygtk

4. When I had that wrong logic in my ~/.Xclients file for TigerVNC,
bash tried to execute "GNOME", but it left the environment variable
set to "GNOME-Flashback". So some autostart apps were not starting up
correctly under TigerVNC., but now they are under TigerVNC.


So those 2 lines should be equivalent.

And here is the list of packages and their versions on the laptop:
http://pastebin.com/AKA2YuDu

-Mike
--
Alberts Muktupāvels


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]