Bug#644442: gnome-session-bin: gnome-session-save --force-logout does not force a logout

Daniel Kahn Gillmor dkg at fifthhorseman.net
Wed Oct 5 21:55:15 UTC 2011


Package: gnome-session-bin
Version: 2.30.2-3
Severity: normal

I have openoffice 1:3.2.1-11+squeeze4 installed.

if i open a document and type a character without saving it, and then run:

 gnome-session-save --force-logout

i would expect that document to be lost (maybe autosave-recovered next time i log in).

gnome-session-save(1) says:

       If  called  with the --logout option, the current GNOME session will be
       ended, unless logging out has been inhibited by  an  application.   The
       --force-logout  option can be used to end the session regardless of the
       inhibition state.

instead of being logged out, i get a dialog box that says:

--------------
 A program is still running:
 /usr/lib/openoffice/program/soffice
 Not responding
 Waiting for program to finish
 Interrupting program may cause you to
 lose work

 [Lock Screen] [Cancel] [Logout Anyway]
--------------

This seems to be in contradiction to the description in the manual page, which say it should just go ahead and end the session.

It is particularly problematic when invoked from gnome-screensaver's "log out" button, as per

  https://live.gnome.org/GnomeScreensaver/FrequentlyAskedQuestions#Can_I_have_a_logout_button_on_the_screensaver_unlock_dialog.3F

because it means that the "log out" button from the gnome-screensaver dialog actually has no effect.

Is there some clean way to actually end the session regardless of an application that wants to inhibit it?

	--dkg


-- System Information:
Debian Release: 6.0.2
  APT prefers stable-updates
  APT policy: (500, 'stable-updates'), (500, 'stable')
Architecture: i386 (i686)

Kernel: Linux 2.6.39-bpo.2-686-pae (SMP w/1 CPU core)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages gnome-session-bin depends on:
ii  dbus-x11               1.2.24-4+squeeze1 simple interprocess messaging syst
ii  gconf2                 2.28.1-6          GNOME configuration database syste
ii  libc6                  2.11.2-10         Embedded GNU C Library: Shared lib
ii  libdbus-1-3            1.2.24-4+squeeze1 simple interprocess messaging syst
ii  libdbus-glib-1-2       0.88-2.1          simple interprocess messaging syst
ii  libgconf2-4            2.28.1-6          GNOME configuration database syste
ii  libglib2.0-0           2.24.2-1          The GLib library of C routines
ii  libgtk2.0-0            2.20.1-2          The GTK+ graphical user interface 
ii  libice6                2:1.0.6-2         X11 Inter-Client Exchange library
ii  libsm6                 2:1.1.1-1         X11 Session Management library
ii  libupower-glib1        0.9.5-5           abstraction for power management -
ii  libx11-6               2:1.3.3-4         X11 client-side library
ii  libxau6                1:1.0.6-1         X11 authorisation library
ii  libxext6               2:1.1.2-1         X11 miscellaneous extension librar
ii  libxrender1            1:0.9.6-1         X Rendering Extension client libra
ii  libxtst6               2:1.1.0-3         X11 Testing -- Record extension li
ii  upower                 0.9.5-5           abstraction for power management

gnome-session-bin recommends no packages.

gnome-session-bin suggests no packages.

-- debconf-show failed






More information about the pkg-gnome-maintainers mailing list