[NTLUG:Discuss] Good XTerm client for MS

Robert Pearson e2eiod at gmail.com
Sat Nov 26 20:23:21 CST 2005


On 11/26/05, Stephen Davidson <gorky at freenet.carleton.ca> wrote:
>
> How do I start a Cygwin window?  The Icon for Cygwin starts a Bash
> Shell, but "xhost +" gives
>     xhost: unable to open display ""
> I am missing something really basic here.
>
> Btw, I tried "export DISPLAY=localhost:0.0", as well as "export
> DISPLAY=localhost:10.0".  Both gave the same result.
>
> Help?

I don't run Cygwin so I'm not much help.
Windows owns the local DISPLAY but Cygwin has to do something to gain
permission to use it.
When I Google for "cygwin xhost display" I get a number of hits.
These hits talk about this problem but are split between two solutions.
One group says you only need to use "ssh -X" rather than "xhost +".
The other group says you have to do "xhost +".

One suggestion from Google---
" For ssh -X to work (the cygwin incarnation),
" you need have the DISPLAY environment variable set already...
" Prior to starting ssh, just do
" export DISPLAY=:0
" in the cygwin bash window (and perhaps start the local local X server too)

Both groups talk about two ways to start Cygwin.
Since I can't duplicate the problem in Cygwin I am out of advice.
It is an "X" permissions problem. I got the same thing with SuSE 9.3
until I started using "ssh -X" or "xhost +".
For Security reasons I tried using an explicit IP address but that
has never worked.

Robert




More information about the Discuss mailing list