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