Bug 202769 - x11/kde4 does not have xorg as dependency
Summary: x11/kde4 does not have xorg as dependency
Status: Closed Not A Bug
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: freebsd-kde (group)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-08-30 12:57 UTC by Germano Massullo
Modified: 2015-09-03 21:29 UTC (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Germano Massullo 2015-08-30 12:57:09 UTC
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
Comment 1 Alonso Schaich freebsd_committer freebsd_triage 2015-09-02 07:46:13 UTC
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.