X-server disconnects after a while
This is probably a very basic question related to running and X11 application on a remote machine.
I connect from a linux machine to another by ssh -X remote.machine
After that all X11 applications work fine. But after a while (~ 20 minutes), I can no longer run the applications. I get a message like containing "cannot connect to X server localhost:10.0".
My host machine has in /etc/ssh/ssh_config "ForwardX11 yes".
Is there anyway to connect to a remote machine with a permanent X11 session?
Thank you for your time.