Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 13 Feb 2004 12:12:18 +0100
From:      indigo_agh@op.pl
To:        freebsd-questions@FreeBSD.ORG
Subject:   freebsd5.2 and kdm - what is wrong?
Message-ID:  <20040213111230Z137700-18214%2B202220@kps1.test.onet.pl>

next in thread | raw e-mail | index | archive | help
Hi! First of all - Thank You for FreeBsd! Unitl now I've used Linux, but when time comes to set my own www server (apache) I tried bsd and now I'm totally convinced.  However, some things are diifferent and I have few problems that I can't solve linux-way. As in the topic: I want to have graphical login with kdm. I've set everything: when I login on console ,type 'startx' under tcsh, X's comes up with KDE and everything is fine. Then i've changed /etc/ttys and add line:
ttyv8 /usr/local/bin/kdm - nodaemon xterm on secure
i've added 'exec startkde' to .xsession, configured KControl and so on..
After reboot kdm graphical login appears - things are going well - i'm typing my login name, password then clicking OK - login is accepted, something is loading... KDE? No! A login again! So again: my login, my pass - few seconds - login again :( Kde just doesn't want to load, instead kdm login appears everytime... I my home dir i've found .xsession-errors, here it is:
Xlib: connection to ":0.0" refused by server
Xlib: No protocol specified

xset:  unable to open display ":0"
Xlib: connection to ":0.0" refused by server
Xlib: No protocol specified

xset:  unable to open display ":0"
Xlib: connection to ":0.0" refused by server
Xlib: No protocol specified

xset:  unable to open display ":0"
Xlib: connection to ":0.0" refused by server
Xlib: No protocol specified

xsetroot:  unable to open display ':0'
startkde: Starting up...
Xlib: connection to ":0.0" refused by server
Xlib: No protocol specified

ksplash: cannot connect to X server :0
_KDE_IceTransmkdir: Owner of /tmp/.ICE-unix should be set to root
QPixmap: Cannot create a QPixmap when no GUI is being used
QPixmap: Cannot create a QPixmap when no GUI is being used
Xlib: connection to ":0.0" refused by server
Xlib: No protocol specified

kded: cannot connect to X server :0
ERROR: KUniqueApplication: Registering failed!
ERROR: Communication problem with kded, it probably crashed.
Xlib: connection to ":0.0" refused by server
Xlib: No protocol specified

kdeinit: Can't connect to the X Server.
kdeinit: Might not terminate at end of session.
Xlib: connection to ":0.0" refused by server
Xlib: No protocol specified

kcminit: cannot connect to X server :0
Xlib: connection to ":0.0" refused by server
Xlib: No protocol specified

knotify: cannot connect to X server :0
ERROR: KUniqueApplication: Registering failed!
ERROR: Communication problem with knotify, it probably crashed.
Xlib: connection to ":0.0" refused by server
Xlib: No protocol specified

Xlib: connection to ":0.0" refused by server
Xlib: No protocol specified

ksmserver: cannot connect to X server :0
startkde: Shutting down...
KLauncher: Exiting on signal 1
startkde: Running shutdown scripts...
startkde: Done.

I was searching in handbook, in documentation, in kde docs... nothing.
What is wrong? I write again: when i run X manually everything is ok, with kdm - no. Thanks in advance for Your help! 
Sorry for my english :| Greetings!
indigo
indigo_agh@op.pl



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20040213111230Z137700-18214%2B202220>