LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 02-23-2010, 11:01 AM   #1
josegascon
LQ Newbie
 
Registered: Feb 2010
Posts: 2

Rep: Reputation: 0
Post 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.
 
Old 02-24-2010, 06:59 PM   #2
chrism01
LQ Guru
 
Registered: Aug 2004
Location: Sydney
Distribution: Centos 7.7 (?), Centos 8.1
Posts: 17,782

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


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
openvpn disconnects bigtl Linux - Networking 7 06-24-2009 04:22 PM
ssh disconnects goldwing Linux - Networking 3 05-26-2008 09:42 AM
UW-IMAP server disconnects. Problems with Outlook and IMAP greg_med Linux - Server 2 12-19-2007 04:18 AM
ftp disconnects often chadi Linux - General 1 12-10-2004 10:31 PM
Enemy Territory server disconnects newbe45 Linux - Software 8 08-07-2003 02:55 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 01:03 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration