Dave Stoft | 1 Dec 2007 03:54
Picon
Favicon

winvnc4 commandline sequence/syntax

I've been unable to find a clear reference for programatic start, config and stop
of a vnc4.3.2 server. My guess at the syntax and sequence does not control
the server settings that were created via the windows interface.

- On Win2k or XP
- The VNC4.3.2 package installed correctly
- The server/viewer work when run as a background server that always starts
on boot and where the config is setup via the windows interface
- Assume all files are in the same working directory.
- My objective is to start and config the vnc server via a script so
the settings are dynamic.

> winvnc4.exe -register -vncconfigfile configfilename.vnc
> winvnc4.exe -start

or...

> winvnc4.exe -register Hosts=<ip addr> PortName=5900 <etc.>
> winvnc4.exe -start

In either case, the server is registered as a service and the -start
gets it running (and a >winvnc4.exe -stat shows this) but the config
settings (as found by Tray : RtClk : Options... show no effect to the
config settings either listing them in the command line or in a command
file. VNC gives no error. Deliberately messing with the syntax will
produce an error so the command-line options and switches are
being recognized.

> winvnc4.exe -stop
> winvnc4.exe -unregister
(Continue reading)

Glen Tupling | 1 Dec 2007 14:14
Favicon

vnc 4.1.1 not accepting keyboard input

I am using vnc 4.1.1 in Ubuntu 7.10 when I initiate vncviewer I get a
box to input the ipaddress of the computer I want to connect to, the box
does not accept any keyboard or mouse input.  I have not enabled the
viewonly option.  Help please!

Glen
_______________________________________________
VNC-List mailing list
VNC-List <at> realvnc.com
To remove yourself from the list visit:
http://www.realvnc.com/mailman/listinfo/vnc-list

Gabriel Green | 2 Dec 2007 10:04
Picon

Default timeout to zero results in "your connection has been rejected"

Hi all:

I am trying to adjust registry keys on remote machines so that instead of
the idiotic 180 second timeout I imaged them with, I would prefer to make it
zero.

However -

When I set it to zero, and tried to get back in, it results in an immediate
refusal of the connection.

What registry values should I adjust so that:

There is no timeout or user prompt for approval - the connection is
immediate (whether view-only or interact.)

Thanks -
Gabe
_______________________________________________
VNC-List mailing list
VNC-List <at> realvnc.com
To remove yourself from the list visit:
http://www.realvnc.com/mailman/listinfo/vnc-list

Seak, Teng-Fong | 2 Dec 2007 17:38
Picon

Re: Default timeout to zero results in "your connection has been rejected"

      Why did you change it in the registry while you could do it in VNC's
properties windows?  Go to "Connections" tab, at the second text field you
could find "Disconnect idle clients ....".

On Dec 2, 2007 10:04 AM, Gabriel Green <gabegreen <at> gmail.com> wrote:

> Hi all:
>
> I am trying to adjust registry keys on remote machines so that instead of
> the idiotic 180 second timeout I imaged them with, I would prefer to make
> it
> zero.
>
> However -
>
> When I set it to zero, and tried to get back in, it results in an
> immediate
> refusal of the connection.
>
> What registry values should I adjust so that:
>
> There is no timeout or user prompt for approval - the connection is
> immediate (whether view-only or interact.)
>
> Thanks -
> Gabe
> _______________________________________________
> VNC-List mailing list
> VNC-List <at> realvnc.com
> To remove yourself from the list visit:
(Continue reading)

Seak, Teng-Fong | 2 Dec 2007 17:40
Picon

Re: vnc 4.1.1 not accepting keyboard input

     You've used the word "box" twice, but I felt like they have different
meanings.  The first "box" is a field while the second is the client window
which is supposed to display the server desktop, right?

On Dec 1, 2007 2:14 PM, Glen Tupling <techieguy <at> rogers.com> wrote:

> I am using vnc 4.1.1 in Ubuntu 7.10 when I initiate vncviewer I get a
> box to input the ipaddress of the computer I want to connect to, the box
> does not accept any keyboard or mouse input.  I have not enabled the
> viewonly option.  Help please!
>
_______________________________________________
VNC-List mailing list
VNC-List <at> realvnc.com
To remove yourself from the list visit:
http://www.realvnc.com/mailman/listinfo/vnc-list

Gabriel Green | 2 Dec 2007 18:35
Picon

Re: Default timeout to zero results in "your connection has been rejected"

The reason is because the VNC properties only appears on Administrator's
desktop.  The "Default User" on these clients do not have access to VNC
properties.

This is how Wyse advised to change the default user password, but I screwed
up in making the timeout zero.

GG

On Dec 2, 2007 8:38 AM, Seak, Teng-Fong <lapsap7+vnc <at> gmail.com> wrote:

>      Why did you change it in the registry while you could do it in VNC's
> properties windows?  Go to "Connections" tab, at the second text field you
> could find "Disconnect idle clients ....".
>
>
> On Dec 2, 2007 10:04 AM, Gabriel Green <gabegreen <at> gmail.com> wrote:
>
> > Hi all:
> >
> > I am trying to adjust registry keys on remote machines so that instead
> of
> > the idiotic 180 second timeout I imaged them with, I would prefer to
> make
> > it
> > zero.
> >
> > However -
> >
> > When I set it to zero, and tried to get back in, it results in an
(Continue reading)

Weber, Derek | 3 Dec 2007 00:30
Picon

RE: winvnc4 commandline sequence/syntax

Hi Dave,

I'm not on the RealVNC team or anything but have been working with VNC
on the command line for a little while now and have been looking through
the code [1].

It appears to me (correct me if I'm wrong, VNC guys) that there are two
ways to run VNC - service mode (with -start, -register, - unregister,
-stop, etc) and in user mode (where you can specify config parameters on
the command line) and never the twain shall meet. If you specify command
line parameters, they are only used when using VNC in user mode.

This is the impression I get from reading winvnc.cxx, line 102, static
void processParams() (RealVNC 4.1.2 src).

To set parameters for the service mode VNC you have to put them in the
registry, under HKEY_LOCAL_MACHINE\SOFTWARE\RealVNC. The way I figured
this out was to install and configure VNC from the system tray, then
look in the registry to get the appropriate settings, then you can
create a .reg file with these settings and run that off the command line
(this may sound complicated but I had to use the command line for
everything, rather than invoking the code directly).

If there's a better way than this, let me know it. :o) Also, let me know
if I've got any of this wrong.

D. (Adelaide, South Australia)

[1] My issue is to try to run VNC as a service, but then to occasionally
run it from the commandline as well with different parameters (resulting
(Continue reading)

Vishnu Monn Baskaran | 3 Dec 2007 06:50

Distributing RealVNC in a Third-Party Application (OEM Licensing)

Hi,

I would like to embed the Real VNC server and viewer into my application.

I have sent several mails to Real VNC OEM licensing team
(http://www.realvnc.com/services/licensing.html), requesting for further
information on how do I attain the necessary files to be embedded into my
application. However, I did not receive any information from the OEM
licensing team.

I would like to request any help from members in the mailing list on how I
could contact Real-VNC to attain the Library, DLL, etc. files to be embedded
into my application. I would also like to know more on the licensing cost to
embed Real-VNC into my application for commercial distribution.

Thank you very much for any help/advice.

Regards,

Vishnu Monn Baskaran
_______________________________________________
VNC-List mailing list
VNC-List <at> realvnc.com
To remove yourself from the list visit:
http://www.realvnc.com/mailman/listinfo/vnc-list

Dave | 3 Dec 2007 10:01
Picon
Favicon

Re: winvnc4 commandline sequence/syntax

D. Thanks; your description fits the symptoms.

Would have been nice if VNC4 had included this in the docs; maybe it's
a legacy 'feature'. I did wander the path of editing the registry and that
does look like the best alternative. I'd assumed I should be able to config
at the time of registering since the service would not yet be active. Now
I'll just add a few lines in the script to change the existing config in
the Win registry prior to VNC4 registration and start; that way it's all
nicely automated. I'm wanting to run only one server, but I want programatic
control over the config when it runs so I can dynamically alter the access
rights per session plus not leave the service always on. So, I need servic
mode which can run VNC4 when the system is locked and the user logged-out.

Thanks for your clear description.

Dave

>Hi Dave,
>
>I'm not on the RealVNC team or anything but have been working with VNC
>on the command line for a little while now and have been looking through
>the code [1].
>
>It appears to me (correct me if I'm wrong, VNC guys) that there are two
>ways to run VNC - service mode (with -start, -register, - unregister,
>-stop, etc) and in user mode (where you can specify config parameters on
>the command line) and never the twain shall meet. If you specify command
>line parameters, they are only used when using VNC in user mode.
>
>This is the impression I get from reading winvnc.cxx, line 102, static
(Continue reading)

Seak, Teng-Fong | 3 Dec 2007 10:41
Picon

Re: vnc 4.1.1 not accepting keyboard input

     Please reply to the list.

     OIC.  Your mention about "viewonly option" made me think you're talking
about the main viewer window once the connection established.

     The reason why you can't enter ip address might depend on where you
type it.  Did you use the main keyboard or the keypad?  If you were using
the keypad, it might be that the NumLock is off and your keypad was actually
acting as arrows and special keys.

     Anyway, nice to hear that you've solved your own problem :)

On Dec 3, 2007 5:12 AM, Glen Tupling <techieguy <at> rogers.com> wrote:

>  Actually, no, they were one and the same, I couldn't input the ipaddress
> in order to get to the remote desktop.  I don't know what was going on, but
> I tried it again later and it worked just fine.  Chalk it up to Gremlins.
> :)
>
> Glen
>
> On Sun, 2007-12-02 at 17:40 +0100, Seak, Teng-Fong wrote:
>
> You've used the word "box" twice, but I felt like they have differentmeanings.  The first "box" is a field
while the second is the client windowwhich is supposed to display the server desktop, right?
>
> On Dec 1, 2007 2:14 PM, Glen Tupling <techieguy <at> rogers.com> wrote:
> > I am using vnc 4.1.1 in Ubuntu 7.10 when I initiate vncviewer I get a> box to input the ipaddress of the
computer I want to connect to, the box> does not accept any keyboard or mouse input.  I have not enabled the>
viewonly option.  Help please!>_______________________________________________VNC-List mailing
(Continue reading)


Gmane