Bug#605108: Problem with /usr/X11R6/bin path prefix in gdm.conf
Roland Baudin
roland65 at free.fr
Sat Nov 27 14:08:45 UTC 2010
Package: gdm
Version: 2.20.11-2
Severity: normal
Tags: squeeze
When upgrading from Lenny to Squeeze, the path prefix /usr/X11R6/bin given in
many places of gdm.conf does not exist anymore. Thus, gdm does not start
anymore.
There should be a transition mechanism that replaces the /usr/X11R6/bin prefix
with /usr/bin in gdm.conf, or any other mechanism that alows to start gdm with
the right prefix.
-- System Information:
Debian Release: squeeze/sid
APT prefers testing
APT policy: (990, 'testing')
Architecture: i386 (i686)
Kernel: Linux 2.6.32.25 (SMP w/2 CPU cores; PREEMPT)
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=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.36 Debian configuration management sy
ii gksu 2.0.2-5 graphical frontend to su
ii gnome-session [x-session-ma 2.30.2-3rb The GNOME Session Manager - GNOME
ii gnome-terminal [x-terminal- 2.30.2-1 The GNOME terminal emulator applic
ii libart-2.0-2 2.3.21-1 Library of functions for 2D graphi
ii libatk1.0-0 1.30.0-1 The ATK accessibility toolkit
ii libattr1 1:2.4.44-2 Extended attribute shared library
ii libc6 2.11.2-7 Embedded GNU C Library: Shared lib
ii libcairo2 1.8.10-6 The Cairo 2D vector graphics libra
ii libdbus-1-3 1.2.24-3 simple interprocess messaging syst
ii libdbus-glib-1-2 0.88-2 simple interprocess messaging syst
ii libdmx1 1:1.1.0-2 X11 Distributed Multihead extensio
ii libfontconfig1 2.8.0-2.1 generic font configuration library
ii libfreetype6 2.4.2-2.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.24.2-1 The GLib library of C routines
ii libgnomecanvas2-0 2.30.1-1 A powerful object-oriented display
ii libgtk2.0-0 2.20.1-2 The GTK+ graphical user interface
ii libpam-modules 1.1.1-6.1 Pluggable Authentication Modules f
ii libpam-runtime 1.1.1-6.1 Runtime support for the PAM librar
ii libpam0g 1.1.1-6.1 Pluggable Authentication Modules l
ii libpango1.0-0 1.28.3-1 Layout and rendering of internatio
ii librsvg2-2 2.26.3-1 SAX-based renderer library for SVG
ii librsvg2-common 2.26.3-1 SAX-based renderer library for SVG
ii libselinux1 2.0.96-1 SELinux runtime shared libraries
ii libwrap0 7.6.q-19 Wietse Venema's TCP wrappers libra
ii libx11-6 2:1.3.3-3 X11 client-side library
ii libxau6 1:1.0.6-1 X11 authorisation library
ii libxdmcp6 1:1.0.3-2 X11 Display Manager Control Protoc
ii libxext6 2:1.1.2-1 X11 miscellaneous extension librar
ii libxi6 2:1.3-4 X11 Input extension library
ii libxinerama1 2:1.1-3 X11 Xinerama extension library
ii libxml2 2.7.8.dfsg-1 GNOME XML library
ii lsb-base 3.2-23.1 Linux Standard Base 3.2 init scrip
ii metacity [x-window-manager] 1:2.30.1-3 lightweight GTK+ window manager
ii xterm [x-terminal-emulator] 261-1 X terminal emulator
Versions of packages gdm recommends:
ii dialog 1.1-20100428-1 Displays user-friendly dialog boxe
ii gdm-themes 0.6.2 Themes for the GNOME Display Manag
ii whiptail 0.52.11-1 Displays user-friendly dialog boxe
pn xserver-xephyr | xnest <none> (no description available)
ii xserver-xorg 1:7.5+8 the X.Org X server
ii zenity 2.30.0-1 Display graphical dialog boxes fro
Versions of packages gdm suggests:
ii libpam-gnome-keyring 2.30.3-4 PAM module to unlock the GNOME key
ii locales 2.11.2-7 Embedded GNU C Library: National L
ii pm-utils 1.3.0-3 utilities and scripts for power ma
-- Configuration Files:
/etc/gdm/PreSession/Default changed:
PATH="/usr/bin:$PATH:/bin:/usr/bin"
OLD_IFS=$IFS
gdmwhich () {
COMMAND="$1"
OUTPUT=
IFS=:
for dir in $PATH
do
if test -x "$dir/$COMMAND" ; then
if test "x$OUTPUT" = "x" ; then
OUTPUT="$dir/$COMMAND"
fi
fi
done
IFS=$OLD_IFS
echo "$OUTPUT"
}
XSETROOT=`gdmwhich xsetroot`
if [ "x$XSETROOT" != "x" ] ; then
CHECKBACKCOLOR="OK"
if [ "x$GDM_GREETER_TYPE" = "xTHEMED" ]; then
BACKCOLOR=`gdmflexiserver --command="GET_CONFIG greeter/GraphicalThemedColor $DISPLAY"`
CHECKBACKCOLOR=`echo $BACKCOLOR | sed 's/^\([^ ]*\) .*$/\1/'`
if [ "x$CHECKBACKCOLOR" = "xOK" ]; then
BACKCOLOR=`echo $BACKCOLOR | sed 's/^.* \(.*\)$/\1/'`
else
BACKCOLOR=""
fi
fi
# If we tried to load the themed backgroundcolor, but failed, then try loading plain color
if [ "x$CHECKBACKCOLOR" != "xOK" ] || [ "x$GDM_GREETER_TYPE" = "xPLAIN" ]; then
# Background type can be 0=None, 1=Image & Color, 2=Color, or 3=Image
BACKTYPE=`gdmflexiserver --command="GET_CONFIG greeter/BackgroundType $DISPLAY"`
# Skip if background type does not include a color
if [ "x$BACKTYPE" = "xOK 1" ] || [ "x$BACKTYPE" = "xOK 2" ]; then
BACKCOLOR=`gdmflexiserver --command="GET_CONFIG greeter/BackgroundColor $DISPLAY"`
CHECKBACKCOLOR=`echo $BACKCOLOR | sed 's/^\([^ ]*\) .*$/\1/'`
if [ "x$CHECKBACKCOLOR" = "xOK" ]; then
BACKCOLOR=`echo $BACKCOLOR | sed 's/^.* \(.*\)$/\1/'`
else
BACKCOLOR=""
fi
fi
fi
# Default value
if [ "x$BACKCOLOR" = "x" ]; then
BACKCOLOR="#0f455e"
fi
"$XSETROOT" -cursor_name left_ptr -solid "$BACKCOLOR"
fi
exit 0
/etc/gdm/gdm.conf changed:
[daemon]
AutomaticLoginEnable=false
AutomaticLogin=
TimedLoginEnable=false
TimedLogin=
TimedLoginDelay=30
Greeter=/usr/lib/gdm/gdmgreeter
DefaultPath=/usr/local/bin:/usr/bin:/bin:/usr/bin/X11:/usr/games
RootPath=/usr/local/bin:/usr/local/sbin:/sbin:/usr/sbin:/bin:/usr/bin:/usr/bin/X11:/usr/games
User=gdm
Group=gdm
LogDir=/var/log/gdm
PidFile=/var/run/gdm.pid
PostLoginScriptDir=/etc/gdm/PostLogin/
PreSessionScriptDir=/etc/gdm/PreSession/
PostSessionScriptDir=/etc/gdm/PostSession/
DisplayInitDir=/etc/gdm/Init
XKeepsCrashing=/etc/gdm/XKeepsCrashing
RebootCommand=/sbin/shutdown -r now "Rebooted from gdm menu."
HaltCommand=/sbin/shutdown -h now "Shut Down from gdm menu."
SuspendCommand=/usr/bin/apm --suspend
ServAuthDir=/var/lib/gdm
BaseXsession=/etc/gdm/Xsession
SessionDesktopDir=/etc/X11/sessions/:/etc/dm/Sessions/:/usr/share/gdm/BuiltInSessions/:/usr/share/xsessions/
DefaultSession=default.desktop
UserAuthDir=
UserAuthFBDir=/tmp
UserAuthFile=.Xauthority
StandardXServer=/usr/bin/X
Xnest=/usr/bin/Xnest -audit 0 -name Xnest
FirstVT=7
VTAllocation=true
[security]
AllowRoot=true
AllowRemoteRoot=false
AllowRemoteAutoLogin=false
RelaxPermissions=0
CheckDirOwner=true
DisallowTCP=true
[xdmcp]
Enable=false
[gui]
GtkRC=
[greeter]
Browser=false
MinimalUID=1000
Exclude=nobody
IncludeAll=true
LocaleFile=/etc/gdm/locale.conf
Logo=/usr/share/pixmaps/gdmDebianLogo.xpm
SystemMenu=true
SecureSystemMenu=true
DefaultWelcome=false
DefaultRemoteWelcome=true
Welcome=Bienvenue
BackgroundType=1
BackgroundImage=/usr/share/images/desktop-base/debblue-1600x1200.png
BackgroundColor=#0f455e
GraphicalThemes=debblue
GraphicalTheme=debblue-gdm
GraphicalThemeDir=/usr/share/gdm/themes/
SoundOnLogin=false
GraphicalThemedColor=#0f455e
GlobalFaceDir=/usr/share/pixmaps/
[chooser]
HostImageDir=/usr/share/hosts/
Hosts=
Broadcast=true
Multicast=false
[debug]
Enable=false
[servers]
0=Standard
[server-Standard]
name=Standard server
command=/usr/bin/X -dpi 96 -audit 0
flexible=true
[server-Terminal]
name=Terminal server
command=/usr/bin/X -audit 0 -terminate
flexible=false
handled=false
[server-Chooser]
name=Chooser server
command=/usr/bin/X -audit 0
flexible=false
chooser=true
-- debconf information:
gdm/daemon_name: /usr/sbin/gdm
* shared/default-x-display-manager: gdm
More information about the pkg-gnome-maintainers
mailing list