Re: Windows Vista

2008-08-24 Thread Brian Wisti
I still haven't been able to get Cygwin/X working under Vista yet. I
was able to use XLaunch and fire off X applications from the cygwin
shell.

http://www.straightrunning.com/XmingNotes/

Be sure to set up $DISPLAY in your .bashrc:

export DISPLAY=localhost:0.0

I'd love to know if there's a better way, though.

Kind Regards,

Brian Wisti

On Sat, Aug 23, 2008 at 7:26 PM, Monson Hayes [EMAIL PROTECTED] wrote:
 I have tried to install Cygwin/X under Windows Vista, and get fatal errors
 when trying to run Cygwin/X.
 Has anyone been successful and, if so, is there documentation on how to get
 Cygwin running under Vista?

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



--
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: Can anyone help with a multiple monitor system?

2008-08-24 Thread John Emmas

I found a log file called XWin.log and it immediately told me what was
wrong

 winScreenInit - Monitors do not all have same pixel format / display
depth.
Using primary display only. 

As an experiment, I tried setting both my monitors to 1200x1024 at
16-bit depth. XWin then launched and worked as expected.  Curiously,
I found that I can set my monitors to different settings AFTER I start XWin
and it seems to be quite happy to carry on working.  It just doesn't seem
to like *starting* if the monitor settings are different, which is a pity.

Armed with my new knowledge I decided to search Google.  I'd always thought
that I was unusual in having twin monitors running at different resolutions
but in fact, it seems to be quite common.  I found lots of comments about
the same problem - though not all of them about Cygwin.  Some were about
a package (project?) called comp.windows.x.  I've never heard of this.
Can anyone tell me if it's connected with Cygwin or is it something totally
different?

Cheers,

John



- Original Message - 
From: John Emmas [EMAIL PROTECTED]

To: cygwin-xfree@cygwin.com
Sent: 23 August 2008 09:31
Subject: Can anyone help with a multiple monitor system?



I have a dual-head (twin monitor) setup using a Matrox Millenium G400
graphics card.  I've been using this successfully for many years under
both
Windows and Linux (64Studio).

Using GTK, I've built a myself a small Hello World type app.  It's just
a
simple GTK dialog box with a label saying Hello World and a 'Close'
button.  If I build it under GNU GCC and run it under Linux it runs fine.
However, if I re-boot into Windows and build it under Cygwin, it only
displays properly on my left-hand monitor.  If I drag the dialog box to my
right-hand monitor, the dialog gets displayed - but not its contents.

I'm starting my X server by running startxwin.bat which can be found in
c:\cygwin\usr\X11R6\bin.  I've already taken a look within startxwin.bat
and
I noticed that it offers various command-line switches to Xwin.  One of
these is '-multiplemonitors' which I thought might help.  I modified
startxwin.bat to add this as an extra parameter when starting Xwin but it
didn't make any difference.  Can anyone suggest anything else I could try?

Thanks,

John

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




--
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: Windows Vista

2008-08-24 Thread Monson Hayes
Not sure how to reply to a thread, but here are the details of what 
happens when I try to run

Cygwin/X.  First, I would like to comment that the following was suggested:

Be sure to set up $DISPLAY in your .bashrc:

   export DISPLAY=localhost:0.0

What is interesting, is in my installation I cannot find a .bashrc file, 
although I did find one in my

Windows XP installation.

I am told to look at the XWin.log file on my computer running Windows 
Vista when I get the

following fatal error:

A fatal error has occurred and Cygwin/X will now exit
Releast 6.8.99.901-4
   XWin was started with the following command llin

   /usr/X11R6/bin/XWin -multiwindow - clipboard -silent-dup-error

The XWin.log file is:

(WW) /tmp mounted int textmode
_XSERVTransmkdir: ERROR: euid != 0,directory /tmp/.X11-unix will not be 
created.

(II) XF86Config is not supported
(II) See http://x.cygwin.com/docs/faq/cygwin-x-faq.html for more information
winAdjustVideoModeShadowGDI - Using Windows display depth of 32 bits per 
pixel
winAllocateFBShadowGDI - Creating DIB with width: 1680 height: 1050 
depth: 32
winInitVisualsShadowGDI - Masks 00ff ff00 00ff BPRGB 8 d 24 
bpp 32

null screen fn ReparentWindow
null screen fn RestackWindow
InitQueue - Calling pthread_mutex_init
InitQueue - pthread_mutex_init returned
InitQueue - Calling pthread_cond_init
InitQueue - pthread_cond_init returned
winInitMultiWindowWM - Hello
winMultiWindowXMsgProc - Hello
winInitMultiWindowWM - Calling pthread_mutex_lock ()
winMultiWindowXMsgProc - Calling pthread_mutex_lock ()
MIT-SHM extension disabled due to lack of kernel support
XFree86-Bigfont extension local-client optimization disabled due to lack 
of shared memory support in the kernel

(--) Setting autorepeat to delay=500, rate=31
(--) winConfigKeyboard - Layout: 0409 (0409)
(--) Using preset keyboard for English (USA) (409), type 4
(--) 8 mouse buttons found
Could not init font path element /usr/X11R6/lib/X11/fonts/CID/, removing 
from list!


Fatal server error:
could not open default font 'fixed'

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