Bug#248186: error in script 20xfree86-common_process-args: cannot choose session manager
Package: xfree86-common
Version: 4.3.0.dfsg.1-1
Severity: important
Tags: sid
Hi!,
I use gnome for my user's default session, but I also have KDE
installed for my wife.
The problem is that now (since friday 05/07/04), I cannot login
into my gnome session. It inmediately defaults to KDE. Because of the
timing of the error I don't know if I should blame this package, but I
found the error in one of its files.
The beginning of my ~/.xsession-errors is included below. It
include debugging output as added by me in the line 29 of the file
'/etc/X11/Xsession.d/20xfree86-common_process-args', whose lines 28-30
now read:
STARTUP_FULL_PATH=$(which $1)
message "Full path: $STARTUP_FULL_PATH <= before: $1"
if [ -n "$STARTUP_FULL_PATH" -a -e "$STARTUP_FULL_PATH" ]; then
Is evident from the output below that the command $(which $1) is
failing. I'm no expert in shell programming but for now I have just
set that line to 'STARTUP_FULL_PATH=$1' to be able to use gnome.
My user uses /bin/tcsh as the default shell. I tried changing it
to /bin/bash, but the error persists.
Let me know if you need any more info to fix this bug. Thank you
very much!, sincerely...
Patricio
--------- Content of ~/.xsession-errors after a failed start -------
/etc/gdm/PreSession/Default: could not find the sessreg utility, cannot update wtmp and utmp
/etc/gdm/Xsession: Beginning session setup...
/etc/gdm/Xsession: line 1: which: command not found
Xsession: Full path: <= before: /usr/bin/gnome-session
Xsession: unable to launch "/usr/bin/gnome-session" X session ---
"/usr/bin/gnome-session" not found; falling back to default session.
/etc/gdm/Xsession: sourcing /etc/X11/Xsession.d/30xfree86-common_xresources
/etc/gdm/Xsession: sourcing /etc/X11/Xsession.d/50xfree86-common_determine-startup
/etc/gdm/Xsession: sourcing /etc/X11/Xsession.d/55gnome-session_gnomerc
/etc/gdm/Xsession: sourcing /etc/X11/Xsession.d/90xfree86-common_ssh-agent
/etc/gdm/Xsession: sourcing /etc/X11/Xsession.d/92xprint-xpserverlist
/etc/gdm/Xsession: sourcing /etc/X11/Xsession.d/99xfree86-common_start
startkde: Starting up...
.... file contents omitted from here ...
----------------------------------------------
-- System Information:
Debian Release: testing/unstable
APT prefers unstable
APT policy: (990, 'unstable'), (500, 'testing'), (1, 'experimental')
Architecture: i386 (i686)
Kernel: Linux 2.4.24-pcstm1-athlon
Locale: LANG=en_US, LC_CTYPE=en_US
Versions of packages xfree86-common depends on:
ii debconf 1.4.25 Debian configuration management sy
ii debianutils 2.8.1 Miscellaneous utilities specific t
-- debconf information:
xfree86-common/experimental_packages:
Reply to: