public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
* xterm fails after update cygwin
@ 2015-04-06  0:13 tmacchant
  2015-04-07 23:01 ` tmacchant
  0 siblings, 1 reply; 7+ messages in thread
From: tmacchant @ 2015-04-06  0:13 UTC (permalink / raw)
  To: cygwin

I have updated cygwin on 4 April.
The last updated date is about middle of February.

After the update I cannot use X.

Startup batch file,
*********************************
@echo off
SET DISPLAY=127.0.0.1:0.0
C:
chdir C:\cygwin64\bin

start C:\cygwin64\bin\mintty.exe -i /Cygwin-Terminal.ico -
**************************************
and Cygwin X start from clicking windows shortcut with command
C:\cygwin64\bin\XWin.exe -multiwindow

I have been able to X without problem before cygwin update.


From mintty window
*****************************************
$ xterm &
[1] 4740

$ xterm: Xt error: Can't open display: 127.0.0.1:0.0
*****************************************

What am I wrong for X?

Tatsuro



--
View this message in context: http://cygwin.1069669.n5.nabble.com/xterm-fails-after-update-cygwin-tp117317.html
Sent from the Cygwin list mailing list archive at Nabble.com.

--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: xterm fails after update cygwin
  2015-04-06  0:13 xterm fails after update cygwin tmacchant
@ 2015-04-07 23:01 ` tmacchant
  2015-04-08 17:13   ` Jon TURNEY
  0 siblings, 1 reply; 7+ messages in thread
From: tmacchant @ 2015-04-07 23:01 UTC (permalink / raw)
  To: cygwin

**********************************************************
I have updated cygwin on 4 April. 
The last updated date is about middle of February. 

After the update I cannot use X. 

Startup batch file, 
********************************* 
@echo off 
SET DISPLAY=127.0.0.1:0.0 
C: 
chdir C:\cygwin64\bin 

start C:\cygwin64\bin\mintty.exe -i /Cygwin-Terminal.ico - 
************************************** 
and Cygwin X start from clicking windows shortcut with command 
C:\cygwin64\bin\XWin.exe -multiwindow 

I have been able to X without problem before cygwin update. 


From mintty window 
***************************************** 
$ xterm & 
[1] 4740 

$ xterm: Xt error: Can't open display: 127.0.0.1:0.0 
***************************************** 

What am I wrong for X? 
******************************************************

Is the above related to the below?

Xorg server always starting up on DISPLAY 3.0
http://cygwin.1069669.n5.nabble.com/Xorg-server-always-starting-up-on-DISPLAY-3-0-td117063.html

Tatsuro




--
View this message in context: http://cygwin.1069669.n5.nabble.com/xterm-fails-after-update-cygwin-tp117317p117329.html
Sent from the Cygwin list mailing list archive at Nabble.com.

--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: xterm fails after update cygwin
  2015-04-07 23:01 ` tmacchant
@ 2015-04-08 17:13   ` Jon TURNEY
  2015-04-09  0:21     ` tmacchant
  0 siblings, 1 reply; 7+ messages in thread
From: Jon TURNEY @ 2015-04-08 17:13 UTC (permalink / raw)
  To: cygwin; +Cc: tmacchant

On 08/04/2015 00:01, tmacchant wrote:
> I have been able to X without problem before cygwin update.
>
>  From mintty window
> *****************************************
> $ xterm &
> [1] 4740
>
> $ xterm: Xt error: Can't open display: 127.0.0.1:0.0
> *****************************************
>
> What am I wrong for X?
> ******************************************************
>
> Is the above related to the below?
>
> Xorg server always starting up on DISPLAY 3.0
> http://cygwin.1069669.n5.nabble.com/Xorg-server-always-starting-up-on-DISPLAY-3-0-td117063.html

[1] seem more likely to be relevant

i.e. you should write DISPLAY=:0.0 rather than DISPLAY=127.0.0.1:0.0

[1] https://cygwin.com/ml/cygwin/2015-03/msg00240.html

-- 
Jon TURNEY
Volunteer Cygwin/X X Server maintainer

