Bug 413742 - application crash on KDE startup (OpenBSD)
Summary: application crash on KDE startup (OpenBSD)
Status: RESOLVED UNMAINTAINED
Alias: None
Product: kde
Classification: I don't know
Component: general (show other bugs)
Version: unspecified
Platform: OpenBSD OpenBSD
: NOR crash
Target Milestone: ---
Assignee: Unassigned bugs mailing-list
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-11-02 12:49 UTC by Kuba
Modified: 2019-11-03 13:19 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Kuba 2019-11-02 12:49:50 UTC
SUMMARY
Hello! 
I lately try to install KDE4 on OpenBSD 6.5 . 
Unfortunately that was not quite a success. 

After starting KDE4, Activity Manager crashed and other apps have troubles starting too. 

What I did to make KDE4 work… (besides installing kde4 package, of course): 
* configured to start messagebus (rcctl enable messagebus) 
* added sysctl tweaks (post install messages from kde-runtime package) 
* added 'exec kdestart4' to ~user/.xsession 

Like I wrote… efect is that kde4 starts, but Activity Manager crashes at start. 

I seen a video on youtube (Setting Up OpenBSD 6.1 with KDE4) where a guy demonstrates how it should be configured, so I got virtual machine with OpenBSD 6.1 on my laptop and it worked! Tweaks pointed above appeared enough to start KDE4. 

So I got another virtual machine with OpenBSD 6.5 and received the same crashes like on my hardware PC. 
Lately OpenBSD 6.6 was released so I think I would try it and got also Activity Manager crash. 

Playing with OpenBSD versions I got to conclusion that KDE4 for versions up to 6.4 works fine. 

What should I do more? Are any additional tweaks necessary to make things work for version 6.5+ ? 

I tried few more things… 
Doubled limits from kde-runtime post-install messages - didn't help. 

Tried to start via kdm (I used xenodm before). 
#genkdmconf 
and then 
#rcctl stop xenodm 
#rcctl start kdm 
KDM seems to not start at all for OpenBSD 6.5+, it writes OK, but doesn't start X and 
#rcctl ls off |grep kdm 
gives reply (so it's off). 

I see that /etc/rc.d/kdm changed in latest versions compared to earlier (ie. 6.1), but I don't feel strong enough to analyze it. 
...but maybe it's irrelevant to main issue. 

File ~$user/.xsession-errors contains a lots of errors, most important (to me) seem (multiple)messages like: 
*Kded:loadModule: Could not load library "kded_keyboard" . [ "Cannot load library /usr/local/lib/kde4/kded_keyboard.so: (File not found)" ] 
(altrough file exists) 
and 
*kdeinit4_wrapper: Warning: connect(/home/$user/.kde4/socket-$hostname/kdeinit4__0) failed: : No such file or directory 

Could maybe someone more experienced help?

STEPS TO REPRODUCE
1. install OpenBSD ver. 6.5+ with kde4
2. tweak kernel limits as per kde-runtime post-install messages
3. start messagebus (rcctl start messagebus)
4. start KDE4 (ie. startkde4 as root)

OBSERVED RESULT
(on startup)
Activity Manager crash
KDE Migration Tool crash
.xsession-errors (lots of errors logged)

EXPECTED RESULT
clean start

SOFTWARE/OS VERSIONS
OS: OpenBSD 6.5, 6.6
KDE SC Version: 4.14.10
 
Qt Version: 4.8.7p19

ADDITIONAL INFORMATION
I found some other apps crashing (Kinfo) and got some troubles with setting locale
Comment 1 Christoph Feck 2019-11-03 13:19:29 UTC
KDE4 is unmaintained since several years. Please use a recent software distribution.