using Linux vncviewer

1

when i am connecting to VNC server using wine on linux

$ wine vncviewer.exe

i have to enter:

VNC Server: 1.1.1.21

Proxy/Reapeter: 195.29.18.33:1234

and then, when i connect, on top there is txt: 1.1.1.21:5900 (195.29.18.33:1234)

mine question is: how to connect using vncviewer ?

what to put in VNC_VIA_CMD ?

$ export xlocalPort=1234

$ export xremoteHost=1.1.1.21

$ export xremotePort=5900

$ export xgateway=195.29.18.33

$ 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

http://www.tightvnc.com/vncviewer.1.php

Please help, couse i need to use "native" linux vncviewer installed by

$ yum install tigervnc

tigervnc.i686 0:1.0.90-0.13.20100420svn4030.fc13

Darkoni

Posted 2010-09-04T18:42:17.303

Reputation:

This is not programming related and will thus be closed as off-topic. – None – 2010-09-04T19:01:33.887

@San Jacinto: Actually this is a question on using user software, so it will likely be migrated to Super User. @Darkoni: See the FAQ (linked at the top of the page for site selection advice. However, please to not re-post this question, it will e moved by a quorum of high rep users. Probably pretty soon.

– dmckee --- ex-moderator kitten – 2010-09-05T00:05:00.357

2Why are you running a vnc client under Wine ?? – Sathyajith Bhat – 2010-09-05T00:22:46.933

Answers

1

You don't need to run a Windows VNC client under WINE, there are compatible Linux VNC clients, too. RealVNC is one example, which installs as "Xvnc4" I believe.

John T

Posted 2010-09-04T18:42:17.303

Reputation: 149 037