Logout proces hangs

Bug #38915 reported by PDP
82
This bug affects 3 people
Affects Status Importance Assigned to Milestone
fglrx-installer (Ubuntu)
Fix Released
High
Mario Limonciello
Declined for Hardy by Steve Langasek
Declined for Intrepid by Steve Langasek

Bug Description

Sometimes the logout proces hangs.
Only after ctrl-alt-backspace the logout proces continues

Can you give me further instructions to collect info if the problem occurs again ?

I'm working with Ubuntu Dapper. Latest updates are active

Revision history for this message
Sitsofe Wheeler (sitsofe) wrote :

Can you indicate what version of gnome-applets you have on your system?

Revision history for this message
PDP (pdp) wrote :

I've gnome-applets 2.14.0-0ubuntu6 on my system

Revision history for this message
rfonteyn (roel-fonteyn) wrote :

Same issue here. When I select System\Log Out <Username> and next <Logout> the process hangs or crashes my X server. Not even possible anymore to go to a console screen.
Using Gnome-applets 2.14.1-Oubuntu2.

Revision history for this message
Karianne Fog Heen (simira) wrote :

Dapper Beta on HP nc8230, same problem.
Alt + Ctrl + Backspace works.
Logout through menu works sometimes, but never when a terminal is running.
Mouse pointer works (until I have smashed enough keys on the keyboard) but nothing else reacts.

g-a 0.14.1-0ubuntu2
May seem like a gdm-problem og related.

Revision history for this message
Matt Zimmerman (mdz) wrote :

When this happens, collect the following info:

$ ps aux > /tmp/ps

$ cp ~/.xsession-errors /tmp/xsession-errors

and attach /tmp/ps and /tmp/xsession-errors to this bug.

Revision history for this message
rfonteyn (roel-fonteyn) wrote : Re: [Bug 38915] Re: Logout proces hangs

Matt,

Is that still useful after a reload? Because most of the times when it
happens, I can't access the other terminals anymore either.

Regards,
Roel

On Thu, 2006-05-04 at 23:50 +0000, Matt Zimmerman wrote:

> When this happens, collect the following info:
>
> $ ps aux > /tmp/ps
>
> $ cp ~/.xsession-errors /tmp/xsession-errors
>
> and attach /tmp/ps and /tmp/xsession-errors to this bug.
>

Revision history for this message
Sebastien Bacher (seb128) wrote :

No, it's not useful after a restart. Do you mean that ctrl-alt-F1 doesn't work by example? Might be a linux or video driver issue, do you have an issue logged to /var/log/messages or /var/log/syslog?

Revision history for this message
rfonteyn (roel-fonteyn) wrote :

ctrl-alt-F1 doesn't respond anymore indeed.

Lately, I try not to use the logout functionality, to avoid this behavior. And I can recall when the last time was that I did try this. So it would take to long to search for.
And as I just entered the office, I'm not going to try it now. I'm still in the process to convince them that it's ok to run Linux in the office. So invoking a crash wouldn't be a smart thing. I'll give it a try around noon (CET+1) and update the bugreport afterwards.

Revision history for this message
rfonteyn (roel-fonteyn) wrote :

Tried the logout again. Apparently the behavior has changed a bit. No the screen just turns black. Still not possible to get into another console or do anything else. After a forced reboot, checked the messages and syslog, but nothing indicates anything being crashed.

Any specifics you want or do you want me to post the loggings themselves?

Revision history for this message
Sebastien Bacher (seb128) wrote :

what videocard and videodriver do you use?

Revision history for this message
rfonteyn (roel-fonteyn) wrote :

I hope this is enough and correct information for your needs.

X Window System Version 7.0.0
Release Date: 21 December 2005
X Protocol Version 11, Revision 0, Release 7.0
Build Operating System:Linux 2.6.12 i686
Current Operating System: Linux RFONTE-FCS 2.6.15-21-386 #1 PREEMPT Fri Apr 21 16:43:33 UTC 2006 i686
Build Date: 16 March 2006

...
ATI Technologies Inc; M24 1P [Radeon Mobility X600]

(II) Loading /usr/lib/xorg/modules/drivers/fglrx_drv.so
(II) Module fglrx: vendor="FireGL - ATI Technologies Inc."
 compiled for 6.8.99.8, module version = 8.24.8
 Module class: X.Org Video Driver
 ABI class: X.Org Video Driver, version 0.7

Revision history for this message
Sebastien Bacher (seb128) wrote :

Does it happen if you edit /etc/X11/xorg.conf to use "ati" instead of "fglrx"?

Revision history for this message
Tomas Gustavsson (tomplast) wrote :

This is exactly the same problem that I have with kdm. Sometimes it works just fine to logout but sometimes the screen just turns black and CTRL + ALT + BACKSPACE doesn't work.

Revision history for this message
Hurne (hurne) wrote :

