Links2004 / arduinoVNC

a VNC Client for Arduino based on rfbproto
GNU General Public License v2.0
301 stars 57 forks source link

TighVNC Server on Raspberry Pi 2 #3

Closed AdySan closed 1 month ago

AdySan commented 8 years ago

I saw your suggested settings for starting VNC server on Linux are

X based VNC server on linux:

vncserver :888 -geometry 320x240 -depth 16 -name "ESP VNC :888" -AlwaysShared=1 -rfbport=19888 --MaxCutText=127 --SendCutText=0 -ImprovedHextile=1 -s 0 dpms -br -nocursor 

On my Raspberry Pi 2, I'm running Tight VNC server, so trying to find compatible settings. So far, I've trimmed down to this, since other options were not available.

vncserver :888 -geometry 320x240 -depth 16 -name "ESP VNC :888" -alwaysshared -rfbport 19888 -s 0 -nocursor 

However, I get this error

!connected
[rfb_connect_to_server] Connect error
Couldnt establish connection with the VNC server. Exiting

One thing that might be wrong for starters in that 888, I don't see anywhere in your library that points to a specific Desktop on the host, is there anyway to specify this?

I don't have to use TightVNC server on the RPi, if you can suggest something else, I can try that too. As far as I can tell, XVNC wouldn't work on ARM.

AdySan commented 8 years ago

Nevermind, worked with this

vncserver :1 -geometry 320x240 -depth 16 -name "ESP VNC :888" -alwaysshared -s 0 -nocursor -broadcast

Did I miss any critical settings?

file mar 19 3 31 28 pm