Subject: Re: (Newbie to Netbsd) help enabling KDM (KDE 3) on netbsd 2.0
To: Mehdi Elaoufir <melaoufir@gmail.com>
From: Steven M. Bellovin <smb@cs.columbia.edu>
List: port-i386
Date: 02/19/2005 21:26:20
In message <6a87a6d05021916167ea50d13@mail.gmail.com>, Mehdi Elaoufir writes:
>Hi all!
>
>thanks to netbsd team for this highly performant OS, i was really
>surprised by its boot speed and global performance.
>
>i use netbsd 2.0/GENERIC_LAPTOP on my laptop (toshiba satellite
>5200-904) in multi-boot mode with winxp (sorry, i don't have other
>choice since my bios settings work only from winxp! :-( )
>
>so what's my problem?
>
>i want to enable KDE at system startup and log using KDM instead of
>typing xinit command then startkde command. that's why i replaced
>tty08 entry in /etc/ttys by :
>
>    tty08 "/usr/local/bin/kdm -nodaemon" xterm on secure
>
>the system boots correctly, X starts up fine and automatically, KDM
>loads but the trouble is that when i log (as root), X restarts and i
>have another KDM login dialog infinitely...
>
>what can i do to make KDE work? i can't even type a shell command!
>
>can anybody help?
>
>Mehdi
>


There should be a file /usr/pkg/share/examples/rc.d/kdm -- copy that to 
/etc/rc.d and set kdm=YES in /etc/rc.conf

		--Prof. Steven M. Bellovin, http://www.cs.columbia.edu/~smb