Tiny Core Linux

Tiny Core Base => TCB Q&A Forum => Topic started by: phh on March 25, 2009, 01:41:09 PM

Title: How do I ssh -XC with dropbear to forward X11 securely (and conveniently)
Post by: phh on March 25, 2009, 01:41:09 PM
I would like to use Tiny Core as a simple xserver.

With other linux machines I often use OpenSSH client/server to securely forward X with compression. I am wondering how to use the Dropbear client to connect to an OpenSSH server to acheive the same effect?

I would typically connect to the remote machine using the openssh client:

ssh -XC username@remotemachinename

then run xcalc for example

xcalc &

Then I would have an instance of xcalc running on the remote machine (running openssh server) but being forwarded back to the machine I am connecting from (hopefully the machine running tinycore). OpenSSH makes forwarding X so easy. Am I missing something with Dropbear?

If it is not possible, is anyone aware of an openssh client package for Tiny Core?
Title: Re: How do I ssh -XC with dropbear to forward X11 securely (and conveniently)
Post by: softwaregurl on March 25, 2009, 01:58:05 PM
dropbear does not support X forwarding.

I am trying to compile something that does.

Edit: Posting with Iceweasel on Debian from Tiny Core via OpenSSH X11 forwarding.
Just a couple of glitches still to work out in the configurations.
Title: Re: How do I ssh -XC with dropbear to forward X11 securely (and conveniently)
Post by: philip on March 28, 2009, 01:52:33 AM
Have you considered using vnc to view your X applications? dropbear tunnels vnc just fine, and this combo is fater than ssh -XC. Various vnc packages are available for TC: I use realvnc-4.1.1.tcel with good results.
Title: Re: How do I ssh -XC with dropbear to forward X11 securely (and conveniently)
Post by: curaga on March 28, 2009, 06:08:18 AM
Seems only the dropbear server supports X forwarding. I wonder why they haven't implemented it in the client.
Title: Re: How do I ssh -XC with dropbear to forward X11 securely (and conveniently)
Post by: oldtimer on March 28, 2009, 07:47:52 PM
Dropbear was intended for embedded applications - such as a router.  No local monitor, graphics card and xserver means no x11 forwarding to the embedded ssh client.  The router could have x11 client apps. and Dropbear server is capable of x11 forwarding to an OpenSSH client.