LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
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 06-14-2008, 11:47 AM   #1
allend
Senior Member
 
Registered: Oct 2003
Location: Melbourne
Distribution: Slackware-current
Posts: 3,520

Rep: Reputation: 874Reputation: 874Reputation: 874Reputation: 874Reputation: 874Reputation: 874Reputation: 874
Need to login twice to start KDE with compiz and kde-window-decorator from kdm


I have been experiencing an annoyance for some time. This box is setup to boot to run level 4 to kdm. When I log in the first time, KDE and compiz start, but kde-window-decorator fails to start so that I am left with windows with no borders and the Klipper icon fails to appear. If I logout and login again, everything starts OK.
This problem did not occur with Slackware 12.0, then appeared as I tracked Slackware-current to Slackware 12.1 (maybe when upgrading to KDE 3.5.9?). It is now a consistent problem at every boot.
This box has an nVidia 7300 LE GPU, and the problem continues with an update to the latest nVidia kernel module.
I am starting to suspect that the kde-window-decorator is being launched before compiz has completed. I have tried increasing the Server Timeout in kdmrc, but that made no difference.
There is nothing obviously useful in my ~/.xsession-errors file or /var/log/syslog.
This is the contents of my ~/.kde/share/config/ksmserverrc file.
Quote:
[$Version]
update_info=ksmserver.upd:kde3

[General]
screenCount=1

[LegacySession: saved at previous logout]
count=0

[Session: saved at previous logout]
clientId1=10b6c66770000121302606000000081570009
clientId2=10b6c66770000121302941000000041250010
clientId3=10b6c66770000121302943400000041250011
count=3
discardCommand1[$e]=rm,$HOME/.kde/share/config/session/konqueror_10b6c66770000121302606000000081570009_1213454813_975203
discardCommand2=
discardCommand3[$e]=
program1=konqueror
program2=
program3=kde-window-decorator
restartCommand1=konqueror,-session,10b6c66770000121302606000000081570009_1213454813_975203
restartCommand2=compiz,--sm-client-id,10b6c66770000121302941000000041250010,--replace,png,svg,decoration,wobbly,fade,minimize,cube,switcher,move,place,resize,rotate,scale
restartCommand3=kde-window-decorator,-session,10b6c66770000121302943400000041250011_1213454813_975311
restartStyleHint1=0
restartStyleHint2=135004162
restartStyleHint3=0
userId1=me
userId2=
userId3=me
Has anybody else had this problem, or any suggestions on a fix?
 
Old 06-14-2008, 03:03 PM   #2
Woodsman
Senior Member
 
Registered: Oct 2005
Distribution: Slackware 14.1
Posts: 3,482

Rep: Reputation: 534Reputation: 534Reputation: 534Reputation: 534Reputation: 534Reputation: 534
I never have experienced this problem. A first reasonable guess is a session problem/corruption. The next time you log out and return to the KDM login manager, logout without saving the session.

For comparison, here is my normal user ksmserverrc:

[$Version]
update_info=ksmserver.upd:kde3

[General]
confirmLogout=true
excludeApps=soffice.bin
loginMode=default
offerShutdown=true
shutdownType=0


You also could boot into runlevel three. After logging in at the command line, do not immediately run startx. Your KDE user session files are stored in $HOME/.kde/share/config/session. Delete the files. Then run startx. Exit X/KDE without saving the session. Reboot or telinit into runlevel four and login through KDM.
 
Old 06-14-2008, 06:18 PM   #3
adriv
Member
 
Registered: Nov 2005
Location: Diessen, The Netherlands
Distribution: Slackware 14.1
Posts: 661

Rep: Reputation: 38
Perhaps the tip in this thread solves it?
 
Old 06-16-2008, 07:54 PM   #4
allend
Senior Member
 
Registered: Oct 2003
Location: Melbourne
Distribution: Slackware-current
Posts: 3,520

Original Poster
Rep: Reputation: 874Reputation: 874Reputation: 874Reputation: 874Reputation: 874Reputation: 874Reputation: 874
Thanks for the good suggestions. Unfortunately nothing that I have tried to date has fixed the problem.

I am wondering if this may have something to do with loading dbus for the session.
I noted that I did not have DBUS_SESSION_BUS_ADDRESS environment variable set,
and that a dbus session process was started after compiz and kde-window-decorator.

I have tried adding a ~/.bash_profile to my home directory, to load dbus when a KDE session is started.
Code:
# Avoid relying on autolaunch to improvise D-Bus sessions for each process
if test -z "$DBUS_SESSION_BUS_ADDRESS" ; then
    eval `dbus-launch --sh-syntax --exit-with-session`
fi
This now allows me to start compiz with the dbus plugin, but the original problem persists.
 
  


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
Beryl: Have to reload window manager and decorator on login tjyorkshire Linux - Desktop 1 08-21-2007 06:41 PM
I cannot start kdm - kde Amador Linux - Software 4 11-07-2005 04:34 PM
KDM won't start my KDE... ssobeht Linux - Software 1 02-16-2005 04:17 PM
kdm won't start kde seb3579 Linux - Software 12 09-13-2004 12:33 AM
KDM won't start KDE marsonist Linux - General 1 12-10-2002 04:50 PM


All times are GMT -5. The time now is 07:40 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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration