This is the mail archive of the cygwin-xfree@cygwin.com mailing list for the Cygwin XFree86 project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

RE: Preventing X server resets


> -----Original Message-----
> From:	Harold L Hunt II [SMTP:huntharo@msu.edu]
> Sent:	Friday, November 15, 2002 7:12 PM
> To:	cygwin-xfree@cygwin.com
> Subject:	Re: Preventing X server resets
> 
> Peter,
> 
> Let me rephrase your question and ask you if it makes sense:
> 
> ``If I am talking on the phone to my mother and she unplugs her phone, 
> can I just continue talking to her?''
> 
Yes, but if Dad is on the other extension at the same time I would expect to
be able to continue talking to him :-)

Perhaps I wasn't clear in my question.  I know that if a machine is rebooted
then any X clients running on it will be lost.  As an aside, I also know
that if a machine running an X server is rebooted then the server is lost,
and there's typically no way to tell the clients where to reconnect to; the
RandR extension will apparently change this in the future.

However, I have X clients running on many machines and all displaying on the
same server.  If most of these hosts go down then the clients on that host
are lost, but the X server keeps running and the other clients are
unaffected.  If the host I logged into with XDMCP goes down, the X server
resets and kicks off all the other clients which are otherwise fine.  It's
this behavior that I wish to avoid.

> The answer is no.  You have established a connection with a server that 
> is supposed to manage your X session... if that server fails, or if the 
> connection to it is unreliable, then you X Session is terminated. 
>  Unfortunately, the way the system is designed is that applications you 
> launch from your X session are managed by the remote XDMCP machine... if 
> that machine goes down there is no way to transfer control of those 
> applications to another machine.
> 
I don't believe that this is true.  As I understand it, X11 clients connect
directly to the X11 server.  Checking with netstat, I see that there are no
connections between the host that I logged into with XDMCP and another host
running an xterm.

I know that what I asked is possible in general, since an X server called
PC-Xware does it.  When XDMCP goes away it asks something like "Your XDM
session has ended.  Would you like to reset the X server?", and if you say
no you can just carry on working.  I hoped that I'd be able to do the same
thing with XFree86.

> 3) If you can't do anything about the machine or the network, then you 
> need to adjust your quality-of-service expectations.
> 
Perhaps this is the best suggestion.  I can usually run a session for weeks
or months without incident, so perhaps I'm asking too much :-)

Alternatively, it occurs to me that I could start my session using rlogin
rather than XDMCP.  Fiddly, but it should do the trick.

-- 
Peter Oliver
Midrange Services
Aquila Networks Services Ltd


****************************************************************************************************
Confidentiality: This e-mail and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed.  If you have received this e-mail in error, use of this information (including disclosure, copying or distribution) may be unlawful.  Please notify postmaster@aquila-networks.co.uk. and delete the message immediately.

Security: Internet e-mail is not a 100% secure communications medium. 

Viruses: This e-mail (and any attachments) has been checked (using Sophos Sweep 3.58 + patches) and found to be clean from any virus infection before leaving.  
Therefore neither Aquila Networks Services Ltd nor Midlands Electricity plc  or any of their group undertakings  (as defined by the Companies Act 1989) (together referred to as the "Companies") accept legal responsibility for this message or liability for the consequences of any computer viruses which may have been transmitted by this e-mail.
 
Monitoring: All electronic communications with the Companies may be monitored in accordance with the UK Regulation of Investigatory Powers Act, Lawful Business Practice Regulations, 2000.  If you do not consent to such monitoring, you should contact the sender of this e-mail. 

Aquila Networks Services Limited, 
Registered office: Whittington Hall, Whittington, Worcester, WR5 2RB
Registered in England and Wales number 3600545
This e-mail may be sent on behalf of any of the Companies.
****************************************************************************************************


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]