Bug#563750: gdm/Xsession don't work with dash linked to /bin/sh

try_and_err try_and_err at web.de
Tue Jan 5 01:43:28 UTC 2010


Package: gdm
Version: 2.20.10-1
Severity: normal

No working X (!):
Answered "yes" (default) with dash (/bin/sh linked to /bin/dash) results 
to a few big letters on the screen, the only visible letters are (in 
german):
... problem
... mehr
... .
... e, sich

~$ cat .xsession-errors
/etc/gdm/Xsession: Beginning session setup...
/etc/bash.bashrc: 11: shopt: not found
/etc/bash.bashrc: 34: shopt: not found
/etc/bash_completion: 44: Bad substitution

/etc/bash_completion:
11:shopt -s checkwinsize
32:if [ -f /etc/bash_completion ] && ! shopt -oq posix; then
33:    . /etc/bash_completion
34:fi

/etc/bash_completion:
44:UNAME=${UNAME/CYGWIN_*/Cygwin}

Workaround:
Don't link dash as /bin/sh (dpkg-reconfigure dash, no).


-- System Information:
Debian Release: squeeze/sid
   APT prefers testing
   APT policy: (900, 'testing'), (800, 'stable'), (700, 'unstable')
Architecture: i386 (i686)

Kernel: Linux 2.6.30-2-686 (SMP w/1 CPU core)
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8) (ignored: 
LC_ALL set to de_DE.UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages gdm depends on:
ii  adduser                     3.112        add and remove users and groups
ii  debconf [debconf-2.0]       1.5.28       Debian configuration 
management sy
ii  gksu                        2.0.2-2+b1   graphical frontend to su
ii  gnome-session [x-session-ma 2.28.0-4     The GNOME Session Manager
ii  gnome-terminal [x-terminal- 2.28.2-1     The GNOME terminal emulator 
applic
ii  libart-2.0-2                2.3.20-2     Library of functions for 2D 
graphi
ii  libatk1.0-0                 1.28.0-1     The ATK accessibility toolkit
ii  libattr1                    1:2.4.44-1   Extended attribute shared 
library
ii  libc6                       2.10.2-2     GNU C Library: Shared libraries
ii  libcairo2                   1.8.8-2      The Cairo 2D vector 
graphics libra
ii  libdbus-1-3                 1.2.16-2     simple interprocess 
messaging syst
ii  libdbus-glib-1-2            0.82-2       simple interprocess 
messaging syst
ii  libdmx1                     1:1.0.2-3    X11 Distributed Multihead 
extensio
ii  libfontconfig1              2.6.0-4.2    generic font configuration 
library
ii  libfreetype6                2.3.11-1     FreeType 2 font engine, 
shared lib
ii  libglade2-0                 1:2.6.4-1    library to load .glade 
files at ru
ii  libglib2.0-0                2.22.3-1     The GLib library of C routines
ii  libgnomecanvas2-0           2.26.0-1     A powerful object-oriented 
display
ii  libgtk2.0-0                 2.18.3-1     The GTK+ graphical user 
interface
ii  libpam-modules              1.1.0-4      Pluggable Authentication 
Modules f
ii  libpam-runtime              1.1.0-4      Runtime support for the PAM 
librar
ii  libpam0g                    1.1.0-4      Pluggable Authentication 
Modules l
ii  libpango1.0-0               1.26.2-1     Layout and rendering of 
internatio
ii  librsvg2-2                  2.26.0-1     SAX-based renderer library 
for SVG
ii  librsvg2-common             2.26.0-1     SAX-based renderer library 
for SVG
ii  libselinux1                 2.0.89-4     SELinux runtime shared 
libraries
ii  libwrap0                    7.6.q-18     Wietse Venema's TCP 
wrappers libra
ii  libx11-6                    2:1.3.2-1    X11 client-side library
ii  libxau6                     1:1.0.5-1    X11 authorisation library
ii  libxdmcp6                   1:1.0.3-1    X11 Display Manager Control 
Protoc
ii  libxext6                    2:1.0.4-1    X11 miscellaneous extension 
librar
ii  libxi6                      2:1.2.1-2    X11 Input extension library
ii  libxinerama1                2:1.0.3-2    X11 Xinerama extension library
ii  libxml2                     2.7.6.dfsg-1 GNOME XML library
ii  lsb-base                    3.2-23       Linux Standard Base 3.2 
init scrip
ii  metacity [x-window-manager] 1:2.28.0-3   lightweight GTK+ window manager
ii  twm [x-window-manager]      1:1.0.4-2    Tab window manager
ii  xterm [x-terminal-emulator] 251-1        X terminal emulator

Versions of packages gdm recommends:
ii  dialog                    1.1-20080819-1 Displays user-friendly 
dialog boxe
ii  gdm-themes                0.6.2          Themes for the GNOME 
Display Manag
ii  whiptail                  0.52.10-5      Displays user-friendly 
dialog boxe
ii  xserver-xephyr            2:1.6.5-1      nested X server
ii  xserver-xorg              1:7.4+4        the X.Org X server
ii  zenity                    2.28.0-1       Display graphical dialog 
boxes fro

Versions of packages gdm suggests:
ii  libpam-gnome-keyring          2.28.2-1   PAM module to unlock the 
GNOME key
ii  locales                       2.10.2-2   GNU C Library: National 
Language (
ii  pm-utils                      1.2.6.1-3  utilities and scripts for 
power ma

-- debconf information:
   gdm/daemon_name: /usr/bin/gdm
* shared/default-x-display-manager: gdm





More information about the pkg-gnome-maintainers mailing list