Learn how to a build a cloud-first strategyRegister Now

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 566
  • 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
0
IKeystone
Asked:
IKeystone
1 Solution
 
wesly_chenCommented:
> Xlib: connection to "IP:1.0" refused by server
1. In Cygwin-X, type in
xterm
to see if another X-terminal show up or not.

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

Then test with
telnet <remote hostname>

Or use ssh:
ssh -X <username>@<remote hostname>
without "xhost +"
0

Featured Post

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

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