Re: xterm Xt error: Can't open display

2006-10-16 Thread claire wilson
Many thanks for your help, it was very useful and much appreciated. I made a 
.xinitrc in my home directory and this did not work. However when I turned off 
my internet security software (norton internet security), cygwin worked fine. 
upon further examination i found out that norton was blocking Xwin and all 
cygwin programs. Now everything works fine apart from the fact i still see this 
message whenever i start xwin 
startxwin.bat - Starting on Windows NT/2000/XP/2003 
6 [main] run 1852 tty_list::allocate: No tty allocated 
9 [main] run 4020 tty_list::allocate: No tty allocated 

thanks once again 

claire

Send instant messages to your online friends http://uk.messenger.yahoo.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: xterm Xt error: Can't open display

2006-10-13 Thread René Berber
claire wilson wrote:

> i have installed the latest version of cygwin after removing my older
> version as i wanted to run the latest version. all i want to do is
> emulate linux on my windows machine. i start cygwin from the start
> menu, and then: try to run xterm.exe from the resulting cygwin window
> but this always fail with xterm Xt error: Can't open display. i have
> tried setting my display to localhost:0, 1.27.0.0.1:0 and many other
> things none seem to work.

That is normal, if you don't have a X server running...

> try to run startxwin.bat i get the
> following error startxwin.bat - Starting on Windows NT/2000/XP/2003 
> 11363 [main] run 5336 tty_list::allocate: No tty allocated 8 [main]
> run 4388 tty_list::allocate: No tty allocated (the contents of
> Xwin.log are listed below) however if i run startx, i do get an xterm
> but it lacks alot of funcitonality.

You mean it is a different xterm?  What functionality is missing?

> i have tried going back to my
> original install, this no longer works either.
> 
> i have spent all day trying to work out how to fix this (googling,
> mail list archive searches etc) and have failed so any help you could
> supply would be very much appreciated!

I think in your old installation you had changed the startup or your user's 
.xinitrc; this last one is usually the one that opens the xterm.

If you don't have a ~/.xinitrc then it is a global script opening the xterm, 
that should be /etc/X11/xinit/xinitrc.  If that is the case you can copy that 
one to your .xinitrc and make changes there.

For instance you can edit the last line (commented below) and instead start 
xterm with your favorite options:

#exec xterm -e /usr/bin/bash -l
exec xterm -sb -sl 1024 -rv -geometry 80x25+0+0 -name login

or even better, something like:

rxvt -rv -display localhost:0.0 -sl 1024 -e bash -li

(those are simple examples, you can do much more with other parameters).

> cat /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
[snip]
> winInitMultiWindowWM - DISPLAY=127.0.0.1:0.0 winMultiWindowXMsgProc -
> pthread_mutex_unlock () returned. winMultiWindowXMsgProc -
> DISPLAY=127.0.0.1:0.0 winInitMultiWindowWM - Could not open display,

Any anti-virus or "Internet security" software blocking Xwindows ports?

If you did get a xterm, as you say above, then these errors are probably not 
important since that xterm means X was running fine, at least once.
-- 
René Berber


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



xterm Xt error: Can't open display

2006-10-13 Thread claire wilson
Hi there 

i have installed the latest version of cygwin after removing my older version 
as i wanted to run the latest version. all i want to do is emulate linux on my 
windows machine. i start cygwin from the start menu, and then: 
try to run xterm.exe from the resulting cygwin window but this always fail with 
xterm Xt error: Can't open display. i have tried setting my display to 
localhost:0, 1.27.0.0.1:0 and many other things none seem to work. 
try to run startxwin.bat i get the following error 
startxwin.bat - Starting on Windows NT/2000/XP/2003 
11363 [main] run 5336 tty_list::allocate: No tty allocated 
8 [main] run 4388 tty_list::allocate: No tty allocated 
(the contents of Xwin.log are listed below) 
however if i run startx, i do get an xterm but it lacks alot of funcitonality. 
i have tried going back to my original install, this no longer works either. 

i have spent all day trying to work out how to fix this (googling, mail list 
archive searches etc) and have failed so any help you could supply would be 
very much appreciated! 

