Author Topic: X Server Remote Operations  (Read 2082 times)

daniel3000

  • Hero Member
  • *****
  • Posts: 1003
    • View Profile
    • http://
X Server Remote Operations
« on: March 07, 2007, 05:08:59 am »
Hi guys,

I'd like to be able to operate the pdaXrom applications from a Linux PC using X display / input redirection, i.e. sitting in front of a PC, but having displayed the applications of the Zaurus and when using mouse or keyboard, actually using the Zaurus applications.
I know this i spossible using VNC. But I'd like to try it first with the functionality which the X server provides.

In order to achieve this, I have done this:

(192.168.0.111 is the PC
192.168.0.204 is the Zaurus)

- un the Linux PC: xhost +192.168.0.204
- ssh from the PC to the Zaurus, logging in as root
- in the ssh session: export DISPLAY=192.168.0.111:0.0
- in the ssh session: start any application

However, I always get the message "Can't open display".
Even if I start the Applications on the Zaurus through ssh usig the parameter "-display 192.168.0.111:0.0" I get this message.

Does anyone have ideas about what I cold have done wrong, or what to make sure so it can work?
SL-C3200 with weeXpc, based on pdaXrom 1.1.0beta3
HP 200LX with MS-DOS 5.0

Meanie

  • Hero Member
  • *****
  • Posts: 2803
    • View Profile
    • http://www.users.on.net/~hluc/myZaurus/
X Server Remote Operations
« Reply #1 on: March 07, 2007, 06:13:54 am »
Quote
Hi guys,

I'd like to be able to operate the pdaXrom applications from a Linux PC using X display / input redirection, i.e. sitting in front of a PC, but having displayed the applications of the Zaurus and when using mouse or keyboard, actually using the Zaurus applications.
I know this i spossible using VNC. But I'd like to try it first with the functionality which the X server provides.

In order to achieve this, I have done this:

(192.168.0.111 is the PC
192.168.0.204 is the Zaurus)

- un the Linux PC: xhost +192.168.0.204
- ssh from the PC to the Zaurus, logging in as root
- in the ssh session: export DISPLAY=192.168.0.111:0.0
- in the ssh session: start any application

However, I always get the message "Can't open display".
Even if I start the Applications on the Zaurus through ssh usig the parameter "-display 192.168.0.111:0.0" I get this message.

Does anyone have ideas about what I cold have done wrong, or what to make sure so it can work?
[div align=\"right\"][a href=\"index.php?act=findpost&pid=155644\"][{POST_SNAPBACK}][/a][/div]

did you use -X option (enable x forwarding) when you ssh?
SL-C3000 - pdaXii13 build5.4.9 (based on pdaXrom beta3) / SL-C3100 - Sharp ROM 1.02 JP (heavily customised)
Netgear MA701 CF, SanDisk ConnectPlus CF, Socket Bluetooth CF, 4GB Kingston CF,  4GB pqi SD, 4GB ChoiceOnly SD, 2GB SanDisk SD USB Plus, 1GB SanDisk USB Plus, 1GB Transcend SD, 2GB SanDisk MicroSD with SD adaptor, Piel Frama Leather Case, GoldX 5-in-1 USB cable, USB hub, USB mouse, USB keyboard, USB ethernet, USB HDD, many other USB accessories...
(Zaurus SL-C3000 owner since March 14. 2005, Zaurus SL-C3100 owner since September 21. 2005)
http://members.iinet.net.au/~wyso/myZaurus - zBook3K

Chero

  • Hero Member
  • *****
  • Posts: 1140
    • View Profile
    • http://users.telenet.be/zaurususer/Chero
X Server Remote Operations
« Reply #2 on: March 07, 2007, 08:35:56 am »
I simply do this :
- On the Z : enable X-forwarding in /etc/???/sshd.conf (don't have my Z with me now)
- on the PC : ssh -X root@zaurusip
- on the pc i can launch every app from the Z.

Chero
HP-95LX -> HP Jornada 680 -> SL-C860 -> SL-C3100 -> Fuji u810 -> SL-C1000 -> HTC uni -> SL-C860 -> SL-C760.
March 12 2009 : Back because the Zaurus is one of a kind.
SL-C760 : pdaXrom
Pandora pre-ordered -> received and tested : great device but not my cup of tea -> sold.