ports/110001: kdm won't login on 6.2-STABLE/Kde 3.5.5

Chris billington.chris at gmail.com
Tue Mar 6 17:00:17 UTC 2007

>Number:         110001
>Category:       ports
>Synopsis:       kdm won't login on 6.2-STABLE/Kde 3.5.5
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Tue Mar 06 17:00:17 GMT 2007
>Originator:     Chris
>Release:        6.2-stable
FreeBSD presto.emulti.net 6.2-STABLE FreeBSD 6.2-STABLE #7: Tue Feb 13 01:37:46 CET 2007     cbillington@@emulti.net:/usr/obj/usr/src/sys/PRESTO  i386

After installing KDE 3.5.5 port from source KDM starts, but does not start the window manager (KDE or other)
Install KDE port
Either edit kdmrc to preference or use KDE Control Center GUI to generate new config files in /usr/local/share/config/kdm directory
Try to log in as user or root in KDM. Login fails and KDM reappears
~/.xsession-errors shows 
usage: mktemp [-d] [-q] [-t prefix] [-u] template ...
       mktemp [-d] [-q] [-u] -t prefix
Cannot find filename # (or similar message)

usage of mktemp command in /usr/local/share/config/kdm/Xsession line 34 is incorrect for Freebsd

Change xsess_tmp=`mktemp` into xsess_tmp=`mktemp /tmp/foo.XXXXX`

KDM now launches window manager successfully

More information about the freebsd-ports-bugs mailing list