Author Topic: [solved] Problem Using X11 Forwarding  (Read 2422 times)

mitro

  • Newbie
  • *
  • Posts: 9
    • View Profile
[solved] Problem Using X11 Forwarding
« on: October 17, 2005, 12:09:11 pm »
Hello,

I'm trying to export the display of my Zaurus to my laptop, to be able to run various apps.

- Zaurus: SL 760 / Pdaxrom rc11
- laptop: windows XP running a linux virtual machine (vmware)

The Zaurus is connected to the laptop using USB cable (IP over USB between Zaurus and virtualized linux).
Network is ok since I can browse the web for example using my Zaurus.

I wish to run some Z apps on my laptop, then I tried:

Zaurus:
- Edit /etc/ssh/sshd_config:
X11Forwarding: yes
X11DisplayOffset 10

--> restart sshd

Laptop:
# xhost +
# ssh -X root@zaurus

--> xterm works (I mean I can see the xterm window on my laptop)
--> all the others apps do not work. Most of the time, connection is frozen.

Is someone can help me to solve this ?

[edit]
USB networking seem to be very unstable here... For example, the connection hangs if I type:
# ssh root@zaurus
# ls -l /usr/lib

May be it is because of this I can't manage to export X apps properly...
« Last Edit: October 21, 2005, 12:39:58 pm by mitro »

pgas

  • Hero Member
  • *****
  • Posts: 1097
    • View Profile
    • http://
[solved] Problem Using X11 Forwarding
« Reply #1 on: October 20, 2005, 04:13:27 pm »
It works fine for me over a wifi connection  and a linux pc.

I don' t think you need to do "xhost +" on your laptop
SLC-860 cacko / senao wifi

mitro

  • Newbie
  • *
  • Posts: 9
    • View Profile
[solved] Problem Using X11 Forwarding
« Reply #2 on: October 21, 2005, 12:23:54 pm »
Quote
It works fine for me over a wifi connection  and a linux pc.

I can now use my USB connection without problem !
I've found today the solution: it was a mtu size problem:
On the Z:
# ifconfig usbd0 mtu 576

and everything is ok now (vnc, scp of big files, etc.)

Quote
I don' t think you need to do "xhost +" on your laptop
[div align=\"right\"][a href=\"index.php?act=findpost&pid=100238\"][{POST_SNAPBACK}][/a][/div]

You're right.