| home | help | back | first | fref | pref | prev | next | nref | lref | last | post |
In-Reply-To: <200902232221.n1NML8DR001453@abulia.mit.edu> Mime-Version: 1.0 (Apple Message framework v753.1) Content-Type: text/plain; charset=US-ASCII; format=flowed Message-Id: <DB5F3475-9F84-4D82-A51B-7A7AEBC39F40@mit.edu> Cc: athena10@mit.edu Content-Transfer-Encoding: 7bit From: William Cattey <wdc@MIT.EDU> Date: Mon, 23 Feb 2009 17:23:28 -0500 To: Robert A Basch <rbasch@mit.edu> This looks like a 100% correct and workable fix. -Bill On Feb 23, 2009, at 5:21 PM, Robert A Basch wrote: > 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 |