when i am connecting to VNC server using wine on linux
$ wine vncviewer.exe
i have to enter:
VNC Server: 18.104.22.168
and then, when i connect, on top there is txt: 22.214.171.124:5900 (126.96.36.199:1234)
mine question is: how to connect using vncviewer ?
what to put in VNC_VIA_CMD ?
$ export xlocalPort=1234
$ export xremoteHost=188.8.131.52
$ export xremotePort=5900
$ export xgateway=184.108.40.206
$ 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