Many thanks 

claire 

cat /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: 1280 height: 1024 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 
shar 
ed memory support in the kernel 
(--) Setting autorepeat to delay=500, rate=31 
(--) winConfigKeyboard - Layout: "0809" (0809) 
(--) Using preset keyboard for "English (United Kingdom)" (809), type "4" 
(--) 3 mouse buttons found 
Could not init font path element /usr/X11R6/lib/X11/fonts/CID/, removing from 
li 
st! 
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. 
winInitMultiWindowWM - DISPLAY=127.0.0.1:0.0 
winMultiWindowXMsgProc - pthread_mutex_unlock () returned. 
winMultiWindowXMsgProc - DISPLAY=127.0.0.1:0.0 
winInitMultiWindowWM - Could not open display, try: 1, sleeping: 5 
♀winMultiWindowXMsgProc - Could not open display, try: 1, sleeping: 5 
♀winInitMultiWindowWM - Could not open display, try: 2, sleeping: 5 
♀winMultiWindowXMsgProc - Could not open display, try: 2, sleeping: 5 
♀winInitMultiWindowWM - Could not open display, try: 3, sleeping: 5 
♀winMultiWindowXMsgProc - Could not open display, try: 3, sleeping: 5 
♀winInitMultiWindowWM - Could not open display, try: 4, sleeping: 5 
♀winMultiWindowXMsgProc - Could not open display, try: 4, sleeping: 5 
♀winInitMultiWindowWM - Could not open display, try: 5, sleeping: 5 
♀winMultiWindowXMsgProc - Could not open display, try: 5, sleeping: 5 
♀winInitMultiWindowWM - Failed opening the display. Exiting. 
winMultiWindowXMsgProc - Failed opening the display. Exiting. 



The all-new Yahoo! Mail goes wherever you go - free your email address from 
your Internet provider.



___ 
Inbox full of spam? Get leading spam protection and 1GB storage with All New 
Yahoo! Mail. http://uk.docs.yahoo.com/nowyoucan.html

--
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: xterm Xt error: Can't open display:

2003-12-09 Thread cryst
Thank you Igor,
It was the sshd-config that was the problem. I've now got gnome-session
starting.

Also sorry bout the addresses. I didn't realize that my client was
misbehaving that badly. Unfortunatly I don't see any way of turning it off.
Time to change to a new client I suppose. (sigh). suggestions?



Re: xterm Xt error: Can't open display:

2003-12-09 Thread Igor Pechtchanski
Chris,

Did you read the last part of the article at the link Alexander posted?
The one about server configuration?  You mentioned upgrading Linux, and
I'm not sure the default sshd_config comes with X11Forwarding enabled.
Igor
P.S. Oh, and please instruct your mailer to not quote people's e-mail
addresses in your messages.

On Tue, 9 Dec 2003, cryst wrote:

> Yes I've tried all combinitions of these. We have a proprietary version of
> xdisplay (winpro) which works... Also, as I said, it used to work until I
> upgraded in November or so. (I upgraded the Linux box at the same time
> though, so who knows where the problem lies).
>
> Chris Bruner
> - Original Message -
> From: "Jay Smith" 
> To: 
> Sent: Tuesday, December 09, 2003 1:10 PM
> Subject: Re: xterm Xt error: Can't open display:
>
>
> > Could it be related to mixing (as you showed in your post)
> >DISPLAY=
> > and
> >Export DISPLAY
> > ???
> >
> >
> > The example shows:
> >
> > $ DISPLAY=localhost:0.0
> > $ export DISPLAY
> > $ ssh -X remotehost
> >
> > or
> >
> > $ DISPLAY=localhost:0.0 ssh -X remotehost
> >
> > which is different from your original post.
> >
> > May you tried all the combinations already?
> >
> > Jay
> >
> > cryst said the following on 12/09/2003 01:06 PM:
> > > Thanks, but I've been there and it didn't help. (Hence this list).
> > >
> > > Any idea on how to diagnose this?
> > >
> > > Chris Bruner
> > >
> > > - Original Message -
> > > From: "Alexander Gottwald" 
> > > To: 
> > > Sent: Tuesday, December 09, 2003 12:00 PM
> > > Subject: Re: xterm Xt error: Can't open display:
> > >
> > >
> > >
> > >>On Tue, 9 Dec 2003, cryst wrote:
> > >>
> > >>
> > >>>[EMAIL PROTECTED]'s password:
> > >>>Warning: No xauth data; using fake authentication data for X11 forwarding.
> > >
> > >>>Last login: Tue Dec  9 12:29:56 2003 from 192.168.1.23
> > >>>[EMAIL PROTECTED] chris $ xterm
> > >>>xterm Xt error: Can't open display:
> > >>>[EMAIL PROTECTED] chris $
> > >>>
> > >>>and the like.  This used to work.  Does anyone have any idea what is going
> > >>>wrong?
> > >>
> > >>
> > >> http://xfree86.cygwin.com/docs/faq/cygwin-xfree-faq.html#q-ssh-no-x11forwarding
> > >
> > >>bye
> > >>ago

