LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 03-09-2011, 11:12 AM   #1
Woodsman
Senior Member
 
Registered: Oct 2005
Distribution: Slackware 14.1
Posts: 3,482

Rep: Reputation: 546Reputation: 546Reputation: 546Reputation: 546Reputation: 546Reputation: 546
Where is ~/.xsession-errors log?


I'm testing Current (13.37). I notice no ~/.xsession-errors log. How is that log created in Slackware?
 
Old 03-09-2011, 11:16 AM   #2
corp769
LQ Guru
 
Registered: Apr 2005
Location: /dev/null
Posts: 5,818

Rep: Reputation: 1007Reputation: 1007Reputation: 1007Reputation: 1007Reputation: 1007Reputation: 1007Reputation: 1007Reputation: 1007
You can always try to find it manually
Code:
find / -iname *xsession-error* 2>/dev/null
 
Old 03-09-2011, 01:05 PM   #3
Woodsman
Senior Member
 
Registered: Oct 2005
Distribution: Slackware 14.1
Posts: 3,482

Original Poster
Rep: Reputation: 546Reputation: 546Reputation: 546Reputation: 546Reputation: 546Reputation: 546
Quote:
You can always try to find it manually
Um, no, that is not what I meant.

The file is not created in Slackware. How are other Slackers creating this file? What files need to be modified/revised so X automatically creates that file?
 
Old 03-09-2011, 01:26 PM   #4
eSelix
Senior Member
 
Registered: Oct 2009
Location: Wroclaw, Poland
Distribution: Arch, Kubuntu
Posts: 1,281

Rep: Reputation: 320Reputation: 320Reputation: 320Reputation: 320
In Ubuntu this is done in /etc/X11/Xsession file. I think you can simply redirect standard output and error from your starting xinit to error file.
 
Old 03-09-2011, 01:35 PM   #5
corp769
LQ Guru
 
Registered: Apr 2005
Location: /dev/null
Posts: 5,818

Rep: Reputation: 1007Reputation: 1007Reputation: 1007Reputation: 1007Reputation: 1007Reputation: 1007Reputation: 1007Reputation: 1007
Are you starting X automatically or manually? I know you can create the errors file by the command line:
Code:
startx 2>.xsession-errors
 
Old 03-09-2011, 02:39 PM   #6
Woodsman
Senior Member
 
Registered: Oct 2005
Distribution: Slackware 14.1
Posts: 3,482

Original Poster
Rep: Reputation: 546Reputation: 546Reputation: 546Reputation: 546Reputation: 546Reputation: 546
Perhaps a more appropriate question is why is this file not automatically created in Slackware? Perhaps one of the devs can pipe in?
 
Old 03-09-2011, 03:11 PM   #7
sahko
Senior Member
 
Registered: Sep 2008
Distribution: Slackware
Posts: 1,041

Rep: Reputation: Disabled
Quote:
Originally Posted by Woodsman View Post
How is that log created in Slackware?
It is created when you log in to X using a display manager like KDM.

edit: IIRC only KDM & GDM create it. More sane and lightweight display managers dont do so.

Last edited by sahko; 03-09-2011 at 03:15 PM.
 
  


Reply



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 igsen Slackware 1 12-29-2010 05:23 PM
xsession errors sky_amy Red Hat 3 06-11-2008 06:36 AM
xsession-errors / I can no longer log in Cinematography Ubuntu 2 06-12-2005 12:59 PM
~/.xsession-errors Phiebie Debian 2 12-21-2004 09:00 AM
.xsession-errors DeadPuddle Linux - General 3 05-31-2002 11:37 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 10:34 PM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration