Hi!
Is there no hope?
KDE4 used to work on OpenBSD =<6.4
KDE3.5 tested on OpenBSD 6.5 – working great

Maybe it has something to do with (taken from OpenBSD 6.5 ANNOUNCEMENT file) 
following?


- Xenocara o Xorg(1), the X window server, is no longer installed setuid. 
xenodm(1) should be used to start X.

Kind regards,
Kuba
Od: Kuba Głoś
Wysłano: poniedziałek, 4 listopada 2019 10:14
Do: [email protected]
Temat: application crash on KDE4 startup


Synopsis:            Applications crash on KDE4 startup
Catergory:          KDE4 windows manager
Environment:
                System : OpenBSD 6.6
                Details  : OpenBSD 6.6 (GENERIC) #298: Sat Oct 12 11:06:10 MDT 
2019
                                                               
[email protected]:/usr/src/sys/arch/i386/compile/GENERIC

Architecture: OpenBSD.i386
Machine              : i386
Description:
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

How-To-Repeat:
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)

Fix:
Clean start of KDE4, KDE ups not hanging up (ie. KInfo after few clicks hangs 
up)

I ommit dmesg output as issue seems hardware-irrelevant (tested on VirtualBOX 
and HP Vectra 420).

Kind regards,
Kuba Głoś


Reply via email to