LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Server (https://www.linuxquestions.org/questions/linux-server-73/)
-   -   X-server disconnects after a while (https://www.linuxquestions.org/questions/linux-server-73/x-server-disconnects-after-a-while-791035/)

josegascon 02-23-2010 11:01 AM

X-server disconnects after a while
 
Hi

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.

Jose.

chrism01 02-24-2010 06:59 PM

Check ClientAliveInterval http://www.openbsd.org/cgi-bin/man.c...nfig&sektion=5 . Think you want a zero value there.


All times are GMT -5. The time now is 07:55 AM.