VNC server closed connection unexpectedly
hi, i'm trying to access my home vnc server from internet with SSH, i've setup the ssh, vnc on the home server (debian7 based) and port forwarding on the router. Tunnelling x11vnc via SSH is ok, but when i try to launch vncviewer from remote location, vnc is closed unexpectedly.
>>>>>>>>>>>>>>
$ ssh -t -p xxxx -L 5900:localhost:5900 myhomeip 'x11vnc -localhost -display :0"
......
26/11/2016 11:54:33
The VNC desktop is: localhost:1
PORT=5901
~$ vncviewer -encodings "copyrect tight hextile" localhost:0
Connected to RFB server, using protocol version 3.8
Performing standard VNC authentication
Password:
Authentication successful
Desktop name "16big:0.0"
VNC server default format:
32 bits per pixel.
Least significant byte first in each pixel.
True colour: max red 255 green 255 blue 255, shift red 16 green 8 blue 0
Using default colormap which is TrueColor. Pixel format:
32 bits per pixel.
Least significant byte first in each pixel.
True colour: max red 255 green 255 blue 255, shift red 16 green 8 blue 0
Using shared memory PutImage
vncviewer: VNC server closed connection
ShmCleanup calle
|