quinta-feira, 12 de fevereiro de 2015

Can't remote access lubuntu server with Vino but connection with ssh works.

PROBLEM:

Can't remote access lubuntu server with Vino but can ssh it.

DESCRIPTION:

You open a ssh tunnel (map remote 5900 port to local 12345 port) of remote lubuntu station (ex: 192.1.1.180) at terminal client side to remote access lubuntu station.

Example to type at cmd prompt:
 ssh -L 12345:localhost:5900 user@192.1.1.180

         note: change "user" and address (192.1.1.180) with your own ID.

You open a second terminal window at client station to start vnc with cmd:
xvncviewer localhost:12345


Error msg client side:
xvncviewer: VNC server closed connection

Error msg server (the ssh terminal) side:
channel 3: open failed: connect failed: Connection refused

DIAGNOSE:

Vino-server not running

SOLUTION:

At cmd prompt type (remote server side):
export DISPLAY=:0.0
/usr/lib/vino/vino-server



Error msg:
Connected to RFB server, using protocol version 3.7
Server did not offer supported security type


DIAGNOSE:

server encryption scheme not understood client side

SOLUTION:

At the remote lubuntu server side set encryption variable to false


cmd prompt type:
gsettings set org.gnome.Vino require-encyption false

Nenhum comentário:

Postar um comentário