-- 
http://cs.nyu.edu/~pechtcha/
  |\  _,,,---,,_[EMAIL PROTECTED]
ZZZzz /,`.-'`'-.  ;-;;,_[EMAIL PROTECTED]
 |,4-  ) )-,_. ,\ (  `'-'   Igor Pechtchanski, Ph.D.
'---''(_/--'  `-'\_) fL a.k.a JaguaR-R-R-r-r-r-.-.-.  Meow!

"I have since come to realize that being between your mentor and his route
to the bathroom is a major career booster."  -- Patrick Naughton


Re: xterm Xt error: Can't open display:

2003-12-09 Thread cryst
Yes I've tried all combinitions of these. We have a proprietary version of
xdisplay (winpro) which works... Also, as I said, it used to work until I
upgraded in November or so. (I upgraded the Linux box at the same time
though, so who knows where the problem lies).

Chris Bruner
- Original Message - 
From: "Jay Smith" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, December 09, 2003 1:10 PM
Subject: Re: xterm Xt error: Can't open display:


> Could it be related to mixing (as you showed in your post)
>DISPLAY=
> and
>Export DISPLAY
> ???
>
>
> The example shows:
>
> $ DISPLAY=localhost:0.0
> $ export DISPLAY
> $ ssh -X remotehost
>
> or
>
> $ DISPLAY=localhost:0.0 ssh -X remotehost
>
> which is different from your original post.
>
> May you tried all the combinations already?
>
> Jay
>
> cryst said the following on 12/09/2003 01:06 PM:
> > Thanks, but I've been there and it didn't help. (Hence this list).
> >
> > Any idea on how to diagnose this?
> >
> > Chris Bruner
> >
> > - Original Message ----- 
> > From: "Alexander Gottwald" <[EMAIL PROTECTED]>
> > To: <[EMAIL PROTECTED]>
> > Sent: Tuesday, December 09, 2003 12:00 PM
> > Subject: Re: xterm Xt error: Can't open display:
> >
> >
> >
> >>On Tue, 9 Dec 2003, cryst wrote:
> >>
> >>
> >>>[EMAIL PROTECTED]'s password:
> >>>Warning: No xauth data; using fake authentication data for X11
> >
> > forwarding.
> >
> >>>Last login: Tue Dec  9 12:29:56 2003 from 192.168.1.23
> >>>[EMAIL PROTECTED] chris $ xterm
> >>>xterm Xt error: Can't open display:
> >>>[EMAIL PROTECTED] chris $
> >>>
> >>>and the like.  This used to work.  Does anyone have any idea what is
> >
> > going
> >
> >>>wrong?
> >>
> >>
> >
http://xfree86.cygwin.com/docs/faq/cygwin-xfree-faq.html#q-ssh-no-x11forwarding
> >
> >>bye
> >>ago
> >>-- 
> >> [EMAIL PROTECTED]
> >> http://www.gotti.org   ICQ: 126018723
>
>



Re: xterm Xt error: Can't open display:

2003-12-09 Thread Jay Smith
Could it be related to mixing (as you showed in your post)
  DISPLAY=
and
  Export DISPLAY
???
The example shows:

$ DISPLAY=localhost:0.0
$ export DISPLAY
$ ssh -X remotehost
or

$ DISPLAY=localhost:0.0 ssh -X remotehost

which is different from your original post.

May you tried all the combinations already?

Jay

cryst said the following on 12/09/2003 01:06 PM:
Thanks, but I've been there and it didn't help. (Hence this list).

Any idea on how to diagnose this?

Chris Bruner

- Original Message - 
From: "Alexander Gottwald" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, December 09, 2003 12:00 PM
Subject: Re: xterm Xt error: Can't open display:



On Tue, 9 Dec 2003, cryst wrote:


[EMAIL PROTECTED]'s password:
Warning: No xauth data; using fake authentication data for X11
forwarding.

Last login: Tue Dec  9 12:29:56 2003 from 192.168.1.23
[EMAIL PROTECTED] chris $ xterm
xterm Xt error: Can't open display:
[EMAIL PROTECTED] chris $
and the like.  This used to work.  Does anyone have any idea what is
going

wrong?


http://xfree86.cygwin.com/docs/faq/cygwin-xfree-faq.html#q-ssh-no-x11forwarding

bye
ago
--
[EMAIL PROTECTED]
http://www.gotti.org   ICQ: 126018723




Re: xterm Xt error: Can't open display:

2003-12-09 Thread cryst
Thanks, but I've been there and it didn't help. (Hence this list).

Any idea on how to diagnose this?

Chris Bruner

- Original Message - 
From: "Alexander Gottwald" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, December 09, 2003 12:00 PM
Subject: Re: xterm Xt error: Can't open display:


> On Tue, 9 Dec 2003, cryst wrote:
>
> > [EMAIL PROTECTED]'s password:
> > Warning: No xauth data; using fake authentication data for X11
forwarding.
> > Last login: Tue Dec  9 12:29:56 2003 from 192.168.1.23
> > [EMAIL PROTECTED] chris $ xterm
> > xterm Xt error: Can't open display:
> > [EMAIL PROTECTED] chris $
> >
> > and the like.  This used to work.  Does anyone have any idea what is
going
> > wrong?
>
>
http://xfree86.cygwin.com/docs/faq/cygwin-xfree-faq.html#q-ssh-no-x11forwarding
>
> bye
> ago
> -- 
>  [EMAIL PROTECTED]
>  http://www.gotti.org   ICQ: 126018723



Re: xterm Xt error: Can't open display:

2003-12-09 Thread Alexander Gottwald
On Tue, 9 Dec 2003, cryst wrote:

> [EMAIL PROTECTED]'s password:
> Warning: No xauth data; using fake authentication data for X11 forwarding.
> Last login: Tue Dec  9 12:29:56 2003 from 192.168.1.23
> [EMAIL PROTECTED] chris $ xterm
> xterm Xt error: Can't open display:
> [EMAIL PROTECTED] chris $
> 
> and the like.  This used to work.  Does anyone have any idea what is going
> wrong?

http://xfree86.cygwin.com/docs/faq/cygwin-xfree-faq.html#q-ssh-no-x11forwarding

bye
ago
-- 
 [EMAIL PROTECTED] 
 http://www.gotti.org   ICQ: 126018723


xterm Xt error: Can't open display:

2003-12-09 Thread cryst
This used to work until about a month or two ago, when I upgraded my ssh.
I'm trying to open an xwindow showing my linux box's client.

>From my XP computer I do the following (using a script)
export DISPLAY=127.0.0.1:0.0
PATH=/usr/X11R6/bin:$PATH
eval `ssh-agent`
rm -rf /tmp/.X11-unix
XWin -screen 0 1024 768 &
ssh -X -l chris gecko

This starts an X server just fine, and starts an ssh session with a (gentoo)
linux box (named gecko).
so far so good.
This is what comes at the ssh session:

[EMAIL PROTECTED]'s password:
Warning: No xauth data; using fake authentication data for X11 forwarding.
Last login: Tue Dec  9 12:29:56 2003 from 192.168.1.23
[EMAIL PROTECTED] chris $ xterm
xterm Xt error: Can't open display:
[EMAIL PROTECTED] chris $


So I log in fine, it gives me a warning (which from other posts I've read
seems to be not important) but is not able to open the display.
I try exporting my display to 192.168.1.23:0.0 and 192.168.1.23:0.1 and it
returns :


[EMAIL PROTECTED] chris $ Xlib: connection to "192.168.1.23:0.0" refused by server
Xlib: No protocol specified

xterm Xt error: Can't open display: 192.168.1.23:0.0


and the like.  This used to work.  Does anyone have any idea what is going
wrong?



Re: xterm Xt error: Can't open display

2002-10-03 Thread Alex Vinokur



"Sylvain Petreolle" <[EMAIL PROTECTED]> wrote in message 
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
>
> read the FAQ :
>
> http://xfree86.cygwin.com/docs/faq/cygwin-xfree-faq.html#q-error-font-eof
> > Fatal server error:
> > could not open default font 'fixed'
> >
>

Thanks.

I reinstalled Cygwin and Cygwin/XFree86.
Now it works.

   ==
   Alex Vinokur
 mailto:[EMAIL PROTECTED]
 http://up.to/alexvn
   ==







Re: xterm Xt error: Can't open display

2002-10-03 Thread Sylvain Petreolle


read the FAQ :

http://xfree86.cygwin.com/docs/faq/cygwin-xfree-faq.html#q-error-font-eof
> Fatal server error:
> could not open default font 'fixed'
> 

___
Do You Yahoo!? -- Une adresse @yahoo.fr gratuite et en français !
Yahoo! Mail : http://fr.mail.yahoo.com



Re: xterm Xt error: Can't open display

2002-10-03 Thread Alex Vinokur


- Original Message -
From: "Sylvain Petreolle" <[EMAIL PROTECTED]>
Sent: Thursday, October 03, 2002 6:31 PM
Subject: Re: xterm Xt error: Can't open display


> you were launching an xterm not being under X.
> Post your /tmp/Xwin.log on the list and read FAQ.

-- launching 'startx' in cygwin : BEGIN --
Administrator@5AT8S8CQEEX4QHI ~
$ startx

giving up.
xinit:  Connection refused (errno 111):  unable to connect to X server
xinit:  No such process (errno 3):  Server error.

-- launching 'startx' in cygwin : END 



-- XWinn.log : BEGIN --
ddxProcessArgument () - Initializing default screens
winInitializeDefaultScreens () - w 1024 h 768
_XSERVTransmkdir: Owner of /tmp/.X11-unix should be set to root
winDetectSupportedEngines () - Windows NT/2000
winDetectSupportedEngines () - DirectDraw installed
winDetectSupportedEngines () - Allowing PrimaryDD
winDetectSupportedEngines () - DirectDraw4 installed
winDetectSupportedEngines () - Returning, supported engines 001f
winSetEngine () - Using Shadow DirectDraw NonLocking
winAdjustVideoModeShadowDDNL () - Using Windows display depth of 16 bits per pixel
winAdjustForAutoHide - Original WorkArea: 0 0 739 1024
winAdjustForAutoHide - Adjusted WorkArea: 0 0 739 1024
winCreateBoundingWindowWindowed () - WindowClient w 1018 h 713 r 1018 l 0 b 713 t 0
winCreateBoundingWindowWindowed () -  Returning
winAllocateFBShadowDDNL () - lPitch: 2036
winInitVisualsShadowDDNL () - Masks f800 07e0 001f BPRGB 6 d 16
winLayerCreate () - dwDepth 16
winRandRInit ()
winCreateDefColormap () - Deferring to fbCreateDefColormap ()
winScreenInit () - returning
Could not init font path element /usr/X11R6/lib/X11/fonts/misc/, removing from list!
Could not init font path element /usr/X11R6/lib/X11/fonts/Speedo/, removing from list!
Could not init font path element /usr/X11R6/lib/X11/fonts/Type1/, removing from list!
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/75dpi/, removing from list!
Could not init font path element /usr/X11R6/lib/X11/fonts/100dpi/, removing from list!

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

-- XWinn.log : END 

[snip]

   ==
   Alex Vinokur
 mailto:[EMAIL PROTECTED]
 http://up.to/alexvn
   ==








Re: xterm Xt error: Can't open display

2002-10-03 Thread Alex Vinokur



"Sylvain Petreolle" <[EMAIL PROTECTED]> wrote in message 
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> you were launching an xterm not being under X.
> Post your /tmp/Xwin.log on the list and read FAQ.
>
[snip]

-- Xwin.log : BEGIN --
ddxProcessArgument () - Initializing default screens
winInitializeDefaultScreens () - w 1024 h 768
_XSERVTransmkdir: Owner of /tmp/.X11-unix should be set to root
[---omitted---]

-- Xwin.log : END 


Administrator@5AT8S8CQEEX4QHI /tmp
$ ls -ld .X11-unix
drwxr-xr-x2 Administ None0 Oct  3 19:07 .X11-unix

Administrator@5AT8S8CQEEX4QHI /tmp
$ chown root .X11-unix
chown: `root': invalid user


-- /etc/passwd : BEGIN --
Everyone:*:0:0:,S-1-1-0::
SYSTEM:*:18:18:,S-1-5-18::
Administrators:*:544:544:,S-1-5-32-544::
Administrator:unused_by_nt/2000/xp:500:513:U-5AT8S8CQEEX4QHI\Administrator,S-1-5-21-602162358-839522115-547660867-500:/home/Administ
rator:/bin/bash
Guest:unused_by_nt/2000/xp:501:513:U-5AT8S8CQEEX4QHI\Guest,S-1-5-21-602162358-839522115-547660867-501:/home/Guest:/bin/bash
-- /etc/passwd : END 

   ==
   Alex Vinokur
 mailto:[EMAIL PROTECTED]
 http://up.to/alexvn
   ==







Re: xterm Xt error: Can't open display

2002-10-03 Thread Sylvain Petreolle

you were launching an xterm not being under X.
Post your /tmp/Xwin.log on the list and read FAQ.

 --- Alex Vinokur <[EMAIL PROTECTED]> a écrit : 
> "Sylvain Petreolle" <[EMAIL PROTECTED]> wrote in message
> [EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> > Obvious question : did you launch XFree (e.g launch 'startx' in
> cygwin
> > or by startxwin.bat from windows)?
> 
> -- launching 'startx' in cygwin --
> Administrator@5AT8S8CQEEX4QHI ~
> $ startx
> 
> giving up.
> xinit:  Connection refused (errno 111):  unable to connect to X
> server
> xinit:  No such process (errno 3):  Server error.
> 
> -- launching startxwin.bat from windows --
> C:\cyg_win\usr\X11R6\bin>startxwin.bat
> startxwin.bat - Starting on Windows NT/2000
> XIO:  fatal IO error 104 (Connection reset by peer) on X server
> "127.0.0.1:0.0"
>   after 0 requests (0 known processed) with 0 events remaining.
> XIO:  fatal IO error 104 (Connection reset by peer) on X server
> "127.0.0.1:0.0"
>   after 0 requests (0 known processed) with 0 events remaining.
> XIO:  fatal IO error 104 (Connection reset by peer) on X server
> "127.0.0.1:0.0"
>   after 0 requests (0 known processed) with 0 events remaining.
> 

___
Do You Yahoo!? -- Une adresse @yahoo.fr gratuite et en français !
Yahoo! Mail : http://fr.mail.yahoo.com



Re: xterm Xt error: Can't open display

2002-10-03 Thread Alex Vinokur



"Ben Calvert" <[EMAIL PROTECTED]> wrote in message 
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
>
> 1. is X running?

How can I know that ?

> 2. which user is X running as?

The same question

> 3. what machine does it think it's running on? (ie, does it know that
> 127.0.0.1 is your machine? ) i've seen windows installs without 127.0.0.1
> before.

The same question

> 4. if the above seem to be working, try "xhost + 5AT8S8CQEEX4QHI" which
> will allow anyone on that machine to run programs.  theoretically :)

Administrator@5AT8S8CQEEX4QHI ~
$ xhost + 5AT8S8CQEEX4QHI
xhost:  unable to open display "127.0.0.1:0.0"

>
>
> =
> Windows 2000 Professional
> CYGWIN_NT-5.0
> Cygwin/XFree86 4.2.0
> =
>
>
> Administrator@5AT8S8CQEEX4QHI /
> $ which xterm
> /usr/X11R6/bin/xterm
>
>
> ## Attempt-1 ##
>
> Administrator@5AT8S8CQEEX4QHI ~
> $ set | grep DISPLAY
>
> Administrator@5AT8S8CQEEX4QHI /
> $ xterm
> xterm Xt error: Can't open display:
>
>
> ## Attempt-2 ##
>
> Administrator@5AT8S8CQEEX
> $ set | grep DISPLAY
> DISPLAY=127.0.0.1:0.0
>
> Administrator@5AT8S8CQEEX4QHI ~
> $ xterm
> xterm Xt error: Can't open display: 127.0.0.1:0.0
>
>
> What is wrong ?
>

--
   ==
   Alex Vinokur
 mailto:[EMAIL PROTECTED]
 http://up.to/alexvn
   ==








Re: xterm Xt error: Can't open display

2002-10-03 Thread Alex Vinokur

"Sylvain Petreolle" <[EMAIL PROTECTED]> wrote in message 
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> Obvious question : did you launch XFree (e.g launch 'startx' in cygwin
> or by startxwin.bat from windows)?

-- launching 'startx' in cygwin --
Administrator@5AT8S8CQEEX4QHI ~
$ startx

giving up.
xinit:  Connection refused (errno 111):  unable to connect to X server
xinit:  No such process (errno 3):  Server error.

-- launching startxwin.bat from windows --
C:\cyg_win\usr\X11R6\bin>startxwin.bat
startxwin.bat - Starting on Windows NT/2000
XIO:  fatal IO error 104 (Connection reset by peer) on X server "127.0.0.1:0.0"
  after 0 requests (0 known processed) with 0 events remaining.
XIO:  fatal IO error 104 (Connection reset by peer) on X server "127.0.0.1:0.0"
  after 0 requests (0 known processed) with 0 events remaining.
XIO:  fatal IO error 104 (Connection reset by peer) on X server "127.0.0.1:0.0"
  after 0 requests (0 known processed) with 0 events remaining.


>
>  --- Alex Vinokur <[EMAIL PROTECTED]> a écrit : > =
> > Windows 2000 Professional
> > CYGWIN_NT-5.0
> > Cygwin/XFree86 4.2.0
> > =
> >
> >
> > Administrator@5AT8S8CQEEX4QHI /
> > $ which xterm
> > /usr/X11R6/bin/xterm
> >
> >
> > ## Attempt-1 ##
> >
> > Administrator@5AT8S8CQEEX4QHI ~
> > $ set | grep DISPLAY
> >
> > Administrator@5AT8S8CQEEX4QHI /
> > $ xterm
> > xterm Xt error: Can't open display:
> >
> >
> > ## Attempt-2 ##
> >
> > Administrator@5AT8S8CQEEX
> > $ set | grep DISPLAY
> > DISPLAY=127.0.0.1:0.0
> >
> > Administrator@5AT8S8CQEEX4QHI ~
> > $ xterm
> > xterm Xt error: Can't open display: 127.0.0.1:0.0
> >
> >
> > What is wrong ?
> >
> >==
> >Alex Vinokur
> >  mailto:[EMAIL PROTECTED]
> >  http://up.to/alexvn
> >==
> >
> >
> >
> >
> >
> >
> >
>
> ___
> Do You Yahoo!? -- Une adresse @yahoo.fr gratuite et en français !
> Yahoo! Mail : http://fr.mail.yahoo.com
>







Re: xterm Xt error: Can't open display

2002-10-03 Thread Ben Calvert


1. is X running?
2. which user is X running as?
3. what machine does it think it's running on? (ie, does it know that
127.0.0.1 is your machine? ) i've seen windows installs without 127.0.0.1
before.
4. if the above seem to be working, try "xhost + 5AT8S8CQEEX4QHI" which
will allow anyone on that machine to run programs.  theoretically :)


   
   
"Alex Vinokur" 
   
<[EMAIL PROTECTED]>  To: [EMAIL PROTECTED]  
   
Sent by:  cc:  
   
cygwin-xfree-owner@   Subject: xterm Xt error: Can't open 
display 
cygwin.com 
   
   
   
   
   
10/03/2002 09:55 AM
   
Please respond to  
   
cygwin-xfree   
   
   
   
   
   




=
Windows 2000 Professional
CYGWIN_NT-5.0
Cygwin/XFree86 4.2.0
=


Administrator@5AT8S8CQEEX4QHI /
$ which xterm
/usr/X11R6/bin/xterm


## Attempt-1 ##

Administrator@5AT8S8CQEEX4QHI ~
$ set | grep DISPLAY

Administrator@5AT8S8CQEEX4QHI /
$ xterm
xterm Xt error: Can't open display:


## Attempt-2 ##

Administrator@5AT8S8CQEEX
$ set | grep DISPLAY
DISPLAY=127.0.0.1:0.0

Administrator@5AT8S8CQEEX4QHI ~
$ xterm
xterm Xt error: Can't open display: 127.0.0.1:0.0


What is wrong ?

   ==
   Alex Vinokur
 mailto:[EMAIL PROTECTED]
 http://up.to/alexvn
   ==














Re: xterm Xt error: Can't open display

2002-10-03 Thread Sylvain Petreolle

Obvious question : did you launch XFree (e.g launch 'startx' in cygwin
or by startxwin.bat from windows)?

 --- Alex Vinokur <[EMAIL PROTECTED]> a écrit : > =
> Windows 2000 Professional
> CYGWIN_NT-5.0
> Cygwin/XFree86 4.2.0
> =
> 
> 
> Administrator@5AT8S8CQEEX4QHI /
> $ which xterm
> /usr/X11R6/bin/xterm
> 
> 
> ## Attempt-1 ##
> 
> Administrator@5AT8S8CQEEX4QHI ~
> $ set | grep DISPLAY
> 
> Administrator@5AT8S8CQEEX4QHI /
> $ xterm
> xterm Xt error: Can't open display:
> 
> 
> ## Attempt-2 ##
> 
> Administrator@5AT8S8CQEEX
> $ set | grep DISPLAY
> DISPLAY=127.0.0.1:0.0
> 
> Administrator@5AT8S8CQEEX4QHI ~
> $ xterm
> xterm Xt error: Can't open display: 127.0.0.1:0.0
> 
> 
> What is wrong ?
> 
>==
>Alex Vinokur
>  mailto:[EMAIL PROTECTED]
>  http://up.to/alexvn
>==
> 
> 
> 
> 
> 
> 
>  

___
Do You Yahoo!? -- Une adresse @yahoo.fr gratuite et en français !
Yahoo! Mail : http://fr.mail.yahoo.com



xterm Xt error: Can't open display

2002-10-03 Thread Alex Vinokur

=
Windows 2000 Professional
CYGWIN_NT-5.0
Cygwin/XFree86 4.2.0
=


Administrator@5AT8S8CQEEX4QHI /
$ which xterm
/usr/X11R6/bin/xterm


## Attempt-1 ##

Administrator@5AT8S8CQEEX4QHI ~
$ set | grep DISPLAY

Administrator@5AT8S8CQEEX4QHI /
$ xterm
xterm Xt error: Can't open display:


## Attempt-2 ##

Administrator@5AT8S8CQEEX
$ set | grep DISPLAY
DISPLAY=127.0.0.1:0.0

Administrator@5AT8S8CQEEX4QHI ~
$ xterm
xterm Xt error: Can't open display: 127.0.0.1:0.0


What is wrong ?

   ==
   Alex Vinokur
 mailto:[EMAIL PROTECTED]
 http://up.to/alexvn
   ==