SLiM: lightweight display manager


by ross at 03:07:18 on September 21, 2014


# 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.

Enable SLiM

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
# 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


Nice theme. Thanks!
-- nick
Wednesday, September 16, 2015, 22:58:02
1. I did: pkg install slim
2. I followed the remaining instructions as above.
3. I got the "login screen" after reboot.
4. After I entered my user name and password, a blank dark scree appeared.
5. I rebooted, but I got the same blank screen.

What went wrong? Please help.
-- Jay
Friday, February 19, 2016, 14:52:42
Have you created .xinitrc in your home?
-- ross
Saturday, February 20, 2016, 13:16:20
Great theme! Thanks for putting this up.
-- Eric
Thursday, June 9, 2016, 17:37:28 doesn't have any A record.

Best wishes,
-- k0nsl
Thursday, September 29, 2016, 2:06:56