You are not logged in.

ewok2

Beginner

  • "ewok2" started this thread

Posts: 2

Location: paris

  • Send private message

1

Tuesday, March 8th 2005, 7:21pm

unable to launch kdm

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

Posts: 62

Location: Long Beach, California

Occupation: Documentation

  • Send private message

2

Tuesday, March 14th 2006, 3:50am

RE: unable to launch kdm

Silly question, but is the keyboard and mouse both plugged in? That always does it to me.

Arabian

Beginner

Posts: 1

Location: State of Qatar, Arab world

  • Send private message

3

Wednesday, December 20th 2006, 9:39am

RE: unable to launch kdm

Quoted

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 :P

#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