• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 571
  • Last Modified:

Cygwin problem to open remote X-WINDOW

Hello experts,
I have problem with open X-Window with Cygwin
I can open xclock for example in terminals that I initially connected after Cygwin open.
But after I make rlogin to another account even on same Unix Box I receive the message:
Xlib: connection to "IP:1.0" refused by server
Xlib: No protocol specified

I made DISPLAY before but nothing help.
I use command:

run XWin :1 -clipboard -emulate3buttons 100 -query MyUnixBox -fp tcp/MyUnixBox:7000

Please help
1 Solution
> Xlib: connection to "IP:1.0" refused by server
1. In Cygwin-X, type in
to see if another X-terminal show up or not.

2. If yes, then as root in cygwin-X, type
xhost +<remote hostname>
xhost +

Then test with
telnet <remote hostname>

Or use ssh:
ssh -X <username>@<remote hostname>
without "xhost +"
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Cloud Class® Course: Microsoft Exchange Server

The MCTS: Microsoft Exchange Server 2010 certification validates your skills in supporting the maintenance and administration of the Exchange servers in an enterprise environment. Learn everything you need to know with this course.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now