Bug#302685: x11-common: Lines in by .bashrc appear in .xsession-errors (!)
Package: x11-common
Version: 6.8.2.dfsg.1-11
Followup-For: Bug #302685
I also removed gdm and replaced it with kdm,
and I get lines in my .bashrc
appearing as little error pop-ups during desktop initialization
and in the .xsession-errors file (excerpt follows).
I had added these lines to /etc/kde3/kdm/Xsession to get
more debugging messages:
exec >/tmp/Xsession 2>&1
echo 'ARGS=' $*
set -x
-----------.xsession-errors-------------
...
+++ expr 99x11-common_start : '[[:alnum:]_-]\+$'
+++ '[' -f /etc/X11/Xsession.d/99x11-common_start ']'
+++ echo /etc/X11/Xsession.d/99x11-common_start
+++ for F in '$(/bin/ls $1)'
+++ expr 99xfree86-common_start : '[[:alnum:]_-]\+$'
+++ '[' -f /etc/X11/Xsession.d/99xfree86-common_start ']'
+++ echo /etc/X11/Xsession.d/99xfree86-common_start
++ SESSIONFILES='/etc/X11/Xsession.d/20x11-common_process-args
/etc/X11/Xsession.d/20xfree86-common_process-args
/etc/X11/Xsession.d/30x11-common_xresources
/etc/X11/Xsession.d/30xfree86-common_xresources
/etc/X11/Xsession.d/50x11-common_determine-startup
/etc/X11/Xsession.d/50xfree86-common_determine-startup
/etc/X11/Xsession.d/55gnome-session_gnomerc
/etc/X11/Xsession.d/90x11-common_ssh-agent
/etc/X11/Xsession.d/90xfree86-common_ssh-agent
/etc/X11/Xsession.d/92xprint-xpserverlist
/etc/X11/Xsession.d/99x11-common_start
/etc/X11/Xsession.d/99xfree86-common_start'
++ '[' -n '/etc/X11/Xsession.d/20x11-common_process-args
/etc/X11/Xsession.d/20xfree86-common_process-args
/etc/X11/Xsession.d/30x11-common_xresources
/etc/X11/Xsession.d/30xfree86-common_xresources
/etc/X11/Xsession.d/50x11-common_determine-startup
/etc/X11/Xsession.d/50xfree86-common_determine-startup
/etc/X11/Xsession.d/55gnome-session_gnomerc
/etc/X11/Xsession.d/90x11-common_ssh-agent
/etc/X11/Xsession.d/90xfree86-common_ssh-agent
/etc/X11/Xsession.d/92xprint-xpserverlist
/etc/X11/Xsession.d/99x11-common_start
/etc/X11/Xsession.d/99xfree86-common_start' ']'
++ for SESSIONFILE in '$SESSIONFILES'
++ . /etc/X11/Xsession.d/20x11-common_process-args
+++ case $# in
+++ case "$1" in
++++ which horizontal_scroll_mode=on
++++ true
+++ STARTUP_FULL_PATH=
+++ '[' -n '' ']'
+++ message 'unable to launch "horizontal_scroll_mode=on" X session ---' '"horizontal_scroll_mode=on" not found; falling back to default session.'
+++ MESSAGE='Xsession: unable to launch "horizontal_scroll_mode=on" X session --- "horizontal_scroll_mode=on" not found; falling back to default session.'
+++ echo 'Xsession: unable to launch "horizontal_scroll_mode=on" X session --- "horizontal_scroll_mode=on" not found; falling back to default session.'
...
This weird line 'horizontal_scroll_mode=on' appears in my .bashrc
as 'set horizontal_scroll_mode=on.
-- System Information:
Debian Release: testing/unstable
APT prefers testing
APT policy: (500, 'testing')
Architecture: i386 (i686)
Shell: /bin/sh linked to /bin/bash
Kernel: Linux 2.6.12-1-686
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)
Versions of packages x11-common depends on:
ii debconf [debconf-2.0] 1.4.66 Debian configuration management sy
ii debianutils 2.15.2 Miscellaneous utilities specific t
ii lsb-base 3.0-13 Linux Standard Base 3.0 init scrip
x11-common recommends no packages.
-- debconf information:
x11-common/experimental_packages:
Reply to: