Hi, On Wed, 30 Mar 2005 09:14:26 -0800 Mark Knecht <[EMAIL PROTECTED]> wrote:
> I'm sorry. I thought I had explained that this is a mixed set of > machines. 2 Gentoo and 4 FC2. I do not seem to have Xnest available on > any of the FC2 machines and really don't want to go down the path of > downloading and compiling anything for those 4 boxes. Thanks for the > input though. Hm, OK. It's not available as a separate package? (this is the case with debian, where xnest has its own package) > > By the way: having X listen on TCP is *not* necessary to use SSH's X > > forwarding. Your problems with SSH tunneling are related to Xauth, i > > think, but hopefully that stuff above is already enough information... > > Yes, I guess I've slowly learned that part. > > 1) I can run a local app and display it to display :0 > 2) I can use ssh and display an X app to display :0 > 3) Trying to run a local app and display it on display :1 fails. On > an FC2 box I start Xorg in one xterm: > > [EMAIL PROTECTED] mark]$ Xorg :1 > In another xterm I then attempt to run xeyes and show it on display :1 > > [EMAIL PROTECTED] mark]$ xeyes -display :1 > Xlib: connection to ":1.0" refused by server > Xlib: No protocol specified > > Error: Can't open display: :1 > [EMAIL PROTECTED] mark]$ > and in the original xterm where I started Xorg I see: > > (==) Log file: "/var/log/Xorg.1.log", Time: Wed Mar 30 09:12:14 2005 > (==) Using config file: "/etc/X11/xorg.conf" > AUDIT: Wed Mar 30 09:13:37 2005: 19095 Xorg: client 1 rejected from local host Yes, that's Xauth. Read "man xauth" and try one of these: 1. xhost +localhost 2. set up xauth (see aforementioned man page) X has an additional security layer on top of its own protocols. That is managed by the xauth extension and is configured by the program "xauth". SSH cares for that for the "primary" connection, its own tunnel. BTW, that's also the explanation for some SSH complaints about xauth on servers that don't have X (and its libraries) installed. OTOH, you won't be able to display that apps on :2 on your controlling host, as :2 will be opened only on remote side and displayed on the screen there. You'd need some vnc server running on top of that X on :2 to actually display it on the remote side. I wouldn't recommend it (as long as its not VNC4, which has some better integration into X) for performance issues. Xnest, my suggestion, is essentially a X server that displays to a X window. This sounded like what you've been searching for. You could use "lbxproxy" together with that (also in the Xorg/XFree distribution) to lower bandwith consumption. NX (another suggestion in this thread) is just a polished version of that. HWH -- [email protected] mailing list
