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/



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


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 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
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 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 PROTECTED
 To: 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 PROTECTED
   To: 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

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

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 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 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\binstartxwin.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


- 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]...
 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\binstartxwin.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