<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugs.kde.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.6"
          urlbase="https://bugs.kde.org/"
          
          maintainer="sysadmin@kde.org"
>

    <bug>
          <bug_id>413742</bug_id>
          
          <creation_ts>2019-11-02 12:49:50 +0000</creation_ts>
          <short_desc>application crash on KDE startup (OpenBSD)</short_desc>
          <delta_ts>2019-11-03 13:19:29 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>8</classification_id>
          <classification>I don&apos;t know</classification>
          <product>kde</product>
          <component>general</component>
          <version>unspecified</version>
          <rep_platform>OpenBSD</rep_platform>
          <op_sys>OpenBSD</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>UNMAINTAINED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>NOR</priority>
          <bug_severity>crash</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>0</everconfirmed>
          <reporter name="Kuba">kglos</reporter>
          <assigned_to name="Unassigned bugs">unassigned-bugs-null</assigned_to>
          
          
          <cf_commitlink></cf_commitlink>
          <cf_versionfixedin></cf_versionfixedin>
          <cf_sentryurl></cf_sentryurl>
          <votes>0</votes>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>1889312</commentid>
    <comment_count>0</comment_count>
    <who name="Kuba">kglos</who>
    <bug_when>2019-11-02 12:49:50 +0000</bug_when>
    <thetext>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 &apos;exec kdestart4&apos; 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&apos;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&apos;t start X and 
#rcctl ls off |grep kdm 
gives reply (so it&apos;s off). 

I see that /etc/rc.d/kdm changed in latest versions compared to earlier (ie. 6.1), but I don&apos;t feel strong enough to analyze it. 
...but maybe it&apos;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 &quot;kded_keyboard&quot; . [ &quot;Cannot load library /usr/local/lib/kde4/kded_keyboard.so: (File not found)&quot; ] 
(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</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1889490</commentid>
    <comment_count>1</comment_count>
    <who name="Christoph Feck">cfeck</who>
    <bug_when>2019-11-03 13:19:29 +0000</bug_when>
    <thetext>KDE4 is unmaintained since several years. Please use a recent software distribution.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>