xterm fails after update cygwin

classic Classic list List threaded Threaded
7 messages Options
Reply | Threaded
Open this post in threaded view
|

xterm fails after update cygwin

tmacchant
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
Reply | Threaded
Open this post in threaded view
|

Re: xterm fails after update cygwin

tmacchant
**********************************************************
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
Reply | Threaded
Open this post in threaded view
|

Re: xterm fails after update cygwin

Jon TURNEY
CONTENTS DELETED
The author has deleted this message.
Reply | Threaded
Open this post in threaded view
|

Re: xterm fails after update cygwin

tmacchant
> [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
Reply | Threaded
Open this post in threaded view
|

Re: xterm fails after update cygwin

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

Reply | Threaded
Open this post in threaded view
|

Re: xterm fails after update cygwin

Jon TURNEY
CONTENTS DELETED
The author has deleted this message.
Reply | Threaded
Open this post in threaded view
|

Re: xterm fails after update cygwin

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