Hands on X11
Subject:   X11 and $DISPLAY issues
Date:   2003-06-25 12:33:23
From:   anonymous2

I've tried almost everything I can think of to get Xapps to display on my Mac (ver 10.2.6) using X11 (ver Beta 3 - XFree86 4.2.1). I am connecting to a Unix network, but I have to connect remotely through a separate network (I'll call it school) to get to the inside network... Looks sort of like:


I am able to connect to just fine, but when I try to run any xwindow (say xclock) I get the error:

X11 connection rejected because of wrong authentication.
X connection to localhost:10.0 broken (explicit kill or server shutdown).

I have tried using "setenv DISPLAY IP:0" and variations on it and nothing seems to work.

I am connecting thru DHCP with router at a local coffee house.

Even the network administrator at gave me full permissions to under the specific IP I have right now, but I think the router is getting in the way and doesn't recognize the IP I am at because of the router. Does that make sense? When I try to ssh directly to (which theoretically I should be able to do because I have the full permissions), I recieve the error:

ssh_exchange_identification: Connection closed by remote host

That's why I think the router is getting in the way. I have checked sshd_config and X11forwarding is set to "yes" (on my laptop, on the account, and on

I know this is a little confusing, but if anyone can help out or has any suggestions, I would REALLY appreciate it!

Thanks for your time,


1 to 1 of 1
  1. X11 and $DISPLAY issues
    2003-09-18 07:22:05  anonymous2 [View]

1 to 1 of 1