[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#122832: marked as done (kdm: please handle errors better or display them (X not starting))



Your message dated Wed, 10 May 2006 18:14:27 +0200
with message-id <20060510161427.GA984@mad.intersec.fr>
and subject line kdm: please handle errors better or display them (X not starting)
has caused the attached Bug report to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what I am
talking about this indicates a serious mail system misconfiguration
somewhere.  Please contact me immediately.)

Debian bug tracking system administrator
(administrator, Debian Bugs database)

--- Begin Message ---
Package: kdm
Version: 4:2.2.1.0-6
Severity: wishlist

I had some wrong config line in /etc/kde2/kdm/Xservers:

        :0 local@tty1 /usr/X11R6/bin/X  -dpi 75 tcp vt7

which caused the X server not to start. The logfile entries were:

        Dec  7 12:57:23 tpo2 kdm[507]: Server unexpectedly died
        Dec  7 12:57:38 tpo2 kdm[507]: Server for display :0 can't be started,
session disabled

Nevertheless /etc/init.d/kdm did not complain:

        tpo2:~# /etc/init.d/kdm start
        Starting K display manager: done.

- nothing else happened.

When I:

        (strace /etc/init.d/kdm start 2>&1 ) | less

I see that the X server reports to STDERR (?) that it didn't recognize some option. I
failed to figure out who in the whole chain was responsible for supressing
STDERR so I'd miss that error message from the X server, but it'd be nice
to see some useful feedback in case /etc/init.d/kdm fails to start.

Otherwise the user is pretty much left in the dark about why the system
fails to start.

Thanks,
*t

-- System Information
Debian Release: testing/unstable
Architecture: i386
Kernel: Linux tpo2 2.4.14-686 #1 Fri Nov 9 22:25:26 EST 2001 i686
Locale: LANG=C, LC_CTYPE=C

Versions of packages kdm depends on:
ii  debconf                1.0.17            Debian configuration management sy
ii  enlightenment [x-windo 0.16.5-4          The Enlightenment Window Manager
hi  ion [x-window-manager] 0.0.20010314-1    A keyboard-friendly window manager
ii  kdebase [x-session-man 4:2.2.1.0-6       KDE core applications
ii  kdelibs3               4:2.2.1-14        KDE core libraries (runtime files)
ii  libc6                  2.2.4-5           GNU C Library: Shared libraries an
ii  libjpeg62              6b-4              The Independent JPEG Group's JPEG 
hi  libpam-modules         0.72-9            Pluggable Authentication Modules f
hi  libpam0g               0.72-9            Pluggable Authentication Modules l
ii  libpng2                1.0.12-2          PNG library - runtime
ii  libqt2                 3:2.3.1-16        Qt GUI Library (runtime version).
ii  libstdc++2.10-glibc2.2 1:2.95.4-0.011006 The GNU stdc++ library
ii  xbase-clients          4.1.0-9           miscellaneous X clients
ii  xlibs                  4.1.0-9           X Window System client libraries
ii  xutils                 4.1.0-9           X Window System utility programs
hi  zlib1g                 1:1.1.3-5         compression library - runtime



--- End Message ---
--- Begin Message ---
On Fri, Dec 07, 2001 at 02:16:54PM +0100, Tomas Pospisek wrote:
> Package: kdm
> Version: 4:2.2.1.0-6
> Severity: wishlist
> 
> I had some wrong config line in /etc/kde2/kdm/Xservers:
> 
>         :0 local@tty1 /usr/X11R6/bin/X  -dpi 75 tcp vt7
> 
> which caused the X server not to start. The logfile entries were:
> 
>         Dec  7 12:57:23 tpo2 kdm[507]: Server unexpectedly died
>         Dec  7 12:57:38 tpo2 kdm[507]: Server for display :0 can't be started,
> session disabled
> 
> Nevertheless /etc/init.d/kdm did not complain:
> 
>         tpo2:~# /etc/init.d/kdm start
>         Starting K display manager: done.
> 
> - nothing else happened.
> 
> When I:
> 
>         (strace /etc/init.d/kdm start 2>&1 ) | less
> 
> I see that the X server reports to STDERR (?) that it didn't recognize some option. I
> failed to figure out who in the whole chain was responsible for supressing
> STDERR so I'd miss that error message from the X server, but it'd be nice
> to see some useful feedback in case /etc/init.d/kdm fails to start.
> 
> Otherwise the user is pretty much left in the dark about why the system
> fails to start.


  like any other *dm, you have :
  ~/.xsession-errors, /var/log/*dm.log, /var/log/{Xfree,Xorg}.0.log

  Moreover, kdm also has popups to explain the problem when it guess
which it is.
-- 
·O·  Pierre Habouzit
··O                                                madcoder@debian.org
OOO                                                http://www.madism.org

Attachment: signature.asc
Description: Digital signature


--- End Message ---

Reply to: