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. Should not xorg be installed together with KDE while running # pkg install x11/kde4 ? [1] https://www.freebsd.org/doc/handbook/x11-wm.html
Hi Indeed, an installation that is used to graphically output KDE applications needs an x11-server, however, this installation can be a different one from the one which has KDE installed. If this is the case, the installation with KDE does not require an x11-server. Therefore you won't require x11 on the KDE providing system, if you're going to run KDE applications via "ssh -Y" from an different installation that has x11. I think rather than adding a dependency on xorg, the message being displayed after the installation of x11/kde4-workspace should hint you about the requirement of x11 on the system that is used for graphical output (which is likely the same one for most people). The same can probably also be said about xfce, gnome, and the other WMs.