Lauri Suoranta wrote:

> Hello,
> 
> I have just installed FreeBSD 5.3 with X.org and KDE-lite (using pkg_add
> -r). I prefer kdm as my login manager, but I'm unable to configure it
> properly. Apparently it doesn't run startkde script when user logs in.
> When I log in I get empty desktop. If I use console to login and run
> startx, everything works fine (as long as I got .xinitrc in place).
> 
> A12.1 in freebsd.kde.org FAQ suggests me to use default configuration
> files from /usr/local/share/config/kdm/default/, a path which doesn't even
> exist. However, the config files one level up are in place and seem to be
> OK. I have googled a lot, but the info I've found is outdated.
> 
> Furthermore, I created ~/.xsession file and put exec
> /usr/local/bin/startkde there. When I try to log in with Session Type
> "Custom" the Xserver restarts and I'm back in login screen. The file
> .xsession-errors contains numerous messages Xlib: connection to ":0.0"
> refused by server Xlib: No protocol specified
> 
> There's also messages stating
> [xset/xsetroot]: unable to open display ':0'
> [kwin/kpersonalizer]: cannot connect to X server :0
> kpersonalizer produces the error about 30 times followed by the Xlib
> error.
> 
> This happens regardless whether I run kdm from console mode or put it in
> ttys file. Could someone assist me with this?
> 
> Thanks,
> Lauri Suoranta

You need to set your machine hostname. See hostname(1) manpage and look for 
hostname in rc.conf(5). You might also make sure that file /etc/hosts looks 
well - see example in /usr/share/examples/etc/hosts.

Dejan
_______________________________________________
kde-freebsd mailing list
[email protected]
http://freebsd.kde.org/mailman/listinfo/kde-freebsd

Reply via email to