Re: xterm fails even when DISPLAY is set

2006-09-01 Thread Justin Patrin

On 9/1/06, Jeffrey Stephen [EMAIL PROTECTED] wrote:

Hi,

I have just installed cygwin-1.5.19, and cannot open an xterm.

I start the XWin server and the task manager shows that XWin.exe is
running. When I type xterm on the command line nothing happens - no
window appears and no error message is reported. The return status from
the xterm command in 53.

XWin is started as follows:

$ export DISPLAY=127.0.0.1:0.0
$ /usr/X11R6/bin/startxwin.sh

The output is shown below, and also the log file /tmp/XWin.log

When I run xterm, nothing happens:

$ xterm
$ echo $?
53



DISPLAY needs to be set for the client programs, not for the X server. Try:
$ export DISPLAY=:0
$ xterm

--
Justin Patrin

--
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: Cygwin/X on multiple displays, nothing displayed

2006-08-30 Thread Justin Patrin

On 8/30/06, Brian Ford [EMAIL PROTECTED] wrote:

On Tue, 29 Aug 2006, Justin Patrin wrote:

 On 8/29/06, Brian Ford Brian's email address wrote:

http://cygwin.com/acronyms/#PCYMTNQREAIYR
Thanks.

  On Tue, 29 Aug 2006, Justin Patrin wrote:
   Does anyone have any clues how to fix this issue?
 
  -multiplemonitors ?

 Thanks, I should have checked for/tried that previously. Unfortunately
 it makes no difference at all. I've attempted some more things and
 here is what I have found:

 -multiplemonitors makes no difference with any of the other options I tried.

 -multiwindow is my default mode and works on one monitor but not on
 two. Some more testing today has shown that output works only on the
 leftmost monitor but only at the resolution of the primary monitor.

Works fine for me with two.  Are the two monitors at different color
depths?  Are they being driven by the same vendor's video driver?



Ah, it would be something so obvious that I didn't think of it. It was
the color depth. My reinstall set the color depth to the default which
is 16-bit for the LCD but 32-bit for the monitor. Switching the LCD to
32-bit fixed the problem.

Thanks a lot, this has been bugging me for quite a while.

--
Justin Patrin

--
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/



Cygwin/X on multiple displays, nothing displayed

2006-08-29 Thread Justin Patrin

I just reinstalled Windows a short time ago and started having a
strange problem.

I have a laptop and use it both with its own screen only and with a
second screen at work. When I switched from one setup to the other my
X windows usually stopped responding visually (although they seemed to
respond to input). Stopping and starting X would fix the problem.

Now, after reinstalling Windows and Cygwin/X, X works fine on my one
screen but not when I turn on the second screen. No matter what order
I switch configurations and restart X in the X screens are always just
white when I have two screens enabled.

Does anyone have any clues how to fix this issue?

--
Justin Patrin

--
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: Cygwin/X on multiple displays, nothing displayed

2006-08-29 Thread Justin Patrin

On 8/29/06, Brian Ford [EMAIL PROTECTED] wrote:

On Tue, 29 Aug 2006, Justin Patrin wrote:

 Does anyone have any clues how to fix this issue?

-multiplemonitors ?



Thanks, I should have checked for/tried that previously. Unfortunately
it makes no difference at all. I've attempted some more things and
here is what I have found:

-multiplemonitors makes no difference with any of the other options I tried.

-multiwindow is my default mode and works on one monitor but not on
two. Some more testing today has shown that output works only on the
leftmost monitor but only at the resolution of the primary monitor.

My LCD is the primary (can't be changed) and is at 1024x768. My
secondary monitor is normally to the left of my LCD and is at
1280x1024. If I make it the left-most screen X windows work on the LCD
perfectly but when dragged onto the second monitor they go blank. When
I make my second monitor the left-most screen window contents display
fine on that screen but only within the top-left 1024x768 of it.

-rootless only allows display on the primary monitor, if I attempt to
drag windows off the edge they end up over the edge but only displayed
on the primary monitor.

Using neither of the previous gives me a window with X inside it and
works fine on either screen (but is not particularly usable within
Windows).

--
Justin Patrin

--
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/