FreeBSD and KDE4, adjusting KDM settings

On FreeBSD using KDE4, if you run into issues when trying to change Login Screen Settings under System Settings, such as receiving the error “Unable to authenticate/execute the action: (code 4)”, make sure you edit /usr/local/etc/dbus-1/system.conf and add the following (the commented section will already be there):

<!-- Config files are placed here that among other things, punch 
       holes in the above policy for specific services. -->
<includedir>/usr/local/kde4/etc/dbus-1/system.d</includedir>
<servicedir>/usr/local/kde4/share/dbus-1/system-services</servicedir>

Restarting dbus and logging out then logging in should suffice, otherwise just reboot. 🙂