# pkg_info -aqo | sort | grep -i kde
From
pkg_info(1)
Code:
-a, --all
Show all currently installed packages.
-q, --quiet
Be ``quiet'' in emitting report headers and such, just dump the
raw info (basically, assume a non-human reading).
-o Show the ``origin'' path recorded on package generation. This
path is the directory name in the FreeBSD Ports Collection of the
underlying port from which the package was generated.
Try adding
exec startkde in your ~/.xinitrc and use
xinit to start KDE, this might give some useful info.