[1203] in athena10

home help back first fref pref prev next nref lref last post

initial gnome-terminal fix (ATN-39)

daemon@ATHENA.MIT.EDU (Robert A Basch)
Mon Feb 23 17:22:06 2009

Message-Id: <200902232221.n1NML8DR001453@abulia.mit.edu>
To: athena10@MIT.EDU
Date: Mon, 23 Feb 2009 17:21:08 -0500
From: Robert A Basch <rbasch@MIT.EDU>

I investigated the bug where logout does not work from the initial
gnome-terminal (https://jira.mit.edu/jira/browse/ATN-39).  The
problem is that we are launching gnome-terminal directly from our
xsession script, so that it does not have the needed session
environment set up in order for gnome-session-save to talk to
the session manager.

Assuming it is still preferred to support skip_initial_xterm, my
proposed fix is to add a .desktop file in /etc/xdg/autostart/, which
will invoke a new /usr/lib/init/ script to start the gnome-terminal
conditionally, based on whether an environment variable is set.
xsession would set the environment variable, based on whether the user
sets skip_initial_xterm, instead of launching gnome-terminal itself.

Bob


home help back first fref pref prev next nref lref last post