Bug#242091: gnome-session: log out dialog no longer shows shut down, restart

Harald Staub Harald Staub <staub@switch.ch>, 242091@bugs.debian.org
Sun, 04 Apr 2004 20:32:05 +0200


Package: gnome-session
Version: 2.4.2-4
Severity: normal


The Gnome Log out dialog no longer shows the options for Shut down, Restart.
With version 2.4.2-2, it works.

These options should show up when the file /var/lock/console/<login name>
exists and /sbin/poweroff is executable.  The test for poweroff fails:

strace -p <pid of x-session-manager>:
[...]
access("", X_OK)                        = -1 ENOENT (No such file or directory)

instead of

access("/sbin/poweroff", X_OK)          = 0

This is no surprise when looking at /usr/bin/gnome-session:

strings /usr/bin/gnome-session | grep poweroff
shows nothing, instead of /sbin/poweroff.

This is on i386.  On ppc, I do not have this problem.  Perhaps this is
compiler related?


-- System Information:
Debian Release: testing/unstable
   APT prefers unstable
   APT policy: (500, 'unstable')
Architecture: i386 (i686)
Kernel: Linux 2.6.4
Locale: LANG=en_IE@euro, LC_CTYPE=en_IE@euro

Versions of packages gnome-session depends on:
ii  desktop-base            0.3.12           common files for the Debian Deskto
ii  libart-2.0-2            2.3.16-3         Library of functions for 2D graphi
ii  libatk1.0-0             1.4.1-1          The ATK accessibility toolkit
ii  libaudiofile0           0.2.6-3          Open-source version of SGI's audio
ii  libbonobo2-0            2.4.3-1          Bonobo CORBA interfaces library
ii  libbonoboui2-0          2.4.3-2          The Bonobo UI library
ii  libc6                   2.3.2.ds1-11     GNU C Library: Shared libraries an
ii  libesd0                 0.2.29-1         Enlightened Sound Daemon - Shared
ii  libgconf2-4             2.4.0.1-4        GNOME configuration database syste
ii  libglib2.0-0            2.2.3-1          The GLib library of C routines
ii  libgnome2-0             2.4.0-10         The GNOME 2 library - runtime file
ii  libgnomecanvas2-0       2.4.0-3          A powerful object-oriented display
ii  libgnomeui-0            2.4.0.1-10       The GNOME 2 libraries (User Interf
ii  libgnomevfs2-0          2.4.1-5          The GNOME virtual file-system libr
ii  libgnomevfs2-common     2.4.1-5          The GNOME virtual file-system libr
ii  libgtk2.0-0             2.2.4-3          The GTK+ graphical user interface
ii  libice6                 4.3.0-7          Inter-Client Exchange library
ii  liborbit2               1:2.8.3-2        libraries for ORBit2 - a CORBA ORB
ii  libpango1.0-0           1.2.5-2.1        Layout and rendering of internatio
ii  libpopt0                1.7-4            lib for parsing cmdline parameters
ii  libsm6                  4.3.0-7          X Window System Session Management
ii  libwrap0                7.6-ipv6.1-3ag.1 Wietse Venema's TCP wrappers libra
ii  libx11-6                4.3.0-7          X Window System protocol client li
ii  libxml2                 2.6.7-1          GNOME XML library
ii  libxmu6                 4.3.0-7          X Window System miscellaneous util
ii  libxrandr2              4.3.0-7          X Window System Resize, Rotate and
ii  libxrender1             0.8.3-7          X Rendering Extension client libra
ii  libxt6                  4.3.0-7          X Toolkit Intrinsics
ii  xlibs                   4.3.0-7          X Window System client libraries m
ii  zlib1g                  1:1.2.1-5        compression library - runtime

-- no debconf information