On Wed, 30 Mar 2005 13:23:01 +0200, Hans-Werner Hilse <[EMAIL PROTECTED]> wrote: > Hi, > > I'm very late to answer in this thread and i must admit that I didn't > read every post so far. But it seems to me everything goes the wrong > way... > > On Sat, 26 Mar 2005 15:55:13 -0800 > Mark Knecht <[EMAIL PROTECTED]> wrote: > > > I'm now logged on successfully to a remote machine. I can run X apps > > and display them here successfully. Let's say that I wanted to run > > Gnome on the machine at the other end but see it displayed here on > > display #2. How can I do that? If I do the same startx -- :2 it > > creates a second display at the far end. I'd like to pipe that to a > > second display here but I haven't grasped how to do that. > > > > I know it will be slow but there are reasons I need to use it > > occasionally. I figure it won't be any worse (I hope) than running > > tight-vnc. > > Well, it's exactly the same. What you're searching for seems to be "Xnest". > Starting it would look like this: > > remote$ xinit /usr/bin/pekwm -- /usr/bin/Xnest -geometry 640x480 -nolisten > tcp > > replace /usr/bin/pekwm by your actual window manager (or leave it out > to go the "normal" way that's configured for your remote user).
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. > > 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 Release Date: 18 December 2003 X Protocol Version 11, Revision 0, Release 6.7 Build Operating System: Linux 2.4.21-23.ELsmp i686 [ELF] Current Operating System: Linux Godzilla 2.6.10-2.1.ll.rhfc2.ccrma #1 Thu Dec 30 06:24:24 EST 2004 i686 Build Date: 24 March 2005 Build Host: bugs.build.redhat.com Before reporting problems, check http://wiki.X.Org to make sure that you have the latest version. Module Loader present OS Kernel: Linux version 2.6.10-2.1.ll.rhfc2.ccrma ([EMAIL PROTECTED]) (gcc version 3.3.3 20040412 (Red Hat Linux 3.3.3-7)) #1 Thu Dec 30 06:24:24 EST 2004 Markers: (--) probed, (**) from config file, (==) default setting, (++) from command line, (!!) notice, (II) informational, (WW) warning, (EE) error, (NI) not implemented, (??) unknown. (==) Log file: "/var/log/Xorg.1.log", Time: Wed Mar 30 09:12:14 2005 (==) Using config file: "/etc/X11/xorg.conf" 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 That certainly has nothing to do with -nolisten tcp. The results are identical on my Gentoo machines. Cheers, Mar -- gentoo-user@gentoo.org mailing list