misc/80797: Cannot log into KDE with kdm

Nick Barkas Linux4sure at gmail.com
Sun May 8 13:20:06 PDT 2005

>Number:         80797
>Category:       misc
>Synopsis:       Cannot log into KDE with kdm
>Confidential:   no
>Severity:       serious
>Priority:       high
>Responsible:    freebsd-bugs
>State:          open
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sun May 08 20:20:05 GMT 2005
>Originator:     Nick Barkas
>Release:        5.3-RELEASE i386
  Hello my name is Nick and I live in Athens Greece.
  I cannot login into KDE with kdm (X.org restarts if logging in as root and does nothing if logging in as normal user[which belongs in wheel group]).
  I have read the (latest) handbook dozens of times (as I had the same problem in FreeBSD 5.2-RELEASE i386) and did not come up with a solution.
  PLEASE FIND A SOLUTION SOON as the problem is not new (I had this since 5.2 and just waited for 5.3 with newer packages).While FreeBSD is the first UNIX I was bothered with (a year ago) I use GNU/Linux NOW as KDE/kdm works fine there.Although I discoverd GNU/Linux later,all the difficulties I encountered where solved QUICKLY and now its high time I submitted this stupid? bug as I really love KDE.
  I REALLY HOPE FreeBSD FINALLY WORKS 100% WITH KDM.If you need more info CONTACT ME ANY TIME in ¨Linux4sure at gmail.com¨ (I have also installed FreeBSD 5.3-RELEASE in VMware 4.5.2 so I can provide more info instantly).IF THIS BUG IS NOT FIXED I AM NOT GOING TO USE FreeBSD AGAIN THOUGH I REALLY LIKE IT BUT IF THERE IS A WORKAROUND PLEASE CONTACT ME.
   What I did was this:
Install FreeBSD 5.3-RELEASE i386 from CD-ROM (Downloaded from a FreeBSD mirror and thoroughly checked with md5sum) with about anything but freebsd 1,2,3compat ,acroread and gnome desktop.
Configure and test X.org flawlessely in 800x600 at 24bit
echo ¨exec startkde¨ > /root/.xinitrc
echo ¨exec startkde¨ > /root/.xinitrc

edit /etc/ttys as following:
ttyv8 ¨/usr/local/bin/kdm -nodaemon¨ xterm off secure

added the following in /usr/X11R6/lib/X11/xdm/Xsession :
(in the place the handbook states I HAVE NO ERRORS HERE FOR SURE)

case $# in
        case $1 in
                exec /usr/local/bin/startkde
                exec xterm -geometry 80x24-0-0

I then type : ¨kdm -nodaemon¨ and have the above symptoms (cannot get into KDE)

 Finally I have seen that kdm.log reports : ¨X: client 2 rejected from local host¨ 

More information about the freebsd-bugs mailing list