RE: How to have more than one X display?

2005-09-02 Thread Soong, SylokeJ

Thanks.

I could not find that in XWin man pages,
but XWin -help showed it.

Though $DISPLAY is ineffectual to XWin,
I needed to set it since wmaker (or any xdm)
would need to know the display/screen
to use. I am a happy clam now.

I use wmaker because I don't like using multiwindow mode.
I am not good in dealing with disorganised clutter.
(the antithesis is rather an oxymoron - organised clutter).

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of Joe Krahn
Sent: Fri, September 02, 2005 12:16 AM
To: cygwin-xfree@cygwin.com
Subject: Re: How to have more than one X display?


Joe Krahn wrote:
Oh...
The DISPLAY variable has no effect on XWin. Try the following:

   XWin :0.0
and
   XWin :1.0

I can run several of these. But, I noticed that MultiWindow mode is 
broken for anything but display :0.

Joe

--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://x.cygwin.com/docs/
FAQ:   http://x.cygwin.com/docs/faq/



RE: How to have more than one X display?

2005-09-02 Thread Soong, SylokeJ
It's the IDE mindset.
I have two/more projects whose windows I prefer to be completely segregated.
I could use wmaker multiple desktops to achieve that.

However, I prefer a complete segregation. Especially when it involves
two versions of the same project. Need to prevent myself from
inadvertently moving a window onto another desktop. The files of
the two versions would be of such similarity that I had edited one
version with modification intended for another. Rootless would
excercebate (how the h*** do you spell this!) that.

My dream xdm:
Tabs to separate multiple X screens. Like a multi-desktop but
the tabs are managed by xdm not xwm. I know I am cluttering my
X?M terminology. I mean, xwin=xdm, wmaker=xwm.

I'm sorry I'm not aware what RANDR is and therefore am a little
blurry-eyed about that.

I'm not sure if Reflection has its configured but uninvoked
screen as actually an active window parked far off into the
edges of the galaxy. But my impression feels it is not so, as I
had not found it in process/window listing utility I once ran.


-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of Joe Krahn
... In Reflection, is the 2nd screen 'live' but not 
always visible?

But, why have two actual screens instead of one large virtual screen?
If you don't want to lose your WIn32 desktop space, why not go rootless 
or MultiWIndow mode?

If you want the X desktop space, it would probably be possible to use 
RANDR to allow dynamic resizing of one screen to fill one or both Win32 
Displays.

--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://x.cygwin.com/docs/
FAQ:   http://x.cygwin.com/docs/faq/



Re: How to have more than one X display?

2005-09-01 Thread Joe Krahn

Soong, SylokeJ wrote:

How to indecisively start more than one X display on my XP system?


Currently I have a startxwin.bat:

SET DISPLAY=127.0.0.1:0.0
..
run XWin -screen 0 1750 1350 -whateverelse
run wmaker


as well as startxwin1.bat:
=
SET DISPLAY=127.0.0.1:0.1
..
run XWin -screen 1 1750 1350 -whateverelse
run wmaker

The problem here is that you are varying the screen number, not the 
display number. Multiple screens come from one server. Try using 
DISPLAY=127.0.0.1:1.0 for the second one.


It seems to work OK, at least if you don't try to use multi-window mode 
for both, even though several things hint that XWin code does not worry 
much about multiple servers.


Joe

--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://x.cygwin.com/docs/
FAQ:   http://x.cygwin.com/docs/faq/



RE: How to have more than one X display?

2005-09-01 Thread Soong, SylokeJ
I had tried both

SET DISPLAY=127.0.0.1:1.0

SET DISPLAY=127.0.0.1:0.1

I was guessing to recall which way it could be
to change the display number and had to decide
which to copy and paste into the email.

Either way gives me the same the same message
and similar logs.


-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of Joe Krahn
Sent: Thu, September 01, 2005 7:57 AM
To: cygwin-xfree@cygwin.com
Subject: Re: How to have more than one X display?


The problem here is that you are varying the screen number, not the 
display number. Multiple screens come from one server. Try using 
DISPLAY=127.0.0.1:1.0 for the second one.

It seems to work OK, at least if you don't try to use multi-window mode 
for both, even though several things hint that XWin code does not worry 
much about multiple servers.

Joe

--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://x.cygwin.com/docs/
FAQ:   http://x.cygwin.com/docs/faq/



RE: How to have more than one X display?

2005-09-01 Thread Phil Betts
On Thursday, September 01 at 2:09, Soong, SylokeJ wrote:
 I had tried both
 
 SET DISPLAY=127.0.0.1:1.0
 
 SET DISPLAY=127.0.0.1:0.1
 
 I was guessing to recall which way it could be
 to change the display number and had to decide
 which to copy and paste into the email.
 
 Either way gives me the same the same message
 and similar logs.

