Re: unable to open display 6 times when I try to run any X apps from xterm

2007-07-17 Thread cygwin
The problem is that I never had to use run before.  So what I want to do
is fix whatever is broken.

Let me recap;

All commands are in xterm with X running.

$ xhost
/usr/X11R6/bin/xhost:  unable to open display 
/usr/X11R6/bin/xhost:  unable to open display 
/usr/X11R6/bin/xhost:  unable to open display 
/usr/X11R6/bin/xhost:  unable to open display 
/usr/X11R6/bin/xhost:  unable to open display 
/usr/X11R6/bin/xhost:  unable to open display 

[EMAIL PROTECTED] ~
$ xcalc
Error: Can't open display:
Error: Can't open display:
Error: Can't open display:
Error: Can't open display:
Error: Can't open display:
Error: Can't open display:

When I use run with xcalc it works fine.

Using run with xhost will run xhost fine but I need to enter before it
will show the prompt.

Any ideas?


Thank you

-greg



--
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: unable to open display 6 times when I try to run any X apps from xterm

2007-07-14 Thread cygwin
Yes I had the same problem, over a year ago, with the Logitech webcam
software.  Very painful to figure that one out.  I can't believe they
write stupid software like that.

I have an update to my problem.  If I start xhost with

run xhost

It works fine.  Any ideas how to fix this?



Thanks


-greg


--
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: unable to open display 6 times when I try to run any X apps from xterm

2007-06-28 Thread Geordy Korte

May bee a longshot,

A couple of months ago I had the same problem and it turned out to be
a DLL problem caused by Logitec web-cam drivers.  If you have those
installed try uninstalling them and see if this solves the issue.
Talked to logitec about it and they responded that Injecting their DLL
into the screen routing of windows was a good idea...  and why the
h*ll I would want to use linux on windows...

Good luck.

Geordy
On 6/28/07, Larry Hall (Cygwin X) [EMAIL PROTECTED] wrote:

[EMAIL PROTECTED] wrote:
 I have uninstalled window's firewall (which was disabled before) and
 uninstalled the virus software (AVG).  Still not working.  Can't use xhost
 or any X program except xterm without getting 6 errors of - Can't open
 display.

 I'm a little confused about the response since the output I showed was
 from an xterm started using startxwin.bat which launches X before starting
 xterm which is an X app?  I have been using this configuration for over 2
 years on this box and it suddenly stopped working.


Sounds like this is the key.  What's new to the system since it stopped
working.

You mentioned initially that you have DISPLAY set in your startxwin.bat.
Don't recall off-hand whether that's in there by default (and I'm not at
a machine that has Cygwin-X installed).  If you added this, I suggest
removing it.


--
Larry Hall  http://www.rfk.com
RFK Partners, Inc.  (508) 893-9779 - RFK Office
216 Dalton Rd.  (508) 429-6305 - FAX
Holliston, MA 01746

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





--
==
Geordy Korte
ICQ 14458242
MSN [EMAIL PROTECTED]

--
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: unable to open display 6 times when I try to run any X apps from xterm

2007-06-27 Thread cygwin
I have uninstalled window's firewall (which was disabled before) and
uninstalled the virus software (AVG).  Still not working.  Can't use xhost
or any X program except xterm without getting 6 errors of - Can't open
display.

I'm a little confused about the response since the output I showed was
from an xterm started using startxwin.bat which launches X before starting
xterm which is an X app?  I have been using this configuration for over 2
years on this box and it suddenly stopped working.

I can't seem to locate xstartwin.  Where can I find it?

Any other suggestions or insight into what could be causing this?  What is
the meaning of 6 errors when I try to execute xhost?

Thank you in advance!

-greg

Here is my /tmp/XWin.log;

_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: 1920 height: 1200 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
winInitMultiWindowWM - Calling pthread_mutex_lock ()
winMultiWindowXMsgProc - Hello
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
(--) 3 mouse buttons found
Could not init font path element /usr/X11R6/lib/X11/fonts/CID/, removing
from list!
Could not init font path element /usr/X11R6/lib/X11/fonts/100dpi/,
removing from list!
winInitMultiWindowWM - pthread_mutex_lock () returned.
winInitMultiWindowWM - pthread_mutex_unlock () returned.
winMultiWindowXMsgProc - pthread_mutex_lock () returned.
winMultiWindowXMsgProc - pthread_mutex_unlock () returned.
winInitMultiWindowWM - DISPLAY=127.0.0.1:0.0
winProcEstablishConnection - Hello
DetectUnicodeSupport - Windows NT/2000/XP
winProcEstablishConnection - winInitClipboard returned.
winClipboardProc - DISPLAY=127.0.0.1:0.0
winInitMultiWindowWM - XOpenDisplay () returned and successfully opened
the display.
winMultiWindowXMsgProc - XOpenDisplay () returned and successfully opened
the display.
winClipboardProc - XOpenDisplay () returned and successfully opened the
display.



