arduinoVNC icon indicating copy to clipboard operation
arduinoVNC copied to clipboard

TighVNC Server on Raspberry Pi 2

Open AdySan opened this issue 8 years ago • 1 comments

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 avatar Mar 19 '16 21:03 AdySan

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

AdySan avatar Mar 19 '16 22:03 AdySan