Login in as root and ee /etc/ttys
Then edit that line so that it says "off".
Start over.
Do this: (as root.)
# XFree86 -configure
# XFree86 -xf86config XF86Config.new
If you are running 5.1, then copy XF86Config.new to
cp XF86Config.new /usr/X11R6/lib/X11/XF86Config
Now you should be able to start x.
# startx
alt-cntrl-del to get out of x.
If you have KDE installed then your kdm wrapper should be here:
/usr/local/bin/kdm
So your /etc/ttys file should have this path instead of the xdm path. Also change off to on.
Now ee ~/.xinitrc
add this line:
exec startkde
or better make this file:
~./xsession
and add the same line.
Now you need to edit a few more files, which is easiest to explain on this page:
http://www.freebsd.org/doc/en_US.ISO...ok/x11-wm.html
Scroll down to where you have to edit the Xsession file in the xdm directory.
If by chance you dont have KDE installed, then you can go to the ports:
/usr/ports/x11/KDE3
make install clean
to install KDE before doing the above. You can go here:
/var/db/pkg to see a list of what ports are installed on your machine. You should see kde-3.1.2 if you are current. I am using 5.1 so if you are using 4.8 there is a chance that the paths are different for some of the above files and binaries. Hope this helps.
You should:
# chmod +x ~/.xsession
so that your .xsession is executable.