Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 582596

Summary: Plasma 5: KDE4 apps don't start due to missing socket
Product: Gentoo Linux Reporter: Matthias Nagel <matthias.nagel>
Component: Current packagesAssignee: Gentoo KDE team <kde>
Status: RESOLVED WORKSFORME    
Severity: normal    
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Matthias Nagel 2016-05-09 17:26:18 UTC
Old legacy KDE 4 applications, such as media-video/kplayer-0.7.2-r1:4 do not start, because the socket kdeinit4__0 is missing.

The error message is:

KCrash: Connect sock_file=/home/USER_NAME/.kde4/socket-HOSTNAME/kdeinit4__0
KCrash: connect() failed: : File or directory missing 

The folder /home/USER_NAME/.kde4/ exists but contains two broken symlinks because their destination is missing:

socket-HOSTNAME --> /run/user/1000/ksocket-USER_NAME
tmp-HOSTNAME --> /tmp/kde-USER_NAME

It seems that this problem only occurs on boxes that got a fresh KDE 5 installation (no upgrade). On boxes that had a previous KDE 4 installation and were upgraded the sockets exists indeed. However, all necessary KDE 4 dependencies are emerged on both kind of boxes.
Comment 1 Johannes Huber (RETIRED) gentoo-dev 2016-05-09 18:48:53 UTC
There is no KDE 5, i think you mean Plasma 5?
Comment 2 Michael Palimaka (kensington) gentoo-dev 2016-05-12 12:26:38 UTC
Is kde-apps/kdebase-runtime-meta or kde-base/kdebase-startkde installed?
Comment 3 Matthias Nagel 2016-05-12 17:19:13 UTC
kde-apps/kdebase-runtime-meta-15.12.3:5 is installed
Comment 4 Johannes Huber (RETIRED) gentoo-dev 2016-11-02 10:32:51 UTC
Please check read/write permissions for the needed destinations.