I think the problem is the use of -screen 1.  I've never used the
-screen option myself, so apologies if I'm way off the mark, but I seem
to recall that it was introduced to allow a single X server to use
more than one physical display.

If this is what you are trying to achieve, you need to start a single
X server with both -screen 0 and -screen 1.

If you really do want two displays, try dropping the -screen option (or
use -screen 0 for both), and use the :1.0 form for the second DISPLAY.

HTH

Phil
-- 

**
This email 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 email in error please notify
the system manager.

This footnote also confirms that this email message has been swept by
MIMEsweeper for the presence of computer viruses.

www.mimesweeper.com
**

--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://x.cygwin.com/docs/
FAQ:   http://x.cygwin.com/docs/faq/



RE: How to have more than one X display?

2005-09-01 Thread Soong, SylokeJ
I simply could not decide if the jabberwocky
is called display or screen.
As the tumtum it leans on called $DISPLAY,
I wish to set to :0.0 and :0.1
as I had in Reflection/X.

Right, now that I have to the terminology
straightened (to roam cygwin wonderland),
Reflection/X allows me to start a display server
with just screen :0.0 with a premeditated intent
of starting screen :0.1 later or not at all.

Reflection would give me two XP windows,
one for each independent :jabberwocky.screen.

Question I should have asked in light of my enlightenment,
How to have more than one screen on an X display server?
Adding to that question,
How to allow willy-nilly starting of another screen later
rather than all at once?

It's all the fault of Reflection allowing me the convenience
that I wanted the same in Cygwin.


This is what my startxwin1.bat have to do to get two screens.
I have to repeat options for each screen.
If I closed one screen both screens die. Unlike Reflection.

Whom should I ask to modify XWin.exe to allow appending
screens after the X server has started?
===
.
run XWin -screen 0 1750 1300  -multiplemonitors -emulate3buttons -scrollbars
-clipboard -silent-dup-error -screen 1 1750 1300 -multiplemonitors
-emulate3buttons -scrollbars  -clipboard -silent-dup-error

SET DISPLAY=127.0.0.1:0.0
run wmaker
run xterm -sb -e /usr/bin/bash -l

SET DISPLAY=127.0.0.1:0.1
run wmaker
run xterm -sb -e /usr/bin/bash -l



-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of Phil Betts
Sent: Thu, September 01, 2005 12:45 PM
To: cygwin-xfree@cygwin.com
Subject: RE: How to have more than one X display?


On Thursday, September 01 at 2:09, Soong, SylokeJ wrote:
 I had tried both
 
 SET DISPLAY=127.0.0.1:1.0
 
 SET DISPLAY=127.0.0.1:0.1
 
 I was guessing to recall which way it could be
 to change the display number and had to decide
 which to copy and paste into the email.
 
 Either way gives me the same the same message
 and similar logs.

I think the problem is the use of -screen 1.  I've never used the
-screen option myself, so apologies if I'm way off the mark, but I seem
to recall that it was introduced to allow a single X server to use
more than one physical display.

If this is what you are trying to achieve, you need to start a single
X server with both -screen 0 and -screen 1.

If you really do want two displays, try dropping the -screen option (or
use -screen 0 for both), and use the :1.0 form for the second DISPLAY.

HTH

Phil
-- 

--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://x.cygwin.com/docs/
FAQ:   http://x.cygwin.com/docs/faq/



Re: How to have more than one X display?

2005-09-01 Thread Joe Krahn

Joe Krahn wrote:

Soong, SylokeJ wrote:


How to indecisively start more than one X display on my XP system?


Currently I have a startxwin.bat:

SET DISPLAY=127.0.0.1:0.0
..
run XWin -screen 0 1750 1350 -whateverelse
run wmaker


as well as startxwin1.bat:
=
SET DISPLAY=127.0.0.1:0.1
..
run XWin -screen 1 1750 1350 -whateverelse
run wmaker

The problem here is that you are varying the screen number, not the 
display number. Multiple screens come from one server. Try using 
DISPLAY=127.0.0.1:1.0 for the second one.


It seems to work OK, at least if you don't try to use multi-window mode 
for both, even though several things hint that XWin code does not worry 
much about multiple servers.



Oh...
The DISPLAY variable has no effect on XWin. Try the following:

  XWin :0.0
and
  XWin :1.0

I can run several of these. But, I noticed that MultiWindow mode is 
broken for anything but display :0.


Joe

--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://x.cygwin.com/docs/
FAQ:   http://x.cygwin.com/docs/faq/