Bug 528867 - X Session Switches from tty1 to tty7 After Logout
Summary: X Session Switches from tty1 to tty7 After Logout
Keywords:
Status: CLOSED DUPLICATE of bug 504574
Alias: None
Product: Fedora
Classification: Fedora
Component: gdm
Version: 12
Hardware: All
OS: Linux
low
medium
Target Milestone: ---
Assignee: jmccann
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2009-10-14 06:36 UTC by William Makowski
Modified: 2015-01-14 23:23 UTC (History)
8 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2009-12-05 21:28:25 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
Output Showing tty's on Rawhide (553 bytes, text/plain)
2009-10-14 06:36 UTC, William Makowski
no flags Details
Output Showing tty's on Fedora 11 (523 bytes, text/plain)
2009-10-14 06:37 UTC, William Makowski
no flags Details
messages Log File (51.28 KB, text/plain)
2009-10-29 16:32 UTC, William Makowski
no flags Details
Initial Display Log from /var/log/gdm (18.56 KB, text/plain)
2009-11-24 14:20 UTC, William Makowski
no flags Details
Display log from /var/log/gdm After Log Out and Switch to VT 7 (18.30 KB, text/plain)
2009-11-24 14:28 UTC, William Makowski
no flags Details

Description William Makowski 2009-10-14 06:36:33 UTC
Created attachment 364696 [details]
Output Showing tty's on Rawhide

Description of problem:
I'm not sure if this is an upstart problem or gdm problem. When the system first boots in runlevel 5 X is on tty1. If you logout gdm is respawned and then X switches to tty7. This is also a problem in Fedora 11. In Fedora 10 it does not switch and stays on tty1.

Version-Release number of selected component (if applicable):
_Rawhide_
upstart-0.3.11-3.fc12.i686
gdm-2.28.0-9.fc12.i686

_Fedora_11_
upstart-0.3.11-1.fc11.i586
gdm-2.26.1-13.fc11.i586

How reproducible:
1. Boot normally using runlevel 5.
2. Login to Gnome through gdm with regular user(at this point X is on tty1)
3. Logout from regular user.
4. Login to Gnome through gdm with regular user (at this point X is on tty7)
  
Actual results:
X switches from tty1 to tty7.

Expected results:
X should stay on the same tty at all times.

Additional info:
See attachments of output from ps -e | grep tty

Comment 1 William Makowski 2009-10-14 06:37:42 UTC
Created attachment 364697 [details]
Output Showing tty's on Fedora 11

Comment 2 William Makowski 2009-10-15 17:29:01 UTC
I'm now starting to think that this is more of a gdm problem than upstart.  Since gdm is responsible for starting the Xserver, I believe it should make sure that Xorg remains on the same virtual terminal after a user logs out.

Comment 3 Casey Dahlin 2009-10-29 06:08:45 UTC
Definitely not upstart. Possibly initscripts. I'll give this to Bill since he handled the TTY move to begin with.

Comment 4 Ray Strode [halfline] 2009-10-29 13:57:52 UTC
nah, this is very likely a GDM problem.

If GDM crashes for whatever reason it will forget its supposed to run on tty1.  So, that's probably what's happening.

Can you attach /var/log/messages?

Comment 5 William Makowski 2009-10-29 16:32:14 UTC
Created attachment 366659 [details]
messages Log File

This is the log from Rawhide.  I copied everything from the point of restart.  After the restart I logged in with a regular user, then logged out and logged back in.  Clock in Gnome was showing 12:10 at time of logout.  I don't see any direct references to gdm in the logs.  There are a few other things that need sorting out.  I'll see if anything in /var/log/gdm looks interesting and post it.

Comment 6 Bug Zapper 2009-11-16 13:39:10 UTC
This bug appears to have been reported against 'rawhide' during the Fedora 12 development cycle.
Changing version to '12'.

More information and reason for this action is here:
http://fedoraproject.org/wiki/BugZappers/HouseKeeping

Comment 7 William Makowski 2009-11-21 20:22:02 UTC
The tty continues to switch from 1 to 7 with latest version of gdm (gdm-2.28.1-24.fc12.i686).  Let me know what is needed to help resolve this annoying little bug.  As I mentioned earlier, Fedora 10 does not have this problem.  F11 and F12 both switch tty's after a logout.

Comment 8 William Makowski 2009-11-24 14:20:08 UTC
Created attachment 373429 [details]
Initial Display Log from /var/log/gdm

This is the initial display log after boot.  Notice on line 34 that it is using VT number 1.  While in operation, up to and including line 313 are in the log.  The contents after line 313 is added after log out.  From the warnings at the bottom it looks like it is trying to unmap video memory when the warnings occur and X restarts.

Comment 9 William Makowski 2009-11-24 14:28:03 UTC
Created attachment 373432 [details]
Display log from /var/log/gdm After Log Out and Switch to VT 7

Here is the display log after log out.  Line 34 now shows that it is using VT number 7.  There are also a few informational messages about the VT switch on lines 313 and 314.  Is there anything else I can do to help resolve the problem?

Comment 10 Sergey Rudchenko 2009-12-05 21:28:25 UTC

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


Note You need to log in before you can comment on or make changes to this bug.