View Single Post
Posts: 35 | Thanked: 9 times | Joined on Sep 2006
#1
I installed dropbear on my OS2006 IT.

I can't seem to get X forwarding working.

Dropbear seems to be used by many folks on various platforms. There are so many (unchallenged) references to dropbear supporting X forwarding, that I think I must be doing something wrong.

I am using PuTTY on an XP Pro laptop to ssh into my 770. "Plain vanilla" ssh access works great.

I installed the Xming X server on the laptop. Seemed to install just fine.

I want to use the laptop PuTTY and Xserver to interact with some GUI apps on the Nokia 770. I configured PuTTY for X forwarding (checked the box and entered the display value [localhost:0.0]), and then logged into the Nokia (as root). But, I could not get any X apps to display on the laptop. On the 770, it looks like X forwarding is enabled. By that I mean that the ssh daemon (dropbear) has properly redefined the DISPLAY environment variable (on the 770) to "localhost:10.0", and, as verified by netstat, has properly set up an X forwarding listener on port 6010.

So, it looks like dropbear is doing what it should for X forwarding. Nevertheless, it doesn't work. When I try to invoke an X app remotely (from my laptop) I get an error message that the server could not connect to the display.

I think the most likely thing is that I am not doing something correctly. Or could it be that dropbear, in spite of the many websites that assert that dropbear does X forwarding, is defective? Or is it just the Maemo dropbear that has problems? Or is it something else that I am not considering?

Thank you for any comments.

DG

[Edit]
P.S. I also tried editing /etc/default/dropbear to include the additional line "X11Forwarding yes", and also to include the string "-X" in the "DROPBEAR_EXTRA_ARGS" line.

Last edited by dgpretzel2; 2006-09-25 at 01:06.