[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

kdm setup on 3.6



For the archives - 

kde/kdm setup on OpenBSD is not quite automagic, and only some of the
information I found while googling on the obvious keywords was useful.

Here's a short list of steps which will get you an OpenBSD 3.6 machine
with kdm login on local console (based mainly on useful things from
Darren Evans' http://mypage.bluewin.ch/dazdaz/openbsd35.html#xfree86
writeup - Darren has a few other things in his setup which are nice, but
not what I wanted for this specific setup):

1) install the kde packages from the CD (you DID buy a set, now didn't
   you?) or from ports

2) generate a basic kdm setup to start from

     # /usr/local/bin/genkdmconf

3) in /etc/X11/xinit/xinitrc, change 

     "fvwm || xterm" 
   to 

     "/usr/local/bin/startkde"

4) in /etc/rc.conf.local, add 

     kdm_flags="" # your random comment here, nominally "" for normal use

   you only need the one, even though kdm eats a few xdm config files

5) in /etc/rc.local add

     if [ "X${kdm_flags}" != X"NO" ]; then
        echo 'starting kdm...'; /usr/local/bin/kdm ${kdm_flags}
     fi

6) in your freshly generated /usr/local/share/config/kdm/kdmrc, make the
   following additions/edits (some of these can be omitted, for sure)

     [Shutdown]
     # if you want to allow shutdown/reboot from the logout dialog, 
     # you need these two
     HaltCmd=/sbin/halt -p
     RebootCmd=/sbin/reboot
   
   (see Darren's web if you want to enable a choice of wms), and

     [X-*-Greeter]
     # If you want a default user for laziness, enter username here,
     # otherwise leave blank
     DefaultUser=
     # the next two set you up with Puffyized login dialog
     LogoArea=Logo
     LogoPixmap=/usr/X11R6/lib/X11/xdm/pixmaps/OpenBSD_15bpp.xpm

7) in /etc/X11/xdm/Xsession, add after the failsafe) block

     kde | default)
                  /usr/local/bin/startkde
                  do_exit
                  ;;

   again, Darren's page has a setup for allowing a choice of wms. 

Any comments, especially those pointing out silly mistakes, are welcome.

-- 
Peter N. M. Hansteen, member of the first RFC 1149 implementation team
http://www.blug.linux.no/rfc1149/ http://www.datadok.no/ http://www.nuug.no/
"First, we kill all the spammers" The Usenet Bard, "Twice-forwarded tales"



Visit your host, monkey.org