when i am connecting to VNC server using wine on linux
$ wine vncviewer.exe
i have to enter:
VNC Server: 188.8.131.52
and then, when i connect, on top there is txt: 184.108.40.206:5900 (220.127.116.11:1234)
mine question is: how to connect using vncviewer ?
what to put in VNC_VIA_CMD ?
$ export xlocalPort=1234
$ export xremoteHost=18.104.22.168
$ export xremotePort=5900
$ export xgateway=22.214.171.124
$ export VNC_VIA_CMD="/usr/bin/ssh -f -L $xlocalPort:$xremoteHost:$xremotePort $xgateway sleep 20"
$ vncviewer $xremoteHost -via $xgateway
and i get error:
unable connect to socket: Connection refused (111)
i was trying to help myself with page
Please help, couse i need to use "native" linux vncviewer installed by
$ yum install tigervnc