[OLUG] X11 forwarding with ssh

puzzled puzzled at home.com
Sat Jan 8 19:55:06 UTC 2000



    Since we're talking X11 forwarding and the like - how do I let another
user access my X display? I log in as 'puzzled' which matches my at home
account and I su to run netscape again to read email for
ccdp at optimumdata.com. If I could figure out how to do it I'd run a separate
netscape for puzzled at home.com, nealrauhauser at home.com, ccdp at optimumdata.com,
and I'd probably create another slot for olug and other mailing lists I
read.



pohl at screaming.org wrote:

> >  ssh -v (not -d) 24.3.233.120 yields the following:
>
> Yes, "-v" is equivalent to "-d 2", according to the man page.
>
> > cx54647-b.omhaw1.ne.home.com: Remote: Remote host has no X11 installed.
> >
> > I knew they were going to be text only when I installed them so I
> > completely ignored any X11 stuff to save disk space.
> >
> > The next big question ... what is the minimal stuff to install to
> > get an X client box working? I don't have any particular app in mind
> > yet, I am just starting to play ....
>
> If you have a *.deb or *.rpm based packaging system, start with
> an X11 package that claims to be a "base" or "common" package.
> You might find that this will be enough to get xterm going as
> a test client program.  You'll also need xauth, because sshd
> tries to exec(3) it, but that would probably come in the base
> X package.  Debian will try to throw a bunch of "recommended"
> packages at you, which you'll have to manually deselect if you're
> looking for a bare-minimum client install, I think.
>
> The following lists what libraries xterm requires on my
> system, so it could help you while you're looking through
> packages.
>
> evol:/etc/ssh2# ldd `which xterm`
>         libXaw.so.6 => /usr/X11R6/lib/libXaw.so.6 (0x40019000)
>         libXmu.so.6 => /usr/X11R6/lib/libXmu.so.6 (0x40051000)
>         libXt.so.6 => /usr/X11R6/lib/libXt.so.6 (0x40063000)
>         libSM.so.6 => /usr/X11R6/lib/libSM.so.6 (0x400ab000)
>         libICE.so.6 => /usr/X11R6/lib/libICE.so.6 (0x400b5000)
>         libXext.so.6 => /usr/X11R6/lib/libXext.so.6 (0x400cb000)
>         libX11.so.6 => /usr/X11R6/lib/libX11.so.6 (0x400d7000)
>         libncurses.so.4 => /lib/libncurses.so.4 (0x40176000)
>         libc.so.6 => /lib/libc.so.6 (0x401c4000)
>         /lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x40000000)
>
> The good news is that sshd probably won't need to be rebuilt
> with X support.
>
> -------------------------------------------------------------------------
> Sent by OLUG Mailing list Manager, run by ezmlm.  http://olug.bstc.net/
> To unsubscribe: `echo unsubsribe | mail olug-unsubscribe at bstc.net`


-------------------------------------------------------------------------
Sent by OLUG Mailing list Manager, run by ezmlm.  http://olug.bstc.net/ 
To unsubscribe: `echo unsubsribe | mail olug-unsubscribe at bstc.net` 



More information about the OLUG mailing list