Cygwin problem to open remote X-WINDOW

Posted on 2005-05-12
Last Modified: 2013-12-27
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
Question by:IKeystone
    1 Comment
    LVL 38

    Accepted 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 +"

    Featured Post

    6 Surprising Benefits of Threat Intelligence

    All sorts of threat intelligence is available on the web. Intelligence you can learn from, and use to anticipate and prepare for future attacks.

    Join & Write a Comment

    This tech tip describes how to install the Solaris Operating System from a tape backup that was created using the Solaris flash archive utility. I have used this procedure on the Solaris 8 and 9 OS, and it shoudl also work well on the Solaris 10 rel…
    Every server (virtual or physical) needs a console: and the console can be provided through hardware directly connected, software for remote connections, local connections, through a KVM, etc. This document explains the different types of consol…
    Learn how to find files with the shell using the find and locate commands. Use locate to find a needle in a haystack.: With locate, check if the file still exists.: Use find to get the actual location of the file.:
    Learn how to navigate the file tree with the shell. Use pwd to print the current working directory: Use ls to list a directory's contents: Use cd to change to a new directory: Use wildcards instead of typing out long directory names: Use ../ to move…

    733 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    21 Experts available now in Live!

    Get 1:1 Help Now