Share your knowledge at the LQ Wiki.
Go Back > Forums > Linux Forums > Linux - Networking
User Name
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.


  Search this Thread
Old 06-25-2007, 05:53 AM   #1
Registered: Jun 2005
Location: London, Uk
Distribution: RH-ES 3/4, FC 5/6
Posts: 51

Rep: Reputation: 15
Question XDMCP - problem keeping sessions alive

Hi, I have a few machines running a distributed computing project 24/7 (folding@home), & I have recently set up XDMCP to manage them. Essentially I have a single management machine, which connects via XDMCP to the headless machines on my local network. I have created basic scripts to connect the 4 machines to display:2 through to display:5 & can hit ctrl-alt-F9 to F12 to keep an eye on these machines, which is a very tidy setup by my usual standards

Unfortunately I found the machines had dropped their sessions yesterday, and my scripts couldn't reconnect me as /tmp/X lockfiles were still present, is there any way I can force the X sessions to stay alive?

I also need the sessions to persist in the event that the monitoring machine is rebooted or the NIC in that box drops a few packets, so that when I reconnect I simply unlock my previous session, rather than being presented with the login screen anew.

If the connection drops again I will swap the onboard NIC in my monitoring machine with a pci 3com or maybe an intel NIC if I can find one amongst all the junk, which might cope with the load a little better - I noticed network utilisation was pretty high every now & then.

Thanks for reading,

Old 06-26-2007, 03:22 PM   #2
Registered: Jul 2003
Location: Miami, Florida, USA
Distribution: Debian
Posts: 848
Blog Entries: 1

Rep: Reputation: 47
You can use x11vnc instead. It can connect you where you last left off.
Old 06-27-2007, 03:05 AM   #3
Registered: Jun 2005
Location: London, Uk
Distribution: RH-ES 3/4, FC 5/6
Posts: 51

Original Poster
Rep: Reputation: 15
It's a good point, but I really like having sessions I can reach at any time with a simple ctrl-alt-F9 to F12 All has been well for the last day or two, I can see the switch is busy & the XDMCP connections are still alive, but if it drops again I might have to think about going the vnc route - thanks ramram.


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
keeping Xvnc alive after vncviewer dies rcbell Linux - Networking 2 10-12-2006 08:40 PM
LXer: FOSS for OS/2: Keeping the flame alive LXer Syndicated Linux News 0 02-17-2006 08:31 AM
Keeping a program running between SSH sessions ark86 Linux - Newbie 2 10-01-2005 03:31 PM
Keeping the connection alive? NonSumPisces Linux - Networking 2 07-08-2004 05:12 PM
Keeping dialup alive kobe Linux - General 3 08-18-2002 01:46 AM > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 03:12 AM.

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