[OLUG] X11 forwarding with ssh

pohl at screaming.org pohl at screaming.org
Sat Jan 8 17:51:08 UTC 2000


>  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` 



More information about the OLUG mailing list