Logout does not work

Dennis Neumeier dennismail at gmx.net
Fri Apr 2 17:15:55 BST 2010


Hi,

I want to reply to what you say because I do not want to be some of these 
people telling problems and not giving further details :)

> Really, I had hoped someone with a bit more personal interest in *DMs
> would have stepped up by now.  But seeing as they haven't... maybe I can
> at least point you in the right direction...

Would still be nice if someone like this would come round the corner :)
 
> You didn't mention what distribution you're using on your EEE and I know
> Gentoo (which I use) handles this a bit differently than many
> distributions.  You also didn't mention what *DM.  KDM, XDM, GDM,
> something else?

Okay, I should have mentioned details about the system. So here we go:

- Kubuntu 9.10
- with KDE 4.4 (out of ppa)
- and poulsbo driver (for the maximal available resolution of the EEE) ; psb-
kernel-source 4.41.6-0ubuntu1~1004jbs1

> When the session is terminated, xdm resets the X server and (optionally)
> restarts the whole process.

This is a very important information, as I asked myself what does happen 
during logoff. So to put it in other words, I imaginge the following chain:

logoff button -> session is saved -> session is terminated -> whole X server is 
restarted.

> You said you were dumped at the CLI after X terminates, but didn't mention
> how you got into X in the first place.  I'm presuming that it shows up the
> first time, upon initial boot, but you're dumped back at the CLI after the
> initial X session terminates.  Is that correct?  Because if it's not
> showing up at boot at all, and you're running startx or the like, that's a
> whole different class of problem.

Well, I'm booting the system and then, I get to the login of KDM.  There is a 
script for this in /etc/rc5.d, so why this is happening is quite easy to guess 
:)

> But presuming it starts at boot and you only get dumped at the CLI after
> the initial X session terminates, there's a couple possibilities.
 
> 1) The *DM is crashing sometime during the initial X session (presumably
> after first login), and thus cannot restart X when the user's X session
> terminates.

I have attached both Xorg.0.log as well as kdm.log further down this mail. 
This will make analyizis certainly easier.
 
> 2) The *DM is still there, but for some reason cannot restart X.

I tried after logging out:

$ ps  aux | grep kdm
root       812  0.0  0.1   3632  1024 ?        Ss   18:08   0:00 kdm
root      1595  0.0  0.0      0     0 ?        S<   18:08   0:00 [kdmflush]

So kdm seems to be still there. But why can't it launch X again? I am not that 
deep into the Xorg / ldm log files, I hope they might help to analyze the log 
files...

