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