all you need after installing everything:Oh, I am sorry, I confused this thread with some other, or maybe it flipped in my mind only, not sure anymore {or maybe it got merged/deleted}. To be honest, I installed KDE right now, you inspired me to do so, it was only a few steps really. I am enjoying it so far, KDE looks very nice (as it always did, the best looking DE there is).
I am not sure anymore what you did with your system, at first you followed some guide, which basically led you step-by-step through standard installation and then through the sysutils/desktop-installer script. I did exactly the same thing two weeks ago on another computer and it just worked out of the box (I had to twiddle with nvidia drivers, but that's another story and with intel graphics, you should not have such a problem). Then this thread became a bit more chaotic to follow.
Basically, you need to solve two things:
When you open an X-session with startx as root, you must close it/kill it before you can open another one! This seems to be confusing you. You need to log out of KDE as root and kill the X-session and return to tty, if you used startx. Otherwise nor sddm nor startx will work. There can only be one active X-session opened at a time. This is not FreeBSD-specific.
- graphics drivers (which should be loaded, as you logged in as root and it worked with startx, and also I saw kldstat with i915kms loaded somewhere above)
- login manager (sddm), which is not a hard requirement, but certainly is convenient.
1.
proc /proc procfs rw 0 0
--> /etc/fstab2.
dbus_enable="YES"
--> /etc/rc.conf3.
sddm_enable="YES"
--> /etc/rc.conf4.
kld_list="/boot/modules/i915kms.ko"
--> /etc/rc.conf5. Reboot
This is explained in the Handbook, step by step. Section 5.7.2, KDE. Handbook does not mention Step 4 from my list, because it assumes it has been done earlier.