View previous topic :: View next topic |
Author |
Message |
rimtrim n00b
Joined: 03 Apr 2005 Posts: 17
|
Posted: Sat Sep 20, 2008 12:50 am Post subject: No ~/.xsession-errors log? |
|
|
I just did a major update to my system, and although the basics are working fine, I've noticed that when I exit KDE/X and drop back to the command line, there are various X and KDE-related errors that were apparently written to stdout while X was running. I would like to log these errors to a file so I can go through them and determine what they mean. I've seen a lot of stuff indicating that the file ~/.xsession-errors should be logging these messages, but I have no such file. I'm wondering if I need to make a configuration change to X to get it to write this file, or what?
-Andrew L |
|
Back to top |
|
|
notHerbert Advocate
Joined: 11 Mar 2008 Posts: 2228 Location: 45N 73W
|
Posted: Sat Sep 20, 2008 4:28 am Post subject: |
|
|
If you login through kdm, then it is done by default through kdmrc (I assume gdm too).
But if you login with startx, you need to redirect output in ~/.xinitrc Code: | exec startkde >.xsession-errors 2>&1 |
|
|
Back to top |
|
|
rimtrim n00b
Joined: 03 Apr 2005 Posts: 17
|
Posted: Sat Sep 20, 2008 2:48 pm Post subject: |
|
|
This worked for me. Thanks!
-Andrew L |
|
Back to top |
|
|
notHerbert Advocate
Joined: 11 Mar 2008 Posts: 2228 Location: 45N 73W
|
Posted: Sat Sep 20, 2008 3:58 pm Post subject: |
|
|
|
|
Back to top |
|
|
|