[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Edlug Archive Apr 2004 ]

Re: [edlug] X Question - running on different machine




Steve Kemp wrote:


On Thu, Apr 08, 2004 at 01:05:04PM +0100, michael calwell wrote:


I have 2 machines, let's call them machine A and machine B.
On Machine A, I run an X Server. It uses GDM to run X.

I want to run the window manager, plus the desktop on machine B, using the X server on machine A.



Well you will need an X server on machine B to do the displaying
so I'm not sure if I'm understanding you correctly.



I'm probably not explaining myself well enough!


I don't need any X stuff running on machine B - ( I could give you a ps listing but it would be long and boring - but I can assure you that there's no X stuff running on it.

I can simply telnet to the box, export the display to be DISPLAY=machinea:1, and then kick off an x app from that telnet session, which then appears on my box.

Instead of running simple apps, I want to run the whole window manager. But I can't do that unless I go to Display 1, start a WM and permit connections to that WM. But then if I try to run a WM, well, lo and behold, there's already a WM running on Display1, it's the one I had to start to run xauth!

Ultimately, I want to be able to go Shift+F7 to get machine A up, and Shift+F8 to get machine B up, etc.


From the sounds of things you can use the display forwarding features of SSH (ssh -X a) to login to machine A from B and then run XNest - this lets you start another X session inside on already running (nested).

 Within the nested session you can run a window manager or whatever
else you wish.

Steve
--





-
----------------------------------------------------------------------
You can find the EdLUG mailing list FAQ list at:
http://www.edlug.org.uk/list_faq.html



This archive is kept by wibble@morpheux.org.DONTSPAMME
homepage