[ Solved ] KDE problem - kwrite: cannot connect to X server :0
Quotehttp://www.linuxquestions.org/questions/linux-newbie-8/kwrite-cannot-connect-to-x-server-0-0-a-582344/
That's odd that kdesu didn't work. You might try :
xhost +
as the user- it should come back with something like
"access control disabled, clients can connect from any host"
The just su and run kwrite.
After you are finished, do:
xhost -
again, as your user (not su)