LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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 01-12-2009, 01:39 PM   #1
Dan Suson
Member
 
Registered: Aug 2007
Location: Valparaiso, IN
Distribution: Slackware
Posts: 100

Rep: Reputation: 7
Unhappy KDE startup problem with Slackware 12.1


Dear All,
Over the weekend I finally had the time to upgrade my computer from Slackware 12.0 to 12.1 (I know, just in time for 12.2 to be shipped). I hate doing upgrades as they never go smoothly, and this time was no exception. The problem this time is that I can't get kde to start up. When I fire it up I get two error messages. The first is

Could not start kdeinit. Check your installation.

The splash screen tries to set up the interprocess communication for a while and then gives up saying

There was an error setting up inter-process communications for KDE. The message returned by the system was:

Could not read network connection list
/home/{username}/.DCOPserver_{hostname}__0

Please check that the 'dcopserver' program is running!

I've gone through a lot of forums and sites trying to run this down, all with no luck. Here's what I've tried so far:

1) reinstalled all of the packages in both the x and kde directories, in case there was a bad installation. This was done using the upgradepkg --install-new --reinstall /mnt/cdrom/slackware/{x or kde}/*.tgz command.

2)confirmed that the permissions on the /home directory are 755 and owned by root.root. Also confirmed that the user directory is owned by {username}.users.

3) checked to see if X, *dm, or dcopserver were running while the KDE startup was going. X is running, but no desktop manager or dcopserver is running.

4) confirmed that X is running okay by getting gnome to start up okay

5)created a new user and tried to start kde from there. The personalizer runs, but then gives me the same error.

6) removed .ICEauthority, .Xauthority, .kde/ .kderc .qt/ in the new user directory and tried again with the same results. Removed .ICEauthority and .Xauthority in my old directory with the same results.

7) checked /var/log/Xorg.0.log for error messages. None found.

8) checked /etc/X11/xinit/ to make sure that the default xinitrc files were okay.

9) compared settings with my laptop, which is running Slack 12.1 and KDE without a problem.

10) checked syslog and messages for errors. None recognized.

At this point I'm pretty much at wits end as to what is wrong and what to try.

When I did the upgrade, I followed the instructions in the UPGRADE.TXT file. I keep my home directory on a different partition. After going into single user mode I unmounted the home directory partition, did the upgrade using the upgradepkg --install-new commands, and then remounted the home directory partition when I tested the new kernel boot. I've already learned from past experience to change my inittab so that the default runlevel is 3 until I know the desktop manager is running okay, so I'm testing everything from the command line with startx.

Again, any suggestions would be greatly appreciated.

Thanks,
Dan
 
Old 01-12-2009, 03:32 PM   #2
gegechris99
Senior Member
 
Registered: Oct 2005
Location: France
Distribution: Slackware 15.0 64bit
Posts: 1,156
Blog Entries: 5

Rep: Reputation: 391Reputation: 391Reputation: 391Reputation: 391
Hello,

Maybe you could try to select again "xinitrc.kde" in command:

Code:
xwmconfig
Also did you install any language package (kdei series) that you may have forgotten to upgrade?
 
Old 01-12-2009, 04:07 PM   #3
Dan Suson
Member
 
Registered: Aug 2007
Location: Valparaiso, IN
Distribution: Slackware
Posts: 100

Original Poster
Rep: Reputation: 7
Thumbs down

Thanks for the suggestions. Unfortunately, changing the link to xinitrc.kde didn't make a difference. I also double checked that I don't have any of the internationalization packages installed.

A couple of other items. I tried deleting the contents of the /tmp directory, as well as resetting the links for socket-{hostid} and tmp-{hostid}.

One more piece of information. When the X-server exits I get the following messages:

startkde: Starting up...
dlsym strcpy errornull)
startkde: Could not start kdeinit. Check your installation.
Warning: connect() failed: : No such file or directory
dlsym strcpy errornull)
Could not register with DCOPServer. Aborting.
ERROR: Couldn't attach to DCOP server!
startkde: Shutting down...
Warning: connect() failed: : No such file or directory
Error: Can't contact kdeinit!


Thanks,
Dan
 
Old 01-12-2009, 06:06 PM   #4
Woodsman
Senior Member
 
Registered: Oct 2005
Distribution: Slackware 14.1
Posts: 3,482

Rep: Reputation: 546Reputation: 546Reputation: 546Reputation: 546Reputation: 546Reputation: 546
Quote:
confirmed that the permissions on the /home directory are 755 and owned by root.root. Also confirmed that the user directory is owned by {username}.users.
Just a quick guess here. This all sounds like a permissions issue. Assigning permissions to username:users is a bit different. Usually the ownership is username:username and then any specific subdirectories that are shared are assigned differently. Try the following typical permissions:

chmod 750 /home/username
chown -R username:username /home/username

Also verify that your user account is a member of the users group.
 
Old 01-12-2009, 08:23 PM   #5
Dan Suson
Member
 
Registered: Aug 2007
Location: Valparaiso, IN
Distribution: Slackware
Posts: 100

Original Poster
Rep: Reputation: 7
Unhappy

Quote:
Originally Posted by Woodsman View Post
Just a quick guess here. This all sounds like a permissions issue. Assigning permissions to username:users is a bit different. Usually the ownership is username:username and then any specific subdirectories that are shared are assigned differently. Try the following typical permissions:

chmod 750 /home/username
chown -R username:username /home/username

Also verify that your user account is a member of the users group.
I checked on both the machine being upgraded and my laptop. In both cases, except for root, the group is users, not the username. However, I tried your suggestion anyway. What I got was

chown -R daniel:daniel /home/daniel
chown: `daniel:daniel': invalid group

Any other ideas of things to try?

Thanks,
Dan
 
Old 01-13-2009, 04:46 AM   #6
gegechris99
Senior Member
 
Registered: Oct 2005
Location: France
Distribution: Slackware 15.0 64bit
Posts: 1,156
Blog Entries: 5

Rep: Reputation: 391Reputation: 391Reputation: 391Reputation: 391
Hello,

I have not seen in your list of actions that you tried to delete the .DCOP* files in your home directory before starting KDE. But I guess this was tested in step 5) with a new user.

Also you may have some .ICE* or .DCOP* files in /tmp. You can try to remove them as I think (I'm at work so I can not check on my box) that they are symlink to those files in ~/.kde directory.
 
Old 01-13-2009, 09:56 AM   #7
Dan Suson
Member
 
Registered: Aug 2007
Location: Valparaiso, IN
Distribution: Slackware
Posts: 100

Original Poster
Rep: Reputation: 7
You're right. Shortly after I posted my original message I realized that I forgot to mention that I had already deleted the symbolic links in my .kde folder. Since it was getting large anyway, I also deleted the entire contents of my /tmp folder. Neither of these efforts had any effect.
 
Old 01-13-2009, 10:09 AM   #8
Dan Suson
Member
 
Registered: Aug 2007
Location: Valparaiso, IN
Distribution: Slackware
Posts: 100

Original Poster
Rep: Reputation: 7
Some more information on the problem. This morning I fired up gnome so that I could get some work done. During a lull I decided to try and start up kmail, just to see what happens. Here is the result:

suson@newton:~> kmail
dlsym strcpy errornull)
ERROR: KUniqueApplication: Can't setup DCOP communication.

I also saw the dlsym error when I tried to start up kde via startx. Any thoughts on where that is coming from and how to eliminate it?

Thanks,
Dan
 
Old 01-13-2009, 01:28 PM   #9
jackson312
LQ Newbie
 
Registered: Aug 2007
Distribution: Slackware
Posts: 6

Rep: Reputation: 0
I am getting the same problem (with kdm) after I upgraded to the latest NVidia drivers 180.22. This happened on 3 different machines. Before installing the driver everything was fine, afterward I get the dlsym strcpy errornull) and kdm stops.

X seems to be starting fine. I don't use KDE so from runlevel 3 I can startx fine into WindowMaker.
 
Old 01-13-2009, 02:21 PM   #10
KillerOfGiants
LQ Newbie
 
Registered: Feb 2004
Location: BG
Distribution: Slackware-current
Posts: 29

Rep: Reputation: 15
Quote:
Originally Posted by jackson312 View Post
I am getting the same problem (with kdm) after I upgraded to the latest NVidia drivers 180.22. This happened on 3 different machines. Before installing the driver everything was fine, afterward I get the dlsym strcpy errornull) and kdm stops.

X seems to be starting fine. I don't use KDE so from runlevel 3 I can startx fine into WindowMaker.
Same here. Only with the 180.** drivers.
With kde4 it crashed plasma but i could start it manualy say in /root/.kde/Autostart/...

Last edited by KillerOfGiants; 01-14-2009 at 09:16 AM.
 
Old 01-13-2009, 03:06 PM   #11
larryhaja
Member
 
Registered: Jul 2008
Distribution: Slackware 13.1
Posts: 305

Rep: Reputation: 80
Dan Suson: Can you log into the KDE desktop using your root account? or do you get the same DCOP error message?

Last edited by larryhaja; 01-13-2009 at 03:09 PM.
 
Old 01-14-2009, 12:54 PM   #12
Dan Suson
Member
 
Registered: Aug 2007
Location: Valparaiso, IN
Distribution: Slackware
Posts: 100

Original Poster
Rep: Reputation: 7
I also upgraded to the NVIDIA drivers (version 180.06), but this problem is independent of which driver I use. At least I think this is the case. I've used an xorg.conf file that did not include the nvidia driver in it with the same result. (I just confirmed this by moving the nvidia driver out of /lib/modules/.../drivers/video and replacing the xorg.conf file with xorg.conf-base).

I've also tried to start up a kde session as root, with the same results.

I don't know if this will help, but I'm going to try and rebuild the kde-base package. I'll report on whether this worked or not afterwards.

Dan
 
Old 01-14-2009, 01:32 PM   #13
gegechris99
Senior Member
 
Registered: Oct 2005
Location: France
Distribution: Slackware 15.0 64bit
Posts: 1,156
Blog Entries: 5

Rep: Reputation: 391Reputation: 391Reputation: 391Reputation: 391
Hello Dan,

Instead of rebuilding the kdebase package, I would suggest that you do a refresh reinstall of 12.2 (just backup your data before).

You said that you also installed GNOME which is no longer part of Slackware (since 10.1 if I'm correct). So it could be that the way you installed GNOME may have modified some files. Those changes may not have had an impact on 12.1 but could have on 12.2.

Then if everything works, you can proceed with installing extra packages (nvidia driver, GNOME...).
 
Old 01-14-2009, 02:17 PM   #14
jackson312
LQ Newbie
 
Registered: Aug 2007
Distribution: Slackware
Posts: 6

Rep: Reputation: 0
I did not mention this before, but I am running slackware 12.2. I tried the usual stuff (deleting .DCOP*, .kde etc in the home directory, as well as everything in tmp).

I also tried reinstalling kdebase just to see if the NVidia install had changed something. Nothing worked.

I downgraded to 177.82 and everything works fine. I am becoming convinced that it is a problem with their latest driver. There are a lot of related complaints on their forum.
 
Old 01-14-2009, 02:41 PM   #15
Dan Suson
Member
 
Registered: Aug 2007
Location: Valparaiso, IN
Distribution: Slackware
Posts: 100

Original Poster
Rep: Reputation: 7
More information:

I removed the various KDE packages and tried to build the source code directly. Starting with the kdelibs package (the first one needed by kde), I get as far as ksycoca.kidl and get the dlsym strcpy error: (null) error. So, I can't build kde to get around this problem. I'll keep trying through this week, but if I can't get it to work I'll have to go back to slackware 12.0 since at least that works. As always, any suggestions are welcome.

Thanks,
Dan
 
  


Reply

Tags
kde, kdeinit, slackware


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
KDE startup NUMLock problem SPo2 Mandriva 1 02-18-2006 05:56 PM
Problem with KDE startup and login pablaasmo Mandriva 1 01-12-2006 03:34 AM
KDE startup pop up problem Lasker Linux - Newbie 2 05-05-2005 08:21 AM
KDE 3.1, Slackware 9.1 KSCD startup PhuckFonix Linux - Newbie 1 04-03-2004 10:58 PM
kde 3 startup problem sos Linux - Software 1 09-25-2002 11:06 AM

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

All times are GMT -5. The time now is 08:16 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