On Fri, 2012-02-03 at 23:04 +0100, João Pais wrote:
"error: JACK error: cannot lock down memory for RT thread (Cannot allocate
memory)"
This means you don't have realtime privilege and cannot start jack in realtime mode. If you chose "yes" to have realtime capability while installing jack, you will have installed a file /etc/security/limits.d/audio.conf, but to make use of that file you need to be a part of audio group.
Group changes take effect after logging out/in.