Disable ssh-agent in Xfce

While switching from ssh-agent itself to GnuPG's ssh-agent capabilities, I had to prevent ssh-agent from starting when logging into Xfce. It seems the only way to do this is with the following command:

$ xfconf-query -c xfce4-session -p /startup/ssh-agent/enabled -n -t bool -s false

Bluetooth Headset on Debian

I had some trouble connection my new Teufel Rockster XS (actually not a headset but a portable speaker) with my Debian notebook. Pairing worked without any problem but connection to the audio sink of the speaker -- to actually stream audio to the device -- returned the error:

Connection Failed: blueman.bluez.errors.DBusFailedError: Protocol Not available

VNC and two Xfce sessions

I ran into the following errors when trying to start another Xfce session for VNC while an existing one was already running.

/usr/bin/startxfce4: X server already running on display :1
Unable to create /home/niklaas/.dbus/session-bus
Xlib:  extension "RANDR" missing on display ":1".

Testing Ansible with Vagrant

When writing Ansible playbooks, it makes sense to test them on vanilla systems. This way you can ensure that what you wrote actually works and you do not forget any prerequisites your playbook requires. A testing environment can be set up with Vagrant easily, as described in the following post.

Unattended Upgrades

In some cases it makes sense to install upgrades of packages automatically. This can reduce time for maintenance a lot. To do so, install the little helpers unattended-upgrades and apt-listchanges with the following command: