Archive for March, 2013

FreeBSD and KDE4, adjusting KDM settings

No Comments »

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

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

FreeBSD and subversion

No Comments »

FreeBSD now uses subversion for acquiring sources, ports, etc. The below initial checkouts may help someone:


svn co svn:// /usr/src
svn co svn:// /usr/src
svn co svn:// /usr/src


svn co svn:// /usr/ports

Linux java on FreeBSD

No Comments »

So I installed Linux’s jdk1.6 on my FreeBSD box at work and had to add a few environmental variables in order to get everything working correctly. I added the following to my .bashrc:

export PATH=/usr/local/linux-sun-jdk1.6.0/bin:$PATH
export JAVADIR=/usr/local/linux-sun-jdk1.6.0/
export LD_LIBRARY_PATH=/usr/local/linux-sun-jdk1.6.0/jre/lib/i386/jli

I also needed to mount linprocfs; I just added the following to /etc/fstab, and ran mount linprocfs:

linprocfs /compat/linux/proc linprocfs rw 0 0

Hopefully these help someone out!