I am running on Ubuntu 12.04 I recently noticed that Kate 4.8.4 which have been installed in my 64-bit PC is crashing whenever I try to open a file in it. It shows no problem when I open files via terminal.
It displays the following in the terminal while crashing.
trying to create local folder /home/myusername/.kde/tmp-MYPCNAME: Permission denied
trying to create local folder /home/myusername/.kde/socket-MYPCNAME: Permission denied
trying to create local folder /home/myusername/.kde/tmp-MYPCNAME: Permission denied
QFile::remove: Empty or null file name
kdeinit4: Aborting. bind() failed: Permission denied
Could not bind to socket '/home/myusername/.kde/socket-MYPCNAME/kdeinit4__0'
trying to create local folder /home/myusername/.kde/cache-MYPCNAME: Permission denied
trying to create local folder /home/myusername/.kde/share: Permission denied
kate(3237) fileModule: Failed to load configured file module "kfilemodule"
KCrash: Application 'kate' crashing...
KCrash: Attempting to start /usr/lib/kde4/libexec/drkonqi from kdeinit
sock_file=/home/myusername/.kde/socket-MYPCNAME/kdeinit4__0
Warning: connect() failed: : Permission denied
KCrash: Attempting to start /usr/lib/kde4/libexec/drkonqi directly
trying to create local folder /home/myusername/.kde/cache-MYPCNAME: Permission denied
QFile::remove: Empty or null file name
drkonqi(3251)/KSharedDataCache KSharedDataCache::Private::mapSharedMemory: Failed to establish shared memory mapping, will fallback to private memory -- memory usage will increase
From the above I understand that this is a problem of user privileges. I checked running Kate from the terminal as root it works fine.
As I am new to linux can someone point me in a direction that could solve the problem.