- Xorg.0.log:
(II) Asus EeePC extra buttons: Close
(II) UnloadModule: "evdev"
(II) AT Translated Set 2 keyboard: Close
(II) UnloadModule: "evdev"
(II) USB2.0 UVC 1.3M WebCam: Close
(II) UnloadModule: "evdev"
(II) Sleep Button: Close
(II) UnloadModule: "evdev"
(II) Power Button: Close
(II) UnloadModule: "evdev"
(II) Macintosh mouse button emulation: Close
(II) UnloadModule: "evdev"
(II) UnloadModule: "synaptics"
(II) Logitech USB Optical Mouse: Close
(II) UnloadModule: "evdev"
(II) PSB(0): Debug: psbCloseScreen
(II) PSB(0): Shutting down Xvideo.
(II) PSB(0): Debug: psbLeaveVT
(II) PSB(0): Debug: xxi830_psbCrtcDpms pipe 1
(II) PSB(0): Debug: Crtc DPMS On / Sb /SS
(II) PSB(0): Debug: xxi830_psbCrtcLoadLut 0x9354a78
(II) PSB(0): Debug: psbLVDSDPMS
(II) Debug: PanelPower Status = 0xc0000008
(II) Debug: Pipe B PLL 0xd8027200
(II) Debug: Pipe B Enabled 0x80000000
(II) PSB(0): Debug: BLCType=2 Backlightg level = 0
(II) PSB(0): Debug: i830_psbCrtcSaveCursors
(II) PSB(0): Debug: i830_psbCrtcHWCursorSave
(II) PSB(0): Debug: i830_psbCrtcHWCursorSave
(II) Debug: psbScanoutDestroy
(II) PSB(0): Debug: PsbDRIUpdateScanouts
(II) Debug: psbRestoreHWState
(II) PSB(0): Debug: i830_psbOutputDPMS
(II) PSB(0): Debug: psbLVDSDPMS
(II) Debug: PanelPower Status = 0x48000001
(II) Debug: Pipe B PLL 0xd8027200
(II) Debug: Pipe B Enabled 0x80000000
(II) PSB(0): Debug: BLCType=2 Backlightg level = 0
(II) PSB(0): Debug: xxi830_sdvo_dpms 3, active_outputs=0
(II) PSB(0): Debug: SDVO: W: 05 00 00 (i830_SDVO_CMD_SET_ACTIVE_OUTPUTS)
(II) PSB(0): SDVO: R: (Success)
(II) PSB(0): Debug: xxi830_psbCrtcDpms pipe 0
(II) PSB(0): Debug: Crtc DPMS Off
(II) PSB(0): Debug: xxi830_psbCrtcDpms pipe 1
(II) PSB(0): Debug: Crtc DPMS Off
(II) PSB(0): Debug: xxi830_psbCrtcRestore pipe 0.
(II) PSB(0): Debug: xxi830_psbCrtcDpms pipe 0
(II) PSB(0): Debug: Crtc DPMS Off
(II) PSB(0): Debug: xxi830_psbCrtcRestore pipe 1.
(II) PSB(0): Debug: xxi830_psbCrtcDpms pipe 1
(II) PSB(0): Debug: Crtc DPMS Off
(II) PSB(0): Debug: i830_psbOutputRestore
(II) PSB(0): Debug: psbLVDSRestore
(II) Debug: PanelPower Status = 0x48000001
(II) Debug: Pipe B PLL 0xd8027203
(II) Debug: Pipe B Enabled 0x80000000
(II) Debug: psbLVDSSetPanelPower: lidState= 0
(II) PSB(0): Debug: BLCType=2 Backlightg level = 100
(II) PSB(0): Debug: xxi830_sdvo_restore
(II) PSB(0): Debug: SDVO: W: 05 00 00 (i830_SDVO_CMD_SET_ACTIVE_OUTPUTS)
(II) PSB(0): SDVO: R: (Success)
(II) PSB(0): Debug: SDVO: W: 11 00 00 (i830_SDVO_CMD_SET_TARGET_OUTPUT)
(II) PSB(0): SDVO: R: (Invalid arg)
(II) PSB(0): Debug: SDVO: W: 16 00 00 00 00 00 00 00 00 
(i830_SDVO_CMD_SET_OUTPUT_TIMINGS_PART1)
(II) PSB(0): SDVO: R: (Target not specified)
(II) PSB(0): Debug: SDVO: W: 10 00 (i830_SDVO_CMD_SET_TARGET_INPUT)
(II) PSB(0): SDVO: R: (Success)
(II) PSB(0): Debug: SDVO: W: 14 00 00 00 00 00 00 00 00 
(i830_SDVO_CMD_SET_INPUT_TIMINGS_PART1)
(II) PSB(0): SDVO: R: (Success)
(II) PSB(0): Debug: SDVO: W: 15 00 00 00 00 16 20 00 00 
(i830_SDVO_CMD_SET_INPUT_TIMINGS_PART2)
(II) PSB(0): SDVO: R: (Success)
(II) PSB(0): Debug: SDVO: W: 21 01 (i830_SDVO_CMD_SET_CLOCK_RATE_MULT)
(II) PSB(0): SDVO: R: (Success)
(II) PSB(0): Debug: SDVO: W: 05 00 00 (i830_SDVO_CMD_SET_ACTIVE_OUTPUTS)
(II) PSB(0): SDVO: R: (Success)
(II) [drm] Irq handler uninstalled.
(II) PSB(0): Debug: psbExaClose
(II) PSB(0): Debug: i830_psbCrtcFreeCursors
(++) PSB(0): xxi830_psbCrtcHWCursorDestroy
(++) PSB(0): xxi830_psbCrtcHWCursorDestroy
Backtrace:
0: /usr/bin/X(xorg_backtrace+0x3b) [0x8133d6b]
1: /usr/bin/X(xf86SigHandler+0x55) [0x80c7d35]
2: [0x49a400]
3: /usr/lib/xorg/modules/drivers//psb_drv.so [0x2396a0]
4: /usr/lib/xorg/modules/extensions//libextmod.so [0x456ff1]
5: /usr/bin/X [0x80cc192]
6: /usr/bin/X [0x814a890]
7: /usr/bin/X [0x817bf49]
8: /usr/bin/X [0x8144516]
9: /usr/lib/xorg/modules/extensions//libglx.so [0x1ced0a]
10: /usr/bin/X(main+0x428) [0x80725a8]
11: /lib/tls/i686/cmov/libc.so.6(__libc_start_main+0xe6) [0x833b56]
12: /usr/bin/X [0x80719c1]
Saw signal 11. Server aborting.
 ddxSigGiveUp: Closing log
- kdm.log:
XpsbTakeDown, before drmBOUnreferenceXpsbTakeDown, before free(xr->pTmpSF-
>buffer)
Backtrace:
0: /usr/bin/X(xorg_backtrace+0x3b) [0x8133d6b]
1: /usr/bin/X(xf86SigHandler+0x55) [0x80c7d35]
2: [0x49a400]
3: /usr/lib/xorg/modules/drivers//psb_drv.so [0x2396a0]
4: /usr/lib/xorg/modules/extensions//libextmod.so [0x456ff1]
5: /usr/bin/X [0x80cc192]
6: /usr/bin/X [0x814a890]
7: /usr/bin/X [0x817bf49]
8: /usr/bin/X [0x8144516]
9: /usr/lib/xorg/modules/extensions//libglx.so [0x1ced0a]
10: /usr/bin/X(main+0x428) [0x80725a8]
11: /lib/tls/i686/cmov/libc.so.6(__libc_start_main+0xe6) [0x833b56]
12: /usr/bin/X [0x80719c1]
Saw signal 11. Server aborting.
 ddxSigGiveUp: Closing log
 ddxSigGiveUp: re-raising 11
I still hope that somebody is able to clearly read this.

Greets,
Michael
___________________________________________________
This message is from the kde mailing list.
Account management:  https://mail.kde.org/mailman/listinfo/kde.
Archives: http://lists.kde.org/.
More info: http://www.kde.org/faq.html.




More information about the kde mailing list