--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: xterm fails after update cygwin
  2015-04-08 17:13   ` Jon TURNEY
@ 2015-04-09  0:21     ` tmacchant
  2015-04-09  0:41       ` tmacchant
  0 siblings, 1 reply; 7+ messages in thread
From: tmacchant @ 2015-04-09  0:21 UTC (permalink / raw)
  To: cygwin

> [1] seem more likely to be relevant 
> 
> i.e. you should write DISPLAY=:0.0 rather than DISPLAY=127.0.0.1:0.0 
> 
> [1] https://cygwin.com/ml/cygwin/2015-03/msg00240.html

DISPLAY=:0.0 makes me to see xterm!

Thanks! Tatsuro



--
View this message in context: http://cygwin.1069669.n5.nabble.com/xterm-fails-after-update-cygwin-tp117317p117348.html
Sent from the Cygwin list mailing list archive at Nabble.com.

--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: xterm fails after update cygwin
  2015-04-09  0:21     ` tmacchant
@ 2015-04-09  0:41       ` tmacchant
  2015-04-09 12:59         ` Jon TURNEY
  0 siblings, 1 reply; 7+ messages in thread
From: tmacchant @ 2015-04-09  0:41 UTC (permalink / raw)
  To: cygwin

> DISPLAY=:0.0 makes me to see xterm! 

Note that so far I can share Cygwin/X for both 32 bit and 64 bit.
But now it should be started separatedly

(I am using both 32 bit and 64 bit version because I'm providing cvs
snapshot of gnuplot on both 32 and 64 bit.)

Tatsuro





--
View this message in context: http://cygwin.1069669.n5.nabble.com/xterm-fails-after-update-cygwin-tp117317p117349.html
Sent from the Cygwin list mailing list archive at Nabble.com.

--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: xterm fails after update cygwin
  2015-04-09  0:41       ` tmacchant
@ 2015-04-09 12:59         ` Jon TURNEY
  2015-04-09 13:39           ` tmacchant
  0 siblings, 1 reply; 7+ messages in thread
From: Jon TURNEY @ 2015-04-09 12:59 UTC (permalink / raw)
  To: cygwin; +Cc: tmacchant

On 09/04/2015 01:40, tmacchant wrote:
>> DISPLAY=:0.0 makes me to see xterm!
>
> Note that so far I can share Cygwin/X for both 32 bit and 64 bit.
> But now it should be started separately
>
> (I am using both 32 bit and 64 bit version because I'm providing cvs
> snapshot of gnuplot on both 32 and 64 bit.)

Because 32-bit and 64-bit cygwin are completely independent, it's not 
possible for a a 32-bit cygwin X client to connect via a unix-domain 
socket to a 64-bit cygwin X server (and vice versa)

So if you want that to work, you will have to use and allow TCP, as 
described in [1]

[1] 
http://x.cygwin.com/docs/faq/cygwin-x-faq.html#q-local-noncygwin-clients-cant-connect

-- 
Jon TURNEY
Volunteer Cygwin/X X Server maintainer

--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: xterm fails after update cygwin
  2015-04-09 12:59         ` Jon TURNEY
@ 2015-04-09 13:39           ` tmacchant
  0 siblings, 0 replies; 7+ messages in thread
From: tmacchant @ 2015-04-09 13:39 UTC (permalink / raw)
  To: cygwin

> Because 32-bit and 64-bit cygwin are completely independent, it's not 
possible for a a 32-bit cygwin X client to connect via a unix-domain 
socket to a 64-bit cygwin X server (and vice versa)  

Thank you for your conprephensive explanation.

Now I made a windows (Dos) batch file to start both 32 and 64 bit X. 

Tatsuro




--
View this message in context: http://cygwin.1069669.n5.nabble.com/xterm-fails-after-update-cygwin-tp117317p117366.html
Sent from the Cygwin list mailing list archive at Nabble.com.

--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2015-04-09 13:39 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-04-06  0:13 xterm fails after update cygwin tmacchant
2015-04-07 23:01 ` tmacchant
2015-04-08 17:13   ` Jon TURNEY
2015-04-09  0:21     ` tmacchant
2015-04-09  0:41       ` tmacchant
2015-04-09 12:59         ` Jon TURNEY
2015-04-09 13:39           ` tmacchant

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).