Bug 5384 - forced logout when switching back from consoles
Summary: forced logout when switching back from consoles
Status: RESOLVED DUPLICATE of bug 5795
Alias: None
Product: xorg
Classification: Unclassified
Component: Driver/intel (show other bugs)
Version: 6.8.2
Hardware: x86 (IA32) Linux (All)
: high normal
Assignee: Alan Hourihane
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-12-19 23:39 UTC by Carl Goh
Modified: 2006-05-08 03:59 UTC (History)
1 user (show)

See Also:
i915 platform:
i915 features:


Attachments
Xorg configure file (2.75 KB, text/plain)
2005-12-19 23:41 UTC, Carl Goh
no flags Details
Xorg log file (48.87 KB, text/x-log)
2005-12-23 12:23 UTC, Carl Goh
no flags Details
xorg logfile showing crash of i810 drivert (9.09 KB, application/zip)
2006-04-13 04:24 UTC, Jeroen Janssen
no flags Details
logfile showing crash (52.38 KB, text/plain)
2006-04-17 21:20 UTC, Jos Delbar
no flags Details
configuration lfp (1.88 KB, text/plain)
2006-04-17 21:20 UTC, Jos Delbar
no flags Details
configuration external monitor (1.99 KB, text/plain)
2006-04-17 21:21 UTC, Jos Delbar
no flags Details

Description Carl Goh 2005-12-19 23:39:12 UTC
I am having this problem after I upgrade from FC3 to FC4. Every time I switch
back from console to X, my Dell desktop Dimension 3000 logs me out of the
current session and ask me to relog in. However, I do not have this problem when
I switch from X to virtual console. I can always resume my previous session
under tty with no problem. I used FC3 briefly before on the same machine and did
not experience this problem either. I am running xorg-x11 6.8.2, Release
37.FC4.49.2.
Thank you if anyone can give some suggestions on what is happening.
Comment 1 Carl Goh 2005-12-19 23:41:27 UTC
Created attachment 4128 [details]
Xorg configure file
Comment 2 Adam Jackson 2005-12-21 10:00:05 UTC
the odds are good that the server is crashing when you try to switch back to X.
 you can confirm this by booting in runlevel 3, running 'startx' by hand, and
trying to switch to VT and back.

if you do reproduce it this way, please attach the X log file
(/var/log/Xorg.0.log) from after the crash.
Comment 3 Carl Goh 2005-12-23 12:23:40 UTC
Created attachment 4152 [details]
Xorg log file

I tried "$startx", and I received error message "Fatal server error: Server is
already active for display 0." I removed /tmp/.X0-lock and tried again. I could
switch to console, but when I came back, I got a black screen with two lines:
"audit(:3278062): major=252 name_count=0: freeing multiple contexts (1)" and
"audit(:3043416): major=113 name_count=0: freeing multiple contexts (2)".
After I reboot, I tried "$ps aux | grep 'cat /tmp/.X0-lock'", which gives me
something like "carlgoh 15170 0.0 0.2 3748 668 pts/3 S+ 20:00 0:00 grep cat
/tmp/.X0-lock". I tried "pgrep X" which outputs only one number 2633. "$startx
-- :1" from gnome terminal gives me a black screen. I switch to console and
come back to X, and I get logged out again.
I am attaching my Xorg.0.log file.
It does look to me like there is server problem, but I am a bit lost at the
concept of X-server. If I use cable to get connected to internet, where should
be my X-server? Any suggestion on how to correct the problem?
Merry Christmas!
Comment 4 Alan Hourihane 2006-01-07 01:41:03 UTC
What you need to do from the commandline is go to runlevel 3. By typing....

init 3

this will shutdown X and any xdm based login manager.

Now, run

startx

and X will start up. Now try switching VT's. If it crashes, post the logfile
from /var/log/Xorg.0.log here before rebooting. Otherwise the logfile will get
overwritten again.
Comment 5 Jeroen Janssen 2006-03-18 02:52:55 UTC
Hello,

I think I have the same problem.

When I switch from X to a text console (and back), my X will be restarted
(causing the login screen to re-appear).

I looked at my xorg logfile and noticed the following in the logfile:

"Backtrace:
0: /usr/bin/X(xf86SigHandler+0x86) [0x80b49a6]
1: [0xffffe420]
2: /usr/lib/xorg/modules/drivers/i810_drv.so [0xb79dc666]
3: /usr/lib/xorg/modules/libxaa.so [0xb7813915]
4: /usr/lib/xorg/modules/libramdac.so [0xb780807b]
5: /usr/bin/X [0x80bad29]
6: /usr/bin/X [0x80c52e1]
7: /usr/bin/X(xf86Wakeup+0x34a) [0x80b4ddf]
8: /usr/bin/X(WakeupHandler+0x4f) [0x8089ad7]
9: /usr/bin/X(WaitForSomething+0x1ed) [0x818f8ce]
10: /usr/bin/X(Dispatch+0x8e) [0x8085c16]
11: /usr/bin/X(main+0x47c) [0x806e0a8]
12: /lib/tls/i686/cmov/libc.so.6(__libc_start_main+0xd2) [0xb7d87ea2]
13: /usr/bin/X(FontFileCompleteXLFD+0x81) [0x806d611]

Fatal server error:
Caught signal 11.  Server aborting"

This is with ubuntu dapper (currently up to date), if you need more info (the
complete logfile) I can attach it if you want.
Comment 6 Alan Hourihane 2006-04-13 02:15:06 UTC
The whole logfile would be good.
Comment 7 Jeroen Janssen 2006-04-13 04:24:27 UTC
Created attachment 5281 [details]
xorg logfile showing crash of i810 drivert
Comment 8 Jos Delbar 2006-04-17 21:20:07 UTC
Created attachment 5342 [details]
logfile showing crash

I've got the same problem using i810 1.5.1. Switching from X to a console and
back, crashes the X server. This happens only when I use the local flat panel.
When I use an external monitor (and disable the local flat panel), I can switch
to and from a console without problems.
Comment 9 Jos Delbar 2006-04-17 21:20:57 UTC
Created attachment 5343 [details]
configuration lfp
Comment 10 Jos Delbar 2006-04-17 21:21:22 UTC
Created attachment 5344 [details]
configuration external monitor
Comment 11 Alan Hourihane 2006-05-08 20:59:13 UTC

*** This bug has been marked as a duplicate of 5795 ***


Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.