Bug 159374 - gdm has a dialog that displays ~/.xsession-errors instead of /tmp/xses-$user.xxxxxx
gdm has a dialog that displays ~/.xsession-errors instead of /tmp/xses-$user....
Product: Fedora
Classification: Fedora
Component: gdm (Show other bugs)
All Linux
medium Severity medium
: ---
: ---
Assigned To: Ray Strode [halfline]
Mike McLean
Depends On:
  Show dependency treegraph
Reported: 2005-06-01 23:06 EDT by Jonathan Kamens
Modified: 2009-01-09 01:52 EST (History)
0 users

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2009-01-09 01:52:35 EST
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

  None (edit)
Description Jonathan Kamens 2005-06-01 23:06:59 EDT
My understanding is that the output of my X session is supposed to go into
~/.xsession-errors.  This is confirmed by what happens if I log in and then kill
my session within ten seconds.  I get a dialog from gdm about the fact that my
session seemingly died prematurely with a checkbox offering to let me view the
contents of ~/.xsession-errors if I check it.

The thing is, the file it's showing me isn't actually ~/.xsession-errors, it's
/tmp/xses-jik.xxxxxx, where xxxxxx is a random sequence of six characters.

I don't know why this log file is ending up in the wrong place, but I wish it
would move back to ~/.xsession-errors where it belongs.
Comment 1 Ray Strode [halfline] 2005-06-02 10:05:35 EDT
Hi Jonathan,

Normally GDM would first try to open ~/.xsession-errors and if it failed then
try to open a file in /tmp.  With SELinux we want to minimize how much access a
program has to the users home directory (so that if it's exploited for whatever
reason the amount of damage it can do to a user's personal files is minimized).
 Because of this a patch was added to GDM to bypass ~/.xsession-errors and skip
directly to the fallback case of using /tmp/xses-$username.xxxxxx.

The dialog should be looking at the log file that was open, however.  That's a
Comment 2 Christopher Aillon 2006-01-27 15:55:26 EST
Not a target bug.
Comment 3 Bug Zapper 2008-11-26 01:50:34 EST
This message is a reminder that Fedora 8 is nearing its end of life.
Approximately 30 (thirty) days from now Fedora will stop maintaining
and issuing updates for Fedora 8.  It is Fedora's policy to close all
bug reports from releases that are no longer maintained.  At that time
this bug will be closed as WONTFIX if it remains open with a Fedora 
'version' of '8'.

Package Maintainer: If you wish for this bug to remain open because you
plan to fix it in a currently maintained version, simply change the 'version' 
to a later Fedora version prior to Fedora 8's end of life.

Bug Reporter: Thank you for reporting this issue and we are sorry that 
we may not be able to fix it before Fedora 8 is end of life.  If you 
would still like to see this bug fixed and are able to reproduce it 
against a later version of Fedora please change the 'version' of this 
bug to the applicable version.  If you are unable to change the version, 
please add a comment here and someone will do it for you.

Although we aim to fix as many bugs as possible during every release's 
lifetime, sometimes those efforts are overtaken by events.  Often a 
more recent Fedora release includes newer upstream software that fixes 
bugs or makes them obsolete.

The process we are following is described here: 
Comment 4 Bug Zapper 2009-01-09 01:52:35 EST
Fedora 8 changed to end-of-life (EOL) status on 2009-01-07. Fedora 8 is 
no longer maintained, which means that it will not receive any further 
security or bug fix updates. As a result we are closing this bug.

If you can reproduce this bug against a currently maintained version of 
Fedora please feel free to reopen this bug against that version.

Thank you for reporting this bug and we are sorry it could not be fixed.

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