![]() |
2006-09-25
, 07:32
|
Posts: 2,152 |
Thanked: 1,490 times |
Joined on Jan 2006
@ Czech Republic
|
#2
|
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.
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.
![]() |
2006-09-25
, 07:50
|
Posts: 2,152 |
Thanked: 1,490 times |
Joined on Jan 2006
@ Czech Republic
|
#3
|
![]() |
2006-09-26
, 17:22
|
Posts: 35 |
Thanked: 9 times |
Joined on Sep 2006
|
#4
|
check if your laptop firewall does not block incoming X traffic and n770 is authorized to use the xserver (xhost +)
So now you did it the other way? laptop application on n770 screen? dropbear x forwarding has nothing to do with this when you ssh from laptop to n770. Or did you ssh from n770 to your laptop (via dbclient command)?
Also I think xserver on n770 is not built (or started?) with TCP/IP support so you can't display anything remote on n770 screen. I'm not 100% sure about this, please correct me if I am wrong
Looks like I would need 'xauth' on n770 for this to work.
The Following User Says Thank You to dgpretzel2 For This Useful Post: | ||
![]() |
2006-09-26
, 18:13
|
Posts: 39 |
Thanked: 1 time |
Joined on Aug 2006
|
#5
|
![]() |
2006-09-27
, 06:43
|
Posts: 35 |
Thanked: 9 times |
Joined on Sep 2006
|
#6
|
![]() |
2006-09-27
, 10:30
|
Posts: 2,152 |
Thanked: 1,490 times |
Joined on Jan 2006
@ Czech Republic
|
#7
|
I see from your remarks that you were also unable to get X Forwarding to work, and that you tried ssh directly (as opposed to PuTTY). If I understand you correctly, you identify the missing 'xauth' as a possible cause of the problem.
![]() |
2006-09-27
, 16:56
|
Posts: 35 |
Thanked: 9 times |
Joined on Sep 2006
|
#8
|
Unfortunately I don't have any pure X client on N770 (like xcalc,xterm)
As for xhost, it is executable command in cygwin and linux, in Xming there is some checkbox 'No acces control' which is same as 'xhost +'. But with xhost you can specify list of servers alowed
![]() |
2007-09-15
, 15:12
|
Posts: 191 |
Thanked: 29 times |
Joined on Sep 2007
@ Ottawa
|
#9
|
![]() |
2007-09-16
, 15:30
|
|
Posts: 739 |
Thanked: 159 times |
Joined on Sep 2007
@ Germany - Munich
|
#10
|
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.