Encrypted $HOME using EncFS, libpam-encfs and KDM

MLA mla at forrussia.org
Sat Jun 24 01:05:05 BST 2006

    I would like to encrypt my home directory with EncFS, but have run into a 
bit of a problem. KDE works just fine with an encrypted $HOME when started 
via 'startx' and when the following is added to .bashrc:
export XAUTHORITY=/tmp/.Xauthority-$USER
export ICEAUTHORITY=/tmp/.ICEauthority-$USER

However, when KDE is started from KDM, rather than the command line, the 
following error pops up:

There was an error setting up inter-process communications for KDE. The 
returned by the system was:

Could not read network connection list.

Please check that the "dcopserver" program is running!

I've confirmed that EncFS is able to mount the encrypted directory prior to 
the error appearing. /var/log/syslog has the following error:

kdm_greet[25351]: Can't open default user face
kdm_greet[25351]: Internal error: memory corruption detected
kdm: :1[25357]: Can't update authorization file in home dir /home/test

    Can anyone shed any light on this?

More information about the kubuntu-users mailing list