# cd /usr/ports/x11/slim # make install clean
Optionally check PAM. You need it if you are going to use Kerberos authentication. Default pam.d file for slim just includes system. So enable pam_krb5 in /etc/pam.d/system if you need Kerberos.
There are two ways you can start SLiM: using rc.conf file or from /etc/ttys. With the latest nVidia driver (319.32) tty method will not work anymore, so we will launch it using rc.conf:
Make sure you don't switch text modes using allscreens_flags of rc.conf (or you'll lose your text consoles).
# cd /usr/local/share/slim/themes # fetch http://daemon-notes.com/downloads/assets/themes/slim-freebsd.tar.bz2 # tar jxvf slim-freebsd.tar.bz2 # rm slim-freebsd.tar.bz2
More themes could be found at SLiM site.
Edit /usr/local/etc/slim.conf, set theme:
#current_theme default current_theme freebsd