Re: Cannot connect using command

[email protected] Mon, 19 Sep 2005 10:45:36 -0500
Newsgroups gmane.network.vnc.ultravnc.general
Message-ID <OF25B8F3EC.1278C158-ON86257081.005341A2-86257081.005692F6@alberto.com>
Marek:

There are three different problem in your post.
A: There is no command line option called "-connect", you need to use 
"-config" to launch the viewer with a .VNC file.
B: You created the VNC file manually, and it the format is not correct.
C: You are not specifying the file extension ".vnc".

Follow these steps to get create a working .VNC file; which will solve 
problem B.
Double-click on UltraVNC Viewer and connect to "mlmk1" manually.
Right-click on the vncviewer icon in the Windows taskbar to bring up the 
menu.
Choose "Save connection info as..." to create a new .VNC file.
The viewer will ask if you want to save the password in the file; choose 
yes. 

Lets assume the filename you picked in step 4 is "mlmk1.vnc".  Your 
command line should be as follows; which takes care of A and C.

     "C:\Program Files\UltraVNC\vncviewer.exe" -config mlmk1.VNC

The .VNC files may already be associate with VNCviewer if you picked that 
option during installation. 
If so, you should be able to double-click on a .VNC file to launch the 
viewer.

Regards,
Joe




a12 <[email protected]> 
Sent by: [email protected]
09/18/2005 09:13 AM
Please respond to
[email protected]


To
[email protected]
cc

Subject
Re: [Ultravnc-list] Cannot connect using command






For feature requests and bug reports RC15 RC16. Please use the forum at 
http://forum.ultravnc.net/

James,

Pardon my ignorance but the online documentation states:
Connecting VNCViewers:
-connect host[:display]

My mlmk1.vnc contains:
"c:\Program files\ultravnc\vncviewer.exe" -connect mlmk1

mlmk1 is defined in C:\WINNT\systems32\drivers\etc\hosts

I can still access mlmk1 by double-click on VNCViewer icon.

Any hints ?

Marek


James Weatherall skrev:

>For feature requests and bug reports RC15 RC16. Please use the forum at 
http://forum.ultravnc.net/
>
>Marek,
>
>No, the problem is simply that you are using the wrong command-line 
syntax.
>Please see the VNC Viewer documentation for the correct syntax.
>
>Regards,
>
>Wez @ RealVNC Ltd.
> 
>
>
>>-----Original Message-----
>>From: [email protected] 
>>[mailto:[email protected]] On Behalf Of a12
>>Sent: 14 September 2005 09:45
>>To: [email protected]
>>Subject: [Ultravnc-list] Cannot connect using command
>>
>>For feature requests and bug reports RC15 RC16. Please use 
>>the forum at http://forum.ultravnc.net/
>>
>>Hello,
>>
>>In order to connect to a host using a command line, I have created 
>>mlmk1.vnc, that contains:
>>"c:\program files\ultravnc\vncviewer.exe" -connect mlmk1
>>When I double-click on mlmk1.vnc, I get an error:
>>Failed to connect to server !
>>
>>Double-click on UltraVNC Viewer, followed by entering mlmk1 manually 
>>connects my PC to mlmk1 immediately.
>>
>>Does the problem occur because I have Cisco VPN between my PC 
>>and mlmk1 ?
>>
>>Regards,
>>
>>Marek
>>
>>
>>-------------------------------------------------------
>>SF.Net email is sponsored by:
>>Tame your development challenges with Apache's Geronimo App 
>>Server. Download
>>it for free - -and be entered to win a 42" plasma tv or your very own
>>Sony(tm)PSP.  Click here to play: http://sourceforge.net/geronimo.php
>>
>>
>
>
>
>-------------------------------------------------------
>SF.Net email is sponsored by:
>Tame your development challenges with Apache's Geronimo App Server. 
Download
>it for free - -and be entered to win a 42" plasma tv or your very own
>Sony(tm)PSP.  Click here to play: http://sourceforge.net/geronimo.php
>
>


-------------------------------------------------------
SF.Net email is sponsored by:
Tame your development challenges with Apache's Geronimo App Server. 
Download
it for free - -and be entered to win a 42" plasma tv or your very own
Sony(tm)PSP.  Click here to play: http://sourceforge.net/geronimo.php