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: Can multiple remote sessions be run simultaneously under v4.2.0?


Victor,

> And I have also tried setting the display to alternate values:
>
> 	start /B XWin -display :0 -query <host1>
> 	start /B XWin -display :1 -query <host2>

That is gibberish.  It doesn't mean anything.

What you want is:

start /B XWin-works :0 -query host1
start /B XWin-works :1 -query host2


I've tested this and gotten two distinct sessions to one machine (say,
host1) at the same time.  I don't currently have two XDM hosts, but I'm sure
it will work fine with two hosts.

Let me know how this works.

Harold

> -----Original Message-----
> From: cygwin-xfree-owner@cygwin.com
> [mailto:cygwin-xfree-owner@cygwin.com]On Behalf Of Victor Atkinson
> Sent: Tuesday, March 26, 2002 5:09 PM
> To: cygwin-xfree@cygwin.com
> Subject: Re: Can multiple remote sessions be run simultaneously under
> v4.2.0?
>
>
> Greetings,
>
> Thanks to all for the quick replies.  Unfortunately, I haven't
> been able to
> get a workable configuration together yet.  I have tried both combinations
> of screen 0 & 1 designations with XWin:
>
> Separate invocations:
>
> 	start /B XWin -screen 0 <width> <height> -query <host1>
> 	start /B XWin -screen 1 <width> <height> -query <host2>
>
> Single invocation:
>
> 	start /B XWin -screen 0 <width> <height> -query <host1>
> -screen 1 <width>
> <height> -query <host2>
>
> And I have also tried setting the display to alternate values:
>
> 	start /B XWin -display :0 -query <host1>
> 	start /B XWin -display :1 -query <host2>
>
> as well as all combinations of display & screen (0.0, 1.0, 1.1,
> etc) for the
> two sessions, both via the command line and the DISPLAY environment
> variable.
>
> The results are almost always identical, first XWin starts and connects to
> host1.  However, when the second server starts, the first screen
> appears to
> be reset to and empty X server session (just blank background) while the
> second server connects to host2.  When I am finished with host2
> and quit the
> second session (close the window), then the first session gives me a login
> prompt at host1 again.
>
> It appears as though there is some hardwired common display
> behavior that is
> common among all server instances, even if they are started from separate
> XWin processes.
>
> I'll keep plugging away at it.  I did setup VNC on the remote hosts again,
> to do what I needed to do simultaneously on host1 and host2.  It does seem
> that VNC is much more of a bandwidth and processor load than
> XFree86, which
> doesn't really surprise me.  (If my remote host screen saver
> kicks in within
> a VNC client window, it nearly brings my laptop to its knees, but in the
> same circumstance XFree86 is smooth.)
>
> Victor Atkinson
> Syracuse, NY, USA
>
>
> >
> > On Tue, 19 Mar 2002, Staf Verhaegen wrote:
> >
> > > Use a different screen number for every session
> > > % XWin -screen 0 width height -query host1 &
> > > % XWin -screen 1 width height -query host2 &
> > > % ...
> >
> > I don't expect this to work. Both will try to listen on port 6000. You
> have
> > to modify the _display_ not the _screen_number.
> >
> > bye
> > 	ago
> > --
> >  Alexander.Gottwald@informatik.tu-chemnitz.de
> >  http://www.gotti.org           ICQ: 126018723
> >  phone: +49 3725 349 80 80	mobile: +49 172 7854017
> >
>
>


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