Search


About StarNet

StarNet Communications has been a leading developer of X Windows solutions since 1989. After establishing X-Win32 as the de facto standard in the higher education market during the early to mid-1990s -- 150 unlimited Campus Site Licenses worldwide -- X-Win32 has become of one the top three PC X servers in the government and commercial sectors as well.

Unlike its major rivals, Exceed (Hummingbird) and Reflection-X (WRQ/Attachmate), X-Win32 offers a highly focused PC X server that offers superior performance and productivity features, stability, ease of use and low cost (40% or better in most cases).

StarNet also delivers unequaled customer support. Our state-of-the-art engineering infrastructure allows us to fix problems and make a new release available quickly (overnight in many cases). As our testimonials page shows, StarNet customers consistently rate their X-Win32 experience as the best in the industry.




X11 forwarding refused

When starting an SSH session, if you get the error Cannot Open Display in X-Win32’s status window, the remote host may not have X11 Forwarding (or X11 Tunneling) enabled. SSH sessions use X11 Forwarding by default to connect the remote X Client (e.g. xterm, konsole, mozilla, firefox, dtterm, gnome-terminal, etc.) back to X-Win32.

To fix this problem you need to enable X11 forwarding on your remote ssh server (or sshd, typically OpenSSH):

  1. Find your sshd_config file
    1. For OpenSSH on Linux, this is typically located at /etc/ssh/sshd_config (note: this is not the same as /etc/ssh/ssh_config, which is used for configuring the ssh client settings)
    2. Read the man page for sshd_config, which may specify the location of the file (run man sshd_config)
    1. If you still cannot find the file, run find / -maxdepth 3 -name sshd_config to try to find it
    2. Edit the file as root
    3. Find the line
      X11Forwarding no
      or the line
      #X11Forwarding no
    4. Change the line to
      X11Forwarding yes
    1. Save the file
  1. Restart sshd

    You can enable X11 Forwarding on an individual user basis.

  2. Create or Edit the $HOME/.ssh/config file
  1. Add the line
    ForwardX11 yes

    See Also:
    How do I restart sshd

    Cateogry:Errors
    Category:Sessions -> SSH




How Can We Improve This KB Article?

Please rate the quality of this article: Excellent Good Fair Poor

Did this article answer your question? If not, we'd like to hear more about it:

Do you need additional assistance? If so, enter your email address:

Articles are periodically updated based on your feedback. If you enter an email address, then you will be given the opportunity to open a case, for which you will receive a response within 2 business days.