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