Remote X

John (EBo) David plug-discuss@lists.PLUG.phoenix.az.us
Mon, 17 Sep 2001 02:04:04 -0700


"der.hans" wrote:
> 
> Am 17. Sep, 2001 schwätzte Nathan England so:
> 
> > My monitor on my worstation just died, and since I'll be moving in about
> > 8 months, I don't want to buy another...I'll just be selling it again.
> >
> > I got a second X window on my laptop working so I can log in twice if I
> > wished now using gdm, but what I can't figure out is how do I get my X
> > display from my workstation on 0.1 of my laptop??
> >
> > ctrl-alt-F7 is my laptop
> > ctrl-alt-F8 is my desktop
> 
> I forget how to do that. Can't you just ssh to desktop, then run something
> like "startx -- :1"? Might actually need to start X on the desktop, then
> attach to it from the laptop.
> 
> BTW, from laptop X try sshing to desktop, then running Xnest. It works
> pretty well across a local network. Sucks across the 'Net. Xnest over ssh
> would also make all the commo secure.

hmmm... you also need to set the DISPLAY variable to something like
setenv DISPLAY laptop_name:0.0

and make sure that the laptop has set the "xhost +desktop_name" so that
the laptop will receive the stuff from the desktop...

  EBo --