View Single Post
Posts: 986 | Thanked: 1,526 times | Joined on Jul 2010
#1
x11vnc from dev repo cant handle touch controls.

netview from ovi store has two problems;
1) no CLI; you have to be at the phone already to start it
2) youre at the weird mercy of nokia; typing in the terminal app doesnt work for me, for example


a nice easy solution is to use netview sans gui, like this:

-install netview deb from ovi store


-run this with additional args like you would any old vnc server
Code:
/opt/netview/x11vnc/bin/x11vnc \
  -display :0 -touchdev "Atmel mXT Touchscreen" \
  $@
i made an exec and stuck it in: /usr/local/bin/vnc-netview
i use it like this:
Code:
ssh root@nokia-n9 'vnc-netview -nopw -rotate 90'

-and thats it! vncviewer like always {you can watch for the 'The VNC desktop is' line or the 'PORT=' line, or you can pass -localhost to the netview x11vnc, etc}


1) -rotate works {i invariably need to do 90 degrees}
2) all you need is ssh access to the phone {and probably a rooted open kernel, but i dunno}
3) it appears to be as fast as or faster than netview
4) keyboard works in terminal
5) you can still run it in a browser, of course, if you use a web-based vnc client {realVNC does this, i think}. {netview apparently includes a web-based vnc client that you download as a java applet throught the browser; you cant use it}.
 

The Following 2 Users Say Thank You to wolke For This Useful Post: