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


FreeBSD and subversion

No Comments »

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

Sources (RELEASE, STABLE and CURRENT):

svn co svn://svn.freebsd.org/base/release/9.2.0 /usr/src
svn co svn://svn.freebsd.org/base/stable/9 /usr/src
svn co svn://svn.freebsd.org/base/head /usr/src

Ports:

svn co svn://svn.freebsd.org/ports/head /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!