I also have this problem (on kdm), ctrl + alt+ backspace doesn't work. I'm also using the fglrx driver so it might be a driver bug.
This bug also reports problems with the nvidia drivers: https://launchpad.net/distros/ubuntu/+source/linux-restricted-modules-2.6.15/+bug/46874

Revision history for this message
Daniel Holbach (dholbach) wrote :

As it is reported to be problematic with kdm as well, this is not a gdm bug, but somewhere deeper down the stack.

Changed in gdm:
assignee: desktop-bugs → nobody
Revision history for this message
muriloq (muriloq) wrote :

Here it happens consistently, all the time, using Ubuntu and Xubuntu 6.10 Edgy Eft *Live* CDs (so it's not a problem with a particular install). The problem occurs on both XFCE and Gnome.

After clicking on "Logout", or pressing Ctrl+Alt+Backspace, all the windows and panels disappear - only the wallpaper and the mouse arrow are left on the screen. The mouse arrow still works, but not the keyboard: Caps Lock led doesn't turn on, and I can't switch to another console (Ctrl+Alt+F1,F2,...) or shutdown the X server (pressing Ctrl+Alt+Backspace).

I'm not using any 3D drivers, just an old on-board VGA adapter, so I don't think it's related to nVidia drivers, fglrx or compiz. Everything used to work fine on Dapper.

The machine I'm using is an old Athlon 1200+ in a motherboard PC Chips M810-D (the chipset is SIS 740). Mouse and keyboard are USB, but I also tried with standard PS/2.

I've disabled ACPI (on BIOS setup, in order to solve USB problems), but it didn't affect the bug.

This problem is so annoying that I'll probably go back to Dapper if there's no hope of solving it soon... :-(

Revision history for this message
RubenRebelo (mundano) wrote :

I have the same problem with Kubuntu Edgy. It happens either with logout and with shutdown. although it is rare with shutdown, but with logout it happens every time..

In my case when the error occurs, my monitor just turns black and starts saying "Imput format not supported". Which indicates that Kubuntu is sendig some strange resolution/refresh rate to the monitor.. All disk activity stops, and the systems doen't respond to any input, not even the Num Lock light can be turned on...

Btw, i'm using Kubuntu 6.10 with the nVidia binary drivers.

Revision history for this message
Haz (haz2a) wrote :

Same with Xubuntu Edgy
AMD K6-2/500 with onboard SiS530 AGP, 2.6.17-11-generic, also with gnome-core 1:2.14.2.1ubuntu1, and gnome-applets 2.16.1-0ubuntu4.

Happens every time try to Logout both from GNOME and XFCE. Ctrl-Alt-Bkspc doesn't help. Screen freezes with wallpaper, mouse frozen. Can't Ctrl-Alt-Fn to console.
Restart and Shutdown both OK, only affects Logout.

Revision history for this message
Richard Seguin (sectech) wrote :

By any chance are any of you running skype when trying to logout? Just curious because the same bug has been happening to me... but only when skype is running.

Revision history for this message
manuel fernandez (mfg) wrote :

with feisty in dell inspiron 6400 it often hangs on logout or restart.
the screen often shows noisy images
Have to restart with a hard switch 4 seconds reset

Revision history for this message
Alain Robillard (arentoine) wrote :

In 6.10, I use for an X200 onboard card. It used to hang when I attempt to logout. It also doesn't hang when I press Ctrl-Alt-Backspace.

I tried, as suggested by Sebastien Bacher, to edit /etc/X11/xorg.conf to use "ati" instead of "fglrx". I can now, using "ati", logout with success.

So, I changed it back from "ati" to "fglrx" and, after a restart of X, tried to logout. Computer hangs with a blank screen again.

So, it seems to be related with the "fglrx" being used.

Hope this will help.

Revision history for this message
Robin (rmessenger) wrote :

I have Ubuntu feisty beta on an HP with an ATI Radeon Xpress 200M. Whenever I logout, the screen goes black and stays that way. CTRL-ALT-ESC, etc don't do anything. Keyboard freezes, and I have to reboot. I would really like to know it there has been a fix for this. Also, suspend seems to work but doesn't come back from being suspended (same symptoms as logout problem)

Revision history for this message
Stefano Pedretti (stefano-pedretti) wrote :

Similar problem on Feisty beta doing logout from Gnome or from XFCE.

Revision history for this message
Przemek K. (azrael) wrote :

Same thing as Robin, Kubuntu Feisty on HP Compaq nx6325.
I also foun similar bug #38096

Revision history for this message
Aseem (amohanty) wrote :

I see something only slightly different running edgy on an radeon x300. the ati drivers dont work for me, so its either vesa or fglrx. Every so often logout dumps me onto a white screen. ctrl-alt-backspace kills my box and I have to do a hard reboot.

Revision history for this message
John Vance (ubuntu-t-jvance) wrote :

Ditto.

Running Kubuntu Feisty, both with and without Beryl, using native nVidia support (no AIGLX or xgl)

Sometimes after logging out, the Kubuntu shutdown progress bar appears momentarily, and then I'm left with a blank screen with a cursor top left. Keyboard input is echoed to the screen but that's it for functionality.

It appears to happen more often when using "switch user"

Revision history for this message
kajhaul (kaj-haulrich) wrote :

Clean install x 5 of Feisty : same problem (system locks on user logout). Using ati driver. Ctrl+Alt+Backspace doesn't kill X. Must use the "elephant sequence" to reboot safely. Adding "acpi=force" to kernel line in grub makes no difference.
THIS IS A SHOWSTOPPER.

Revision history for this message
InlawBiker (gmonsquared) wrote :

I have recently installed 7.04 Feisty and have narrowed the problem down a bit trying to get my ATI x800-PRO to support two monitors.

editing xorg.conf, disabling Composite causes the bug to occur. I can repeat by doing this:

1. Add the following line to xorg.conf:
Section "Extensions"
        Option "Composite" "0"
EndSection

2. Switch users, log out or hit cnt+alt+backspace = black screen hang

3. Remove the above line from step one 1 repeat - the black screen bug goes away in all cases.

Hope this helps.

Revision history for this message
InlawBiker (gmonsquared) wrote :

Quick follow-up, I am also using the fglrx driver.

Revision history for this message
kajhaul (kaj-haulrich) wrote :

On Thursday 26 April 2007 19:58:07 InlawBiker wrote:
> Quick follow-up, I am also using the fglrx driver.

Well, since I don't have that section in xorg.conf it can hardly be
the culprit. The problem persists - at random. The workaround is
hitting <Ctrl><Alt><Backsp> BEFORE clicking "logout".

kajhaul.

--
*** Sent from a 100% Microsoft-free computer ***
********* Running Linux (Kubuntu 7.04) *********

Revision history for this message
John Bauman (john-baumanfamily) wrote :

InlawBiker,
On my x200m with fglrx 8.34.8, enabling composite fixes the problem, but so does preventing the kernel module from loading. Both steps disable 3D/DRI, so I suspect that the root cause of the problem is having 3d enabled.

Revision history for this message
kajhaul (kaj-haulrich) wrote :

On Saturday 28 April 2007 21:55:05 John Bauman wrote:
> InlawBiker,
> On my x200m with fglrx 8.34.8, enabling composite fixes the
> problem, but so does preventing the kernel module from loading.
> Both steps disable 3D/DRI, so I suspect that the root cause of
> the problem is having 3d enabled.

Maybe... but I don't have 3D enabled. However I changed my BIOS to
enable APIC and - so far - I have not seen the problem since. A
shot in the wild ?
--
*** Sent from a 100% Microsoft-free computer ***
********* Running Linux (Kubuntu 7.04) *********

Revision history for this message
kajhaul (kaj-haulrich) wrote :

Sorry, but the above (APIC) isn't the culprit. The problem persists....

Revision history for this message
manuel fernandez (mfg) wrote :

My computer often hangs on logout. feisty 7.04. Sometimes black screen and sometimes visual garbage.
I tried hitting control alt backspace before logging out and it works fine on dell inspiron intel 645gm, 1680x1050.
I attach my xorg.conf since from what I read it may have to do with the problem.

Revision history for this message
emikaadeo (emikaadeo) wrote :

"My computer often hangs on logout. feisty 7.04. Sometimes black screen and sometimes visual garbage."
Same here. Using Kubuntu 7.04 on HP nx7300 with intel 950 graphic card

Revision history for this message
JB (jb-ubuntu1804) wrote :

I have the same problem.

Fujitsu Siemens A1650G with ATI Xpress 800

-----------------------------------------
OS: Ubuntu Feisty Fawn 7.04 32bit
Kernel: 2.6.20
Prozessor: AMD Turion 64bit 1,8 GHz
RAM: 1024 MB
HDD: 80 GB
Modell: Fujitsu Siemens Amilo 1650G

Revision history for this message
Theodore Book (tbook) wrote :

The same problem appeared on my AMD laptop (also using FGLRX drivers with composite disabled) when I upgraded to Feisty. It worked fine with the same drivers before the upgrade, however.

Revision history for this message
Mark Bergem (mbergem-yahoo) wrote :

Was having the same issue on Edgy, using compiled FGLRX Driver (28.8) on a Dell D600 with the ATI Radeon Mobility 9000.

The following fixed the issue:

sudo vi /etc/X11/gdm/gdm.conf

Scroll down and uncomment and change the line to:

AlwaysRestartServer=true

Fixed!

Revision history for this message
kajhaul (kaj-haulrich) wrote :

Well, since I don't have gdm, it can't be the solution here. I tried to edit /etc/init.d/halt (rmmod ndiswrapper) too - no success. Funny thing is, that moving the cursor around during the logout process sometimes works....

Revision history for this message
itencate (itencate) wrote :

Just wanted to add that this bug shows up on an IBM T42 with a Radeon mobile 7500 graphics chip.

The fix by adding the AlwaysRestartServer=true worked for me.

Ian

Revision history for this message
John Bauman (john-baumanfamily) wrote :

Yes, "AlwaysRestartServer=true" works for me as well, even when I'm using Xgl.

Revision history for this message
Michael Mayer (mmayer-gmx) wrote :

My debian/testing system worked fine. After installing kubuntu 7.04 I got the crashing shut down problem.

So similar to the solution for gdm-users, if you use kdm:
As stated here

http://gentoo-wiki.com/HOWTO_ATI_Drivers#System_freezes_after_logout_with_GDM_or_KDM

you've got to add the line

TerminateServer=true

in the [X-:*-Core] section of the kdmrc-File (/etc/kde3/kdm/kdmrc) - beware of the ':', there is a similar named section without it, too!
Seems to work for me, restarted my box now three times without problems!

Revision history for this message
manuel fernandez (mfg) wrote : fine correction

The above procedure written by Michael Mayer:

you've got to add the line
TerminateServer=true
in the [X-:*-Core] section of the kdmrc-File (/etc/kde3/kdm/kdmrc)

works fine with feisty on my dell inspiron6400 with 945 Intel driver.

Revision history for this message
Robin (rmessenger) wrote : Re: [Bug 38915] fine correction

Yea... that works fine, but it doesn't fix the suspend problem

On 5/18/07, manuel fernandez <email address hidden> wrote:
> The above procedure by Michael Mayer:
>
> you've got to add the line
> TerminateServer=true
> in the [X-:*-Core] section of the kdmrc-File (/etc/kde3/kdm/kdmrc)
>
> works fine with feisty on my dell inspiron6400 with 945 Intel driver.
>
> --
> Logout proces hangs
> https://bugs.launchpad.net/bugs/38915
> You received this bug notification because you are a direct subscriber
> of the bug.
>

Revision history for this message
manuel fernandez (mfg) wrote : suspend comeback

feisty in dell inspiron 6400, 945 driver, suspend works all right and the screen comes on properly after suspending.

Revision history for this message
Przemek K. (azrael) wrote :

Michael Mayer 's workaround works for me too.

Revision history for this message
Petri Damstén (petri-damsten) wrote :

Michael Mayer 's workaround worked in my Fujitsu-Siemens Amilo too.

Revision history for this message
Ludi Maciel (iludi-deactivatedaccount) wrote :

I'm having a similar problem (just like Muriloq described) but my system is not locking up or freezing. The shutdown process continues and the pc is successfully turned off.
The options quoted above do any good for me.
It might has something to do with Usplah, but I'm not sure.
If you are wondering, NO, this doesn't happen during the boot process. Go figure huh?!.

Here's my card description:
01:00.0 VGA compatible controller: Silicon Integrated Systems [SiS] 65x/M650/740 PCI/AGP VGA Display Adapter (prog-if 00 [VGA])
        Subsystem: Silicon Integrated Systems [SiS] 65x/M650/740 PCI/AGP VGA Display Adapter
        Control: I/O+ Mem+ BusMaster- SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B-
        Status: Cap+ 66MHz+ UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR-
        BIST result: 00
        Region 0: Memory at c0000000 (32-bit, prefetchable) [size=128M]
        Region 1: Memory at cfee0000 (32-bit, non-prefetchable) [size=128K]
        Region 2: I/O ports at bc00 [size=128]

I also see the (error) message 'inappropriate ioctl for screen device'' during the shutdown.

Revision history for this message
gilbert (rizo83) wrote :

updating gdm.conf to have gdm always restart didnt work for me. what did was upgrading fglrx drivers to the latest 8.37.6 off amd/ati's site.

Revision history for this message
alienheartbeat (reckless-symmetry) wrote :

Some Further information to help narrow down the problem source:

Problem:
Clean install of Kubuntu 7.04 on a IBM TP21.
If I try to just logout, it won't relogin.

But the following all work:
a. I can reboot this machine with no problem,
b. Using ctrl-alt-bspc performs a relogin with no problems.
a. I have a copy of Ubuntu 7.04 on a different partition with no problems,
ie logout/login works OK.

So the problem is not with either the graphics card or with xorg.conf.

What happens:
After logging out,
1st I get the Kubuntu logo screen with a black progress bar
then flashing cursor on blank screen.
Any input is reflected on screen but doesn't seem to be processed,
eg c-alt-bspc, ctrl-c, ctrl-z

I have to change to tty1 (c-a-F1),
login as root and shutdown.

The system log shows the attached errors:
kdm :0[5312]: IO Error in XOpenDisplay
kdm[5018] Display :0 cannot be opened
kdm[5018] Unable to fire up local display :0; disabling
but again these errors do not happen on re-boot.

Michael Mayer 's workaround works for me also,
ie adding the line:
TerminateServer=true
in the [X-:*-Core] section of the kdmrc-File (/etc/kde3/kdm/kdmrc)

Hope this is helpful.

Revision history for this message
RedCharlie (redcharlie) wrote :

Running xubuntu 7.04 (fiesty) on a toshiba satellite a135-s2386 and on an ECS k7som+5.c Duron 1Ghz

First logout will always hang on either machine, however ctl-alt-backspace will kill the X server and result in a successful gdm restart.

After using ctl-alt-backspace, logouts work without issue. The only time it will hang is on the first logout, unless I use ctl-alt-backspace.

Quite odd.

Revision history for this message
Péter Károly Juhász (stone-midway) wrote :

Same on Clevo M22ES.

I collected some infos during the hang: .xsession-errors and ps output.

Revision history for this message
Elias Aarnio (elias-aarnio) wrote :

Another confirmation. I am using Edubuntu Feisty. This behaviour occurred _after_ updating the system after installation.

Disabling ESD sound mixing helps in my case.

This problem does not occur when logging out in terminal client, only when logging out from console. The problem is present for all users, not just main users.

Revision history for this message
Andrew Lambert (andrew-boredomsoft) wrote :

I had a similar problem with Ubunty Gutsy. It went away after I re-enabled the Power Manager Daemon in the Sessions Manager.

Revision history for this message
MSGHALEB (mohamed-ghaleb) wrote :

Hi,

I have exactly the same problem it seams that most of the time it works if no other user profiles are logged in, if more than 1 user is already active and 1 trying to logout hangs 100%.

Any solution for that bug yet? will it be addressed in 8.04 ?

Thank you.

Revision history for this message
Jon Wooten (jmwooten) wrote :

I'm using 8.04 now.....Kubuntu. It hangs upon log out. Black screen. Have not had a chance to try some of the work arounds suggested above. Like ctrl-del-backspace --before logout. Or the power manager daemon in the sessions manager as posted by Andrew Lambert.

Strangely, I've used Kubuntu 6.10 thru 8.04 and this is the very first time I've come across this problem. And my box hasn't changed.. well a new power supply..but thats it.

Revision history for this message
Jon Wooten (jmwooten) wrote :

Forgot to mention I added a bug for 8.04 regarding this hanging logout process... tags are kdm logout. Bug number is 211318.

Revision history for this message
Todd R. Lyons (trlyons) wrote :

I am also experiencing a similar issue with Kubuntu 8.04 (AMD64). Video is ATI X1250 with latest fglrx (re-downloaded again yesterday, from Ubuntu repositories) and no compiz fusion. It consistently goes to black screen after logout or attempt to restart. The Ctrl-Alt-Fx keys and Ctrl-Alt-Backspace do not work, though Ctrl-Alt-Del will eventually bring back the splash logout screen if I repeat it a half dozen times. Using regular Vesa removes the problem, but I am unable to use any of the other ATI drivers (ATI Vesa, radeon) because the OS insists the video doesn't support it. If I try to select these anyway, I boot up to a black screen and have to restore settings from the command line. So, using the accelerated driver is my only option. fglrx works fine except as noted above, although I've had one instance in the last 10 days (since initial install) that the system froze during a GL screensaver.

Revision history for this message
Dorgendubal (svenwerlen) wrote :

Same problem for me on two different computers with latest ATI drivers.
 - without fglrx => works ok
 - with fglrx => hangs on reboot / halt / logout
Symptom: mouse cursor disappear after several seconds and nothing cannot be done then. CTRL+ALT+BACKSPACE doesn't react. CTRL+ALT+F1/F2... neither. I can only hold the power button for 2 seconds to start the shutdown mechanism.

After some investigation, I can also reproduce this error by switching to the terminal and executing /etc/init.d/kdm stop. I get then the following error: "kdm not responding TERM signal". Xorg uses then 100% CPU (forever) and kdm cannot be killed. If I switch to X again, the screen gets black and I cannot do anything anymore...

One of my collegues uses the same Xorg configuration, the same graphic drivers on the same notebook and doesn't have that problem. But he's using Ubuntu (I'm using Kubuntu).
Very strange???

Revision history for this message
Dorgendubal (svenwerlen) wrote :

I followed some of the steps described on the very good wiki: https://wiki.ubuntu.com/X/Troubleshooting

> Adjust ACPI settings
> * In /etc/default/acpi-support, set SAVE_VBE_STATE=false
> * In /etc/default/acpi-support, set SAVE_VIDEO_PCI_STATE=true
> * In /etc/default/acpi-support, set POST_VIDEO=false

I don't know which parameter fixed the problem but I can logout normally now.
I hope that this can help somebody else...

Revision history for this message
Hannes Koller (hannes-koller) wrote :

I am having the same problem on Kubuntu Hardy (with the latest ATI drivers).
Unfortunately the settings suggested by Dorgendubal did not fix this issue for me, but I have found another (dirty) workaround:

Dont use the "Logout" button on the K-Menu but rather just kill the XServer using Ctrl-Alt-Backspace. If I do that X restarts just fine, and I get back to the login screen.

Revision history for this message
Dorgendubal (svenwerlen) wrote :

I forgot to update that topic... my workaround didn't work as I expected. After another reboot, the issue was back :-(
Currently, I can't use the normal KDE shutdown buttons (Logout, Shutdown, Reboot). I switch to the console and manually execute "reboot" or "halt".

Revision history for this message
Fabiano Antunes (fabianoantunes) wrote : Same issue on Hardy Heron

My system used to work fine when I was running Feisty.

I recently upgraded to Hardy and, since then, everytime I go "System --> Logout" or simply click the shutdown button next to the system clock on gnome panel, I don't even get the options screen. The system simply hangs up. I can do ctrl+alt+backspace though. From GDM I'm able to shutdown and reboot.

Revision history for this message
TeraDyne (teradyne-ezeri) wrote : Re: logout process hangs

I've had the same problem with KDM in Kubuntu Hardy. Ilogout, and then I get nothing but a black screen. I couldn't use Ctrl+Alt+Backspace to kill X, and the terminals were unresponsive. To make matters worse, there's no errors in the xorg log, so I can't help in that effect.

If it helps, the laptop is an eMachines M2352 with an ATi Raedon Mobility (unknown model) but doesn't use the restricted drivers. The desktop, which also had the same problem, has a nVidia GeForce 8300 GS, and uses the restricted drivers.

Revision history for this message
Sitsofe Wheeler (sitsofe) wrote :

mactimes:
Your issue sounds gnome-power-manager related (as that it is involved in showing you log out options). Check whether a brand new user has the same issue.

Revision history for this message
Pedro I. Sanchez (pirivan) wrote :

I just upgraded to Ubuntu Hardy and found myself in the same situation. After I logout my computer freezes and my only way out is a hard reset. Things that I have done include:

1. Booted Hardy with the Feisty kernel. No changes.
2. Created a brand new user and tried login in and out. No changes.
3. Modified my xorg.conf file to force X to use the VESA driver ... success, no more freezes after logout.

Of course with this last option I get a sub-optimal desktop but this makes me conclude that the problem is X-related. My first call would have been to blame the new Intel driver in xorg since I have an ASUS P5E-VM mother board with the Intel G35 (3500) chipset. But several people report the same problem with non-Intel chipsets/boards so the problem is probably deeper than that, but definitevely X-related.

Revision history for this message
Marcelo Barros (marcelobarros) wrote :

Just to help:
Same problem with my notebook (dell d505, intel 810 graphic card), running hardy.

Revision history for this message
Sitsofe Wheeler (sitsofe) wrote :

(It is only likely to be a gnome-power-manager issue that can be checked with a new user if you only see limited logout options)

I fear this report is going to attract multiple different bugs which will be difficult to disentangle.

Pedro:
I think your best bet is to file a new bug report and post a link to your new bug report here. I would also also report in the new bug whether turning off desktop effects (when using the intel drivers) by going to System -> Preferences -> Appearance | Visual Effects and choosing None resolves the issue.

Revision history for this message
Pedro I. Sanchez (pirivan) wrote :

As requested by Sitsofe I opened bug 229043 (https://bugs.launchpad.net/ubuntu/+bug/229043).

Revision history for this message
Ahmad Amr (aamr) wrote :

Edit /etc/X11/xorg.conf to use "ati" instead of "fglrx"? fixed the problem for me (y)

Thanks Sebastien Bacher.

Revision history for this message
Juan (spainard) wrote :

I've noticed this problem with every release. Let me quantify that by saying, when I install the NVIDIA drivers manually (I'm not using packaged drivers) and I logout of my system, KDM fails, and I get black screen. CRTL+ALT+BACKSPACE does not restart X, instead I have to swtch to a terminal login, and restart KDM that way. I've only noticed this problem with manually installed NVIDIA drivers, and I've experienced this on Dapper, Fesity, and Hardy. I'm using the NVIDIA 96.43 version drivers- and I have two versions of Kubuntu running. I am running i386 with Feisty, and x86_64 with Hardy.

I dont' know where to start with where to look- anyone know of any log files I can check on to see if something is crashing?

I can't comment on whether or not this problem occurs using packaged drivers because I always manually install them when I do a fresh install of any release.

Revision history for this message
Alex Perry (perry-alex) wrote :

I have had this same issue since I did a fresh install on my current machine when hardy launched. Currently, I'm using Kernel version 2.6.24-18, nVidia driver version 1:96.43.05, and KDE 3.5.9 (and using KDM login manager).

Sorry I don't have any logs to attach, but there's no errors being reported. The system goes to a black screen, and the only input it will accept is CTRL-ALT-DEL to reboot.

Revision history for this message
Haggai Eran (haggai-eran) wrote :

I think I encountered the same problem on my computer. I believe its related to the keytouchd daemon. Here are the requested logs.

Regards,
Haggai Eran

Revision history for this message
Jerson (jerson) wrote :

I can confirm what Haggai Eran just say.
I had Keytouch installed. I just removed completely. That solved my problem.
Hard to believe it. I tried so many things...
Ubuntu hardy 64 bit
Nvidia Card

Revision history for this message
Manca (manca1) wrote :

I can confirm that removing keytouch indeed solved problem for me too :)

Who would ever think it was just keytouch :D LOL

Thanks for effort!

Revision history for this message
Dorgendubal (svenwerlen) wrote :

On my environment, it doesn't work. Keytouch is not installed but I still have the same symptoms. Logout is hanging until I press the Power button.

Revision history for this message
Karianne Fog Heen (simira) wrote : Re: [Bug 38915] Re: Logout proces hangs

I do not have this problem with the latest version.

Dorgendubal wrote:
> On my environment, it doesn't work. Keytouch is not installed but I
> still have the same symptoms. Logout is hanging until I press the Power
> button.
>

Revision history for this message
Vic Morgan (vic-morgan) wrote :

I've been suffering from this - there is a considerable delay (minutes) between clicking on the 'logout' icon and the logout/switch/shutdown screen appearing. However - I've just disabled an unconnected network card and the problem's disappeared! Could be temporary or just coincidence - but might help.

Revision history for this message
RS (rajks) wrote :

Try to disable the system sounds mixing ( ESD )

System->Preferences->Sound

Tab : Sound

Uncheck "Enable software sound mixing (ESD).

I would like to have the logout sound enabled if somebody can investigate why disabling this causes the shutdown to work properly.

Please try to fix this. This makes this product look bad.

Revision history for this message
Ken4000 (kennethj-mail) wrote :

Hi there
I'm running Ubuntu 8.04 with Gnome and I have the same problem!
I'm running a Dell Inspiron 8600 1.7GHz with an ATi Radeon 9600 Turbo Pro graphic card. Everything just works fine and I get fine result with the glxgears and fglrxinfo. I haven't setup anything only enabled the 3D and installed Compiz fusion.

When I logout or switch user it's going in black screen and can't do anything but push the power button :(
It's running fglrx in the xorg.conf. I have tryed to change the fglrx to ati and then it works, but then the 3D isn't working.

Some say it's because of the atieventsd.sh script has some wrong file destinations and then locks up. But I'm a newbie here, so don't know anything about it.

I have tryed all this without any succes:

System freezes after logout with GDM or KDM

If you use GDM modify
File: /etc/X11/gdm/gdm.conf (/usr/share/gdm/defaults.conf for me)
AlwaysRestartServer=true

If you use KDM add to the [X-:*-Core] section the following
File: /usr/kde/3.x/share/config/kdm/kdmrc
TerminateServer=true

Edit /etc/X11/xorg.conf to use "ati" instead of "fglrx"? fixed the problem for me, but then compiz doesn't work.

If you experience hangs when logging out (of X) it is probably due to the /etc/ati/authatieventsd.sh script looking for X authorisation files in the wrong place when it starts up.
You can kill the hanging authatieventsd.sh processes from a console tty to allow the shutdown of the X server. This can be fixed permanently with:

sudo mkdir -p /var/lib/xdm/authdir
sudo ln -s /var/run/xauth /var/lib/xdm/authdir/authfiles

If that doesn't work then you can disable atieventsd with this command:
sudo /usr/sbin/update-rc.d -f atieventsd remove

I have also tryed all of this described here:
http://www.kalaj.org/blog/2008/05/23...with-ati-card/

https://bugs.launchpad.net/ubuntu/+bug/38915

http://www.phoronix.com/forums/showthread.php?t=10090

Does anyone else have a solution for the problem?

I don´t know if I run the free og restricted ati driver...it's the one from Ubuntu 8.04 when I installed it.

Can I do something to help? Because it's pretty ignoring.

This bug is quit similar to this, where I also have posted:
https://bugs.launchpad.net/ubuntu/+source/xserver-xorg-video-ati/+bug/119635

Best regards
Kenneth

Revision history for this message
Steve Langasek (vorlon) wrote :

assigning to the fglrx package, since that's the one confirmed cause of this problem. If you are experiencing hangs on logout and you aren't using the fglrx driver with an ATI video chipset, you should open a new bug report since your problem is unrelated to this and should be tracked separately.

fglrx is currently inoperable for Ubuntu 8.10, due to a lack of compatible binary drivers from ATI, so this issue may be "fixed" for intrepid in any case...

Revision history for this message
Pedro I. Sanchez (pirivan) wrote :

If by the ATI driver being "the one confirmed [to] cause of this problem" you mean the *only* one to be confirmed to cause this problem then please take a look at bug 229043. That bug deals with the same problem on an Intel G35-base mother board. Even though the title of the bug reads "freezing when shutting down" it is in fact about "freezing when logging out". It's not closed yet unfortunately.

The Intel driver has also been identified to have this problem (see comment 41) in the bug report. I hope this will get fixed soon in the light of the LTS label of the 8.04 release.

Revision history for this message
Bryce Harrington (bryce) wrote :

Good day PDP,

I've just uploaded a new 8.543 version of -fglrx to Intrepid which now should work with xserver 1.5. Would you mind testing this new version and reporting back whether this issue is still present? If it is, it would be helpful if you could (re-)post your Xorg.0.log from running with this version. Thanks ahead of time.

If you don't have Intrepid installed on your system, you can test this by booting an Intrepid LiveCD (available from cdimage.ubuntu.com), using either the -vesa or -ati driver, then update to the latest version of Ubuntu, install fglrx, and then logout and back in. Your /var/log/Xorg.0.log will confirm whether you've loaded FGLRX successfully.

If you find any new issues, please report them as separate bugs. You can use the tool `ubuntu-bug fglrx-installer` which will gather the necessary files and create the launchpad report for you to fill in more easily.

Changed in fglrx-installer:
status: Confirmed → Incomplete
Revision history for this message
pius (pius) wrote :

I can confirm that this issue is still present on Intrepid (kdm) using fglrx version 2:8.543-0ubuntu2.
I can also confirm that Ken4000's proposed solution works. I suppose that adding a patch against the GetServerAuthFile() function in /etc/ati/authatieventsd.sh could eventually fix this issue.

Revision history for this message
Mario Limonciello (superm1) wrote :

I'm not sure particularly where the problem is in authatieventsd.sh? It looks like it will check the xdm/kdm location and then fall back to the gdm location.

Does this failure ONLY happen with KDM then? Is something particularly wrong with the KDM location that is checked?

Revision history for this message
Mario Limonciello (superm1) wrote :

OK, can someone encountering this problem please try the attached authatieventsd.sh? If this resolves the situation, then we'll add a patch to our package.

Revision history for this message
pius (pius) wrote :

Actually, this bug's description is quite general, so there may be different factors involved. It works for me though.

Revision history for this message
Mario Limonciello (superm1) wrote :

Piotr:

Can you be more specific?
(1) didn't work for you before w/ KDM, the "fix" works for you with KDM
(2) it worked before for you w/ KDM, the "fix" causes no harm with KDM
(3) didn't work for you before w/ GDM, the "fix" works for you with GDM
(4) it worked for you before w/ GDM, the "fix" works for you with GDM

Revision history for this message
pius (pius) wrote :

(1)

Revision history for this message
simon (simon-segfault-info) wrote :

Hello Mario,

yes, your authatieventsd.sh fixes the "Logout process hangs" problem for me (after doing a reboot):
... tried first with up-to-date Kubuntu 8.10 x64 from today -> Logout process hangs ... replaced the authatieventsd.sh
with yours ... reboot ... tried again - logout works like it should.

Thanks,
Simon

Changed in fglrx-installer:
status: Incomplete → Confirmed
Changed in fglrx-installer:
assignee: nobody → superm1
status: Confirmed → Fix Committed
Revision history for this message
ttldkns (kubuntu-brightfire) wrote :

Hey.

Thought I would pitch in and say that Mario's authatieventsd.sh fixes this problem for me

ATI x8000XL, fglrx, kubuntu 8.10 Ibex, AMD64

Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package fglrx-installer - 2:8.543-0ubuntu4

---------------
fglrx-installer (2:8.543-0ubuntu4) intrepid; urgency=low

  [ Mario Limonciello ]
  * debian/rules:
    - Don't copy the libAMDXvBA.so* into multiple packages
      on AMD64 (LP: #287159)
  * debian/control:
    - xorg-driver-fglrx: Drop libamdxvba1 to suggests so that fglrx can be put
      onto DVDs.
  * Replace authatieventsd.sh with our own variation that works with KDM.
    (LP: #38915)

  [ Matthias Klose ]
  * debian/control:
    - xorg-driver-fglrx: Drop dependency on ia32-libs [amd64], add dependencies
      on lib32gcc1 [amd64], libc6-i386 [amd64].
    - libamdxvba1: Add dependency on ia32-libs [amd64].

 -- Mario Limonciello <email address hidden> Wed, 22 Oct 2008 11:55:59 -0500

Changed in fglrx-installer:
status: Fix Committed → Fix Released
Revision history for this message
Maxime Lemonnier (maxime-lemonnier) wrote :

Curiously, the file was not present in my etc/ati/ directory, after addind the file manually, it seems to work

Revision history for this message
Maxime Lemonnier (maxime-lemonnier) wrote :

Sometimes it still hangs, the only thing I can do then is to hit the power button a couple of times until the shutdon event gets catched, then I see the shutdown slpash

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.