LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices

Reply
 
Search this Thread
Old 03-14-2011, 12:26 PM   #1
Ribo01
Member
 
Registered: Aug 2010
Posts: 103

Rep: Reputation: 5
what is ~/.xsession-errors file ?


Hello y'all. I need someone to tell me the usefulness of this file "~/.xsession-errors" in my home directory. That's one. Secondly, I have this error everytime I try to log-in.the errors msg - " your last session lasted less than 10 seconds use one of the fails safe to see of you can fix it or check -/.xsession-errors for details." I need help please .distro Red hat
 
Old 03-14-2011, 02:11 PM   #2
andrewthomas
Senior Member
 
Registered: May 2010
Location: Chicago Metro
Distribution: Arch, Gentoo, Slackware
Posts: 1,690

Rep: Reputation: 307Reputation: 307Reputation: 307Reputation: 307
Go to the terminal and log into the account that is having the log-in problem and

Code:
cat .xsession-errors > xsession-errors
to save the file for later viewing and then

Code:
cat .xsession-errors
and write down the fatal error and post here.
 
Old 03-14-2011, 04:36 PM   #3
Ribo01
Member
 
Registered: Aug 2010
Posts: 103

Original Poster
Rep: Reputation: 5
I already wrote or should I posted the fatal error the way its was. Go through the pat and you'll see the fatal error in double quotes.
 
Old 03-14-2011, 06:02 PM   #4
andrewthomas
Senior Member
 
Registered: May 2010
Location: Chicago Metro
Distribution: Arch, Gentoo, Slackware
Posts: 1,690

Rep: Reputation: 307Reputation: 307Reputation: 307Reputation: 307
There has to be more than just that error. Have you logged into the terminal and checked the .xsession-errors file?
 
Old 03-15-2011, 12:04 AM   #5
Ribo01
Member
 
Registered: Aug 2010
Posts: 103

Original Poster
Rep: Reputation: 5
Ok got you. So what really is the function of the file, ~/.xsession-errors ? Would like to know its function, and the purpose. Thanks
 
Old 03-15-2011, 09:10 AM   #6
andrewthomas
Senior Member
 
Registered: May 2010
Location: Chicago Metro
Distribution: Arch, Gentoo, Slackware
Posts: 1,690

Rep: Reputation: 307Reputation: 307Reputation: 307Reputation: 307
Quote:
Originally Posted by Ribo01 View Post
Ok got you. So what really is the function of the file, ~/.xsession-errors ? Would like to know its function, and the purpose. Thanks
The purpose is to log errors for the xsession. A user may not have access to system logs, so this is a way for the user to know what is wrong.
 
Old 03-15-2011, 10:28 AM   #7
Ribo01
Member
 
Registered: Aug 2010
Posts: 103

Original Poster
Rep: Reputation: 5
To andrewthomas , YOu are the best. think i know whats causing the problem now. made some alteration about logging in to my terminal in my ~/.bashrc file of one of the users on my system, i wrote a bash script file actually to test a particular condition before the terminal can be accessed. So i guess the problem came from that, or what you think? Thanks alot

Last edited by Ribo01; 03-15-2011 at 10:29 AM.
 
Old 03-17-2011, 11:43 AM   #8
Ribo01
Member
 
Registered: Aug 2010
Posts: 103

Original Poster
Rep: Reputation: 5
Hello, thanks to andrewthomas you really was of great help. Would just post this for whoever might have problems eth its ~/.xssession-errors to serve as a reference to anyone. Basically, just open the ~/.xssession-errors , and you will see the problem to your in-ability to log stored in there.
 
Old 03-17-2011, 12:15 PM   #9
andrewthomas
Senior Member
 
Registered: May 2010
Location: Chicago Metro
Distribution: Arch, Gentoo, Slackware
Posts: 1,690

Rep: Reputation: 307Reputation: 307Reputation: 307Reputation: 307
You're welcome. Glad to be of help.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
.xsession-errors file runs wild. Xamiga Ubuntu 1 01-06-2010 12:48 AM
.xsession-errors: Failed to execute mesage bus deamon:No such file or directory chakra Linux - Newbie 1 03-10-2009 11:54 AM
".xsession-errors" file: need some advice tigerflag Linux - General 5 08-12-2005 08:36 AM
.xsession-errors file exploding ??? tjuii Linux - General 3 12-14-2004 01:32 PM
XSession-errors file eats my hard drive alexbgd Linux - Newbie 5 10-27-2003 03:31 PM


All times are GMT -5. The time now is 11:36 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration