Other Installing CDE on FreeBSD


New Member

Reaction score: 10
Messages: 6

Hi there. This is an ooooooolder post but let me share with you my how-to use CDE over FreeBSD:

Install some base packages:
pkg install -y xorg git iconv bdftopcf libXp libXScrnSaver ksh93 open-motif tcl86​

Edit the file /etc/rc.conf and add those lines:

Reboot the system:
  • reboot
Lets clone the CDE sources from the official repo:
Lets compile everything:
  • cd cdesktopenv-code/cde
  • make World
If you see any error message during compiling time, then you should install the libs or utility that message says and re-compile again.

When you finish the compiling process then you need to install the files as root:
  • cd admin/IntegTools/dbTools
  • ./installCDE -s /path/to/cdesktopenv-code/cde ***Here you need to replace with the compile path where source files where downloaded, generally some folder up: ../../../
Lets run CDE!!!:
Way 1: Using the CDE login manager (manually or adding it to /etc/defaults/rc.conf for autostart)
  • /usr/dt/bin/dtlogin -nodaemon
Way 2: Starting it as an standar user. Not as root.:
  • startx /usr/dt/bin/Xsession
I hope you enjoy it. Regards.