Thread: OpenBSD 3.9 KDM
View Single Post

   
  #6 (permalink)  
Old 02-16-2008, 07:29 AM
Wally Bedford
 
Posts: n/a
Default Re: OpenBSD 3.9 KDM

Konrad Dudek wrote:
> Peter N. M. Hansteen napisał(a):
>> Konrad Dudek <konrad__ciach__@warserwis.pl> writes:
>>
>>> I`ve compiled KDE 3.5.1 and I want to run KDM when system starts.

>>
>> Under most circumstances, you're better off installing binary packages
>> off you friendly local neighborhood mirror, but on a fast enough
>> machine even compiling KDE doesn't take long I guess.
>>
>>> I`ve read that I can add some lines to /etc/rc.conf, but other says
>>> that I can change lines in /etc/ttys.

>>
>> I suspect you may have been reading FreeBSD docs, not OpenBSD ones.
>> IIRC the only thing I needed to add the following to my /etc/rc.local
>>
>> kdm_flags=""
>>
>> if [ "X${kdm_flags}" != X"NO" ]; then
>> /usr/local/bin/kdm ${kdm_flags} ;
>> echo -n 'kdm '
>> fi
>>

> Yes, it`s working, but my keyboard doesn`t
> When X starts, i can`t write anything.
> Any ideas?
>



This is from a post regarding 3.5. I saved it in case I ever wanted to
try it. HTH...

It's a known problem. I have it too. Basically it came down to that
the kdm can't grab control of the console AT THE INSTANT it's launched.
It can't detect a keyboard input until the boot finishes (rc.local is
not finished when it launches kdm). The fix I found was to hit the
following:

sleep 10 && /usr/local/bin/kdm

By having it sleep until the boot finishes (at a login: prompt) the
keyboard works. The problem I had was that after I logged in, I was
brought to a very rude, crude and impossible window manager to work in.
couldn't figure out a way to exit out of it except to crash Xwindows.
once the KDM relaunched (by itself); the mouse stopped working (USB
wireless). I gave up on KDM. There's other docs out there that
describe this a bit better. Good luck.

Tim Judd
Reply With Quote