Author Topic: VNC With OZ 3.3.5  (Read 3920 times)

dino

  • Jr. Member
  • **
  • Posts: 65
    • View Profile
    • http://
VNC With OZ 3.3.5
« on: August 11, 2004, 06:29:33 pm »
There is no fbvnc in the 3.3.5 feeds.  I found one in the 3.2 feed.  Will this one work?  I also came across OZ fbvnc password fix .  Is this still necessary?
What software would I run on a Win2K box?
Thanks,
SL5500, Open Zaurus 3.5.2, 128MB SD

lardman

  • Hero Member
  • *****
  • Posts: 4512
    • View Profile
    • http://people.bath.ac.uk/enpsgp/Zaurus/
VNC With OZ 3.3.5
« Reply #1 on: August 12, 2004, 04:14:06 am »
Yes this should work on OZ3.3.5.

Do you want a VNC server on your Z or just a client (if the later then use keypebble).

For Windows (client or server) grab the VNC software from here: http://www.realvnc.com/

I've no idea about the password fix, sorry.

Si
C750 OZ3.5.4 (GPE, 2.6.x kernel)
SL5500 OZ3.5.4 (Opie)
Nokia 770
Serial GPS, WCF-12, Socket Ethernet & BT, Ratoc USB
WinXP, Mandriva

dansawyer

  • Sr. Member
  • ****
  • Posts: 293
    • View Profile
    • http://
VNC With OZ 3.3.5
« Reply #2 on: August 12, 2004, 03:51:22 pm »
Is there a vnc server package, both server and client, that will work with the Hentges ROM? If so which one and where is it please?

Are there kernel dependencies?

Thanks,
Dan

dino

  • Jr. Member
  • **
  • Posts: 65
    • View Profile
    • http://
VNC With OZ 3.3.5
« Reply #3 on: August 12, 2004, 05:09:52 pm »
It works!  With keyboard and mouse support.  But it did not work for me without a few modifications.

1) I downloaded fbvncserver_0.9-4_arm.ipk from the openzaurus 3.2 stable feed
2) I created a script in /etc/init.d called fbvncinput.sh
Quote
#!/bin/sh
/etc/init.d/fbvncinput start
3) I created a symlink from the script /etc/init.d/fbvncinput.sh to the directory /etc/rc2.d and named it S25fbvncinput.sh.

From what I have read, a program called tssimd must run before the gui.  It sits between the screen input from the gui and kernel.  The install did not allow fbvncinput (which launches tssimd) to run before Opie.
SL5500, Open Zaurus 3.5.2, 128MB SD

dansawyer

  • Sr. Member
  • ****
  • Posts: 293
    • View Profile
    • http://
VNC With OZ 3.3.5
« Reply #4 on: August 13, 2004, 12:05:12 am »
Progress. Thank you.

The display comes up; but the keyboard and mouse don't work from the

What have you found out about tssimd?

dino

  • Jr. Member
  • **
  • Posts: 65
    • View Profile
    • http://
VNC With OZ 3.3.5
« Reply #5 on: August 13, 2004, 09:52:57 am »
Could someone please provide the command to create the link I mentioned earlier?  I cheated and used Midnight Commander
You probable do not have fbvncinput (tssimd) running.
From a shell type the command "ps" and see if the line "/usr/sbin/tssimd " shows up.
If not run "/etc/init.d/fbvncinput start".  This should start tssimd along with the keyboard input program (I forget the name.)
Check again ("ps") to see if "/usr/sbin/tssimd" shows up.
Tap with the stylus on the top-left corner of the screen and then the bottom-right corner.  This calibrates tssimd.
Try connecting with "VNC server w/ split panel" again.  The keyboard should work and you should be able to click the mouse on buttons.
At this point clicking the mouse on the virtual screen of the Zaurus probably will not work.  It actually froze my VNC connection up.  NOTE: Windows would not launch another vnc conncection until I halted the vnc server on the zaurus.

The solution to the problem is to get "/etc/init.d/fbvncinput start" which runs tssimd to run BEFORE opie starts.  This can be accomplished by following my previous instructions.

Note:
One of the biggest problems I've read about was not calibrating the fbvncinput.  fbvncinput (tssimd) creates the calibration file "/etc/tssim_cal.conf" .  The first time you run tssimd it looks for the first two taps on the screen which should be the top-left corner of the screen and then the bottom-right .  You can delete "/etc/tssim_cal.conf" and run "/etc/init.d/fbvncinput start" to recalibrate.  Once you have "/etc/init.d/fbvncinput start"

Sorry for the lengthy post, but it took me some pain to discover all this.
SL5500, Open Zaurus 3.5.2, 128MB SD

lardman

  • Hero Member
  • *****
  • Posts: 4512
    • View Profile
    • http://people.bath.ac.uk/enpsgp/Zaurus/
VNC With OZ 3.3.5
« Reply #6 on: August 13, 2004, 10:11:41 am »
Creating a symlink:

ln -s from_here to_here

so in this case:

Quote
3) I created a symlink from the script /etc/init.d/fbvncinput.sh to the directory /etc/rc2.d and named it S25fbvncinput.sh.

ln -s /etc/init.d/fbvncinput.sh /etc/rc2.d/S25fbvncinput.sh


Si
C750 OZ3.5.4 (GPE, 2.6.x kernel)
SL5500 OZ3.5.4 (Opie)
Nokia 770
Serial GPS, WCF-12, Socket Ethernet & BT, Ratoc USB
WinXP, Mandriva

bredroll

  • Newbie
  • *
  • Posts: 44
    • View Profile
    • http://www.darkspace.org.uk
VNC With OZ 3.3.5
« Reply #7 on: August 13, 2004, 08:31:02 pm »
if you want the fbvncserver to work with the keyboard I've compiled the kbdsim.o module for the 2.4.18 kernel in OZ 3.3.5,

i have put it on my site.

http://www.darkspace.org.uk/mirrors/

if you have got it loading fbvncinput on boot and have the mouse working, just plop this module in /usr/share/fbvncserver/

this was compiled for the sl5500 but 'should' work in the sl5600 too, as long as both are using the 2.4.18-rmk7-pxa3-embedix kernel.

:-)

Ian
SL5500 OZ3.3.5 -
Origio CF Wifi Card, Kingston 256mb + 128mb CF Cards
Sandisk 128mb SD

bredroll

  • Newbie
  • *
  • Posts: 44
    • View Profile
    • http://www.darkspace.org.uk
VNC With OZ 3.3.5
« Reply #8 on: August 13, 2004, 08:32:46 pm »
oh, once you have copied the module you will have to reboot, this module has to be insmodded before opie starts
SL5500 OZ3.3.5 -
Origio CF Wifi Card, Kingston 256mb + 128mb CF Cards
Sandisk 128mb SD

dansawyer

  • Sr. Member
  • ****
  • Posts: 293
    • View Profile
    • http://
VNC With OZ 3.3.5
« Reply #9 on: August 13, 2004, 09:15:19 pm »
One step forward, one step back.

Here is the error message from vncviewer:

[dan@600e aa_sox]$ vncviewer 10.0.0.64
 
VNC viewer for X version 4.0b4 - built Sep 19 2003 09:18:55
Copyright © 2002-2003 RealVNC Ltd.
See http://www.realvnc.com for information on VNC.
 
Fri Aug 13 18:11:49 2004
 main:        unable to connect to host: Connection refused (111)

Here is the ps -A showing the process order

 /sbin/cardmgr
  437 root       1412 S   /usr/sbin/sshd
  514 root        360 S   /usr/sbin/tssimd
  536 root        484 S   /usr/sbin/inetd
  540 root        580 S   /bin/sh /etc/rc2.d/S98opie start
  588 root       2160 S   /opt/QtPalmtop/bin/opie-login
  589 root        664 S   logger
  590 root        552 S   -sh /opt/QtPalmtop/share/opie-login/opie-session
  637 root       7768 S   /opt/QtPalmtop/bin/qpe
  638 root        928 S   /usr/bin/ssh-agent /opt/QtPalmtop/bin/qpe
  652 root       4060 S N quicklauncher
  711 root        580 S   udhcpc -b -p /var/run/udhcpc.wlan0.pid -i wlan0 -H op
  716 root       1652 S   sshd: root@pts/0
  718 root        764 S   -sh
  729 root        676 R   ps -A
#

Here is

dansawyer

  • Sr. Member
  • ****
  • Posts: 293
    • View Profile
    • http://
VNC With OZ 3.3.5
« Reply #10 on: August 13, 2004, 10:53:32 pm »
upon re-reading:

The script did not start fbvncserver; it only started tssimd. Now it mostly works; the pointer is a bit off and the shift keys or the num keys don't work.

A question for lardman:

Isn' t the syntax for ln  -s   to-link  from-link ??

Dan

bredroll

  • Newbie
  • *
  • Posts: 44
    • View Profile
    • http://www.darkspace.org.uk
VNC With OZ 3.3.5
« Reply #11 on: August 14, 2004, 06:21:30 am »
if your mouse is a little off do this,

1. delete /etc/tssim_cal.conf
2. reboot your Z
3. when opie or opie_login starts, dont touch anything on screen
4. use the stylus to touch once in the top left and the once in the bottom right
5. login as normal and start the vnc server from one of the icons :-)

the syntax for ln to create a symbolic link is :-

ln -s <source> <new-link>

enjoy :-)
SL5500 OZ3.3.5 -
Origio CF Wifi Card, Kingston 256mb + 128mb CF Cards
Sandisk 128mb SD

dansawyer

  • Sr. Member
  • ****
  • Posts: 293
    • View Profile
    • http://
VNC With OZ 3.3.5
« Reply #12 on: August 14, 2004, 05:13:15 pm »
It all works except for keyboard errors. Letters work; however numbers display the letter below them.

I have tried to reconfigure the keyz but that has not effect. ??

Dan