-greg


--
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: unable to open display 6 times when I try to run any X apps from xterm

2007-06-27 Thread Larry Hall (Cygwin X)

[EMAIL PROTECTED] wrote:

I have uninstalled window's firewall (which was disabled before) and
uninstalled the virus software (AVG).  Still not working.  Can't use xhost
or any X program except xterm without getting 6 errors of - Can't open
display.

I'm a little confused about the response since the output I showed was
from an xterm started using startxwin.bat which launches X before starting
xterm which is an X app?  I have been using this configuration for over 2
years on this box and it suddenly stopped working.



Sounds like this is the key.  What's new to the system since it stopped
working.

You mentioned initially that you have DISPLAY set in your startxwin.bat.
Don't recall off-hand whether that's in there by default (and I'm not at
a machine that has Cygwin-X installed).  If you added this, I suggest
removing it.


--
Larry Hall  http://www.rfk.com
RFK Partners, Inc.  (508) 893-9779 - RFK Office
216 Dalton Rd.  (508) 429-6305 - FAX
Holliston, MA 01746

--
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: unable to open display 6 times when I try to run any X apps from xterm

2007-06-24 Thread Larry Hall (Cygwin X)

On 06/23/2007, cygwin wrote:
When I try to start any X application, from an xterm, I get the following 
errors. This used to always work but is broke for some reason. I would like 
some direction on how to troubleshoot this. I think this is some kind of 
program running that is getting in the way but can't find which one. Both 
virus and firewall are disabled. Any help will be greatly appreciated. 


Start the X server first (xstartwin).  If that doesn't work, then your
firewall and/or virus scanner are likely to blame, disabled or not.
Uninstall them and try again.

--
Larry Hall  http://www.rfk.com
RFK Partners, Inc.  (508) 893-9779 - RFK Office
216 Dalton Rd.  (508) 429-6305 - FAX
Holliston, MA 01746

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



unable to open display 6 times when I try to run any X apps from xterm

2007-06-23 Thread cygwin
When I try to start any X application, from an xterm, I get the following
errors.  This used to always work but is broke for some reason.  I would
like some direction on how to troubleshoot this.  I think this is some
kind of program running that is getting in the way but can't find which
one.  Both virus and firewall are disabled.  Any help will be greatly
appreciated.

Thanks,

-greg



$ xhost
/usr/X11R6/bin/xhost:  unable to open display 
/usr/X11R6/bin/xhost:  unable to open display 
/usr/X11R6/bin/xhost:  unable to open display 
/usr/X11R6/bin/xhost:  unable to open display 
/usr/X11R6/bin/xhost:  unable to open display 
/usr/X11R6/bin/xhost:  unable to open display 

$ xeyes
Error: Can't open display:
Error: Can't open display:
Error: Can't open display:
Error: Can't open display:
Error: Can't open display:
Error: Can't open display:

$ xcalc.exe
Error: Can't open display:
Error: Can't open display:
Error: Can't open display:
Error: Can't open display:
Error: Can't open display:
Error: Can't open display:

At the beginning of my startxwin.bat I have;

@echo off
SET DISPLAY=127.0.0.1:0.0

Here are the versions of X packages I'm running;

$ cygcheck.exe -c
snip
/snip
X-startup-scripts1.0.11-1   OK
XmHTML   1.1.7-2OK
xorg-x11-base6.8.99.901-1   OK
xorg-x11-bin 6.8.99.901-1   OK
xorg-x11-bin-dlls6.8.99.901-1   OK
xorg-x11-bin-lndir   6.8.99.901-1   OK
xorg-x11-devel   6.8.99.901-1   OK
xorg-x11-etc 6.8.99.901-1   OK
xorg-x11-fenc6.8.99.901-1   OK
xorg-x11-fnts6.8.99.901-1   OK
xorg-x11-fscl6.8.99.901-1   OK
xorg-x11-libs-data   6.8.99.901-1   OK
xorg-x11-xwin6.8.99.901-1   OK
xterm202-1  OK



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