Assuming X and associated software is installed on both machines, you can run the X application over the SSH link. You will need to make sure that the "ForwardX11" variable is enabled in the SSH server configuration as well.
Connect to the server with the command:
ssh -Y username@server
Then when you run an X application from the SSH session, the program's interface should display on the client machine. Though you might want to use something a little more simplistic than KWrite over SSH, something like gVim if possible.