Bug 492905

Summary: 'startx' doesn't open a new ConsoleKit session any more
Product: [Fedora] Fedora Reporter: Nalin Dahyabhai <nalin>
Component: xorg-x11-xinitAssignee: Søren Sandmann Pedersen <sandmann>
Status: CLOSED RAWHIDE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: medium    
Version: rawhideCC: kem, xgl-maint
Target Milestone: ---Keywords: EasyFix, Regression
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: 1.0.9-7.fc11 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2009-05-22 19:58:03 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Nalin Dahyabhai 2009-03-30 16:43:34 UTC
Description of problem:
Fixing bug #452156 broke 'startx' -- it needs to be opening a new session, but because XDG_SESSION_COOKIE is already set in the shell for the text session, it doesn't.

Version-Release number of selected component (if applicable):
1.0.9-5.fc11

How reproducible:
Always

Steps to Reproduce:
1. Boot to runlevel 3.
2. Log in.
3. Run 'startx'.
4. Open a terminal window.
5. Run 'ck-list-sessions'.
  
Actual results:
No new session, and your old session is not active, and isn't connected to the display.

Expected results:
New session attached to your display.

Additional information:
Unsetting XDG_SESSION_COOKIE before running 'xinit' in the 'startx' script would probably do the trick.