Created attachment 160524 [details] screenshot 1 I installed a FreeBSD VirtualBox virtual machine, then followed the guide [1] to install KDE: I runned # pkg install x11/kde4 then added proc /proc procfs rw 0 0 to /etc/fstab and added kdm4_enable="YES" to /etc/rc.conf But when I rebooted the system I got the message kdm: X server for display :0 cannot be started, session disabled I tried to manually start X by running startx but I obtained message "startx: command not found" then I tried to run #pkg install xorg and finally I managed to start KDM and X. After I logged into KDM, I got the error message Warning: Cannot open ConsoleKit session: Unable to open session: Failed to connect to /var/run/dbus/system_bus_socket Then I got the error message about dbus as in screenshot #2 [1] https://www.freebsd.org/doc/handbook/x11-wm.html
Created attachment 160525 [details] screenshot 2
I have forgotten to write that after the second error message, the system brings you back to KDM login
Have you devel/dbus installed and running?
(In reply to Alexandr Krivulya from comment #3) Yes it is installed
(In reply to Germano Massullo from comment #4) Okay I just checked if it was running, and it was not. So I added dbus_enable="YES" in file /etc/rc.conf I think I will open a bugreport against documentation in order to add that together with enabling kdm, you have to enable dbus too
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=202790