How to install xfce freebsd ?
1 min readSep 25, 2020
To install xfce on freebsd , this what must be done . First switch to root :
$ su —
# switch to root , and enter your password .
Next install Xorg :
$ pkg install xorg
# install xorg
Next install xfce :
$ pkg install xfce
# install xfce
Next , edit the /etc/rc.conf
file and enable hald , moused , and dbus :
$ edit /etc/rc.conf
# edit the the /etc/rc.conf file .
# add these lines .
hald_enable=” YES”
moused_enable=” YES”
dbus_enable=” YES”
# Press CTRL-[ for escape menu ,
# followed by : a
# to leave the editor ,
# followed by : a
# to save the changes .
Next reboot your system :
$ shutdown -r now
# to reboot the system
After reboot , login as regular user , and issue the following command :
$ echo “. /usr/local/etc/xdg/xfce4/xinitrc” > ~/.xinitrc
Now to start xfce , just type :
$ startx