Originally posted by ewok2
Hello I'm under freeBSD 5.3
I have install KDE3.3 and when I launch kdm,
I have the folowing message :
kdm[501]: X server "/usr/X11R6/bin/X" cannot be executed
kdm[499]: X server for display :0 can't be started, session disabled
Has someone an idee about this probleme ?
Many thanks for help
/usr/X11R6/bin/ is the wrong path.
I faced this problem when I wanted to setup kde in FreeBSD 6.1.
You should do these stuff as root
#
Xorg -configure
This will generate an X11 configuration skeleton file in the /root directory called xorg.conf.new
The next step is to test the existing configuration to verify that Xorg can work with the graphics hardware on the target system. To perform this task, type:
#
Xorg -config xorg.conf.new If a black and grey grid and an X mouse cursor appear, the configuration was successful. To exit the test, just press
Ctrl+Alt+Backspace simultaneously.
If all is well, the configuration file needs to be installed in a common location where
Xorg(1) can find it. This is typically /etc/X11/xorg.conf
#
cd /root
#
cp xorg.conf.new /etc/X11/xorg.conf
To enable kdm, the ttyv8 entry in /etc/ttys has to be adapted. The line should look as follows:
ttyv8 "/usr/local/bin/kdm -nodaemon" xterm on secure
#
ee /etc/ttys
You'll see /usr/X11R6/bin/ there, so make sure you remove X11R6 ..etc.
go to line
ttyv8 "/usr/local/bin/xdm -nodaemon" xterm off secure
change it to
"/usr/local/bin/kdm -nodaemon" xterm on secure
Don't get mixed between kdm and xdm
Next tell X11 to use kdm and KDE
#
echo "exec startkde" > ~/.xinitrc
#
startx
For more info about FreeBSD X11 and KDE check these pages in the handbook
http://www.freebsd.org/doc/en_US.ISO8859…k/x-config.html
http://www.freebsd.org/doc/en_US.ISO8859…ook/x11-wm.html