LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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 02-11-2012, 08:02 PM   #1
v8dave
LQ Newbie
 
Registered: Dec 2004
Location: UK, London
Distribution: Slackware-14.1 and Slackware64-14.2rc1
Posts: 25

Rep: Reputation: 2
X Session error logging problem in KDE-4.8.0 on Slackware current


I'm hoping this is just a silly file permissions problem but I've not found an answer yet...

My system boots to run level 3 and I then start an X session with 'startx'. My wm is KDE-4.8.0 which starts and most things seem to work. Errors from the X server get logged to /var/log/Xorg.0.og but I get no errors from the X session. My /etc/X11/xdm/Xsession should be directing errors to an errfile at $HOME/.xsession-errors but nothing happens!

If I start the x session with an error redirect such as 'startx > .startx.log 2>&1' then I get errors and other messages to the appropriate file. I suspect the most probably cause is my Xsession file has not kept up to date with the rest of the system. Can someone post their Xsession file where logging works. I know I could start the session with the error redirect every time but I can't understand why it is not happen automatically.

As per the subject line I'm on slackware current of about 29/12/2011 and KDE-4.8.0-alien. I'd like to understand what has broken with the logging before I look at what appears to be a monumental mess with dbus and akonadi/nepomuk/virtuoso.

Dave
 
Old 02-19-2012, 04:19 PM   #2
v8dave
LQ Newbie
 
Registered: Dec 2004
Location: UK, London
Distribution: Slackware-14.1 and Slackware64-14.2rc1
Posts: 25

Original Poster
Rep: Reputation: 2
Marked this as solved since a bit more reading has explained what happens!

Rather than the settings in /etc/X11/xdm being read when startx is run it is the settings in /etc/kde/kdm that are actioned, so since the /etc/kde/kdm/Xsession file does not have an error redirect it was not happening !!
This is because startx is actually /usr/bin/startx and looks to /usr/share/config/kdm for it's setup info and in my system thats a link to /etc/kde/kdm

The question now is why does the kdm setup not invoke error logging to the $HOME/.xsession-errors file correctly since the request for logging is there and all the errors are showing on the term that starts X. More reading and trials required.

Dave
 
  


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
slackware current kde 4.6 (alienbobs pkgs) startup error:kcminit seg fault) okoolo Slackware 2 03-07-2011 05:21 PM
[Solved] Sound problem in Slackware 13 Current KDE 4.3 AuroraZero Slackware 14 04-21-2010 05:42 PM
problem slackware-current kde 4.2 elmana Slackware 1 04-11-2009 03:38 AM
Problem with KDE 3.5.3 on Slackware-Current KeithE Slackware 11 06-07-2006 09:29 AM
Keyboard goes dead when logging in to user via KDE session mrmakent Mandriva 0 12-22-2005 05:58 PM

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

All times are GMT -5. The time now is 10:07 AM.

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