X errors

I'm trying to set up x2x between my desktop and laptop, and as a precondition to that, I'm just trying to get each to be able to display programs on the other (e.g. "desktop$ xterm -display laptop:0").

OS is Ubuntu 5.10 and X version is X.org 6.8.2

I've set up X to run without -nolisten, and I've (for the purposes of testing only) set xhost + on both machines. Once i have the basic functionality there, I will switch to MIT-MAGIC-COOKIE. The problem is, when I try to run an xterm from one machine to the other I get the following errors:

desktop$ xterm -display notebook:0
Xlib: connection to "notebook:0.0" refused by server
Xlib: No protocol specified

xterm Xt error: Can't open display: catfish:0

/var/log/Xorg.0.log on the notebook has the following:

AUDIT: Fri Feb 3 12:40:44 2006: 8026 X: client 22 rejected from IP 192.168.0.155

Does anyone know what's going wrong?

THanks,
Alex

try running "xhost +" on the laptop first and then try the connection again ...