RE: Limit number of users

2007-02-21 Thread Kumar, Siva
Are you starting a new VNC session for each user using xinetd or are the
users sharing a single VNC session?

If it is the former you can configure inetd to run your shell script
instead of directly starting a VNC session (running Xvnc). In the shell
script you can check if the allowed limit of Xvnc sessions has been
exceeded and only if not, run Xvnc.

-siva.

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On
Behalf Of Tillman William A CIV USAF 96 CG/SCWDT
Sent: Wednesday, February 21, 2007 9:39 AM
To: 'vnc-list@realvnc.com'
Subject: Limit number of users

Does anyone know how to limit the number of people to log on to a
particular server using VNC to only 2 users?
___
VNC-List mailing list
VNC-List@realvnc.com
To remove yourself from the list visit:
http://www.realvnc.com/mailman/listinfo/vnc-list


Confidentiality Notice
This e-mail (including any attachments) is intended only for the recipients 
named above. It may contain confidential or privileged information and should 
not be read, copied or otherwise used by any other person. If you are not a 
named recipient, please notify the sender of that fact and delete the e-mail 
from your system.
___
VNC-List mailing list
VNC-List@realvnc.com
To remove yourself from the list visit:
http://www.realvnc.com/mailman/listinfo/vnc-list


Color Level on slow connections

2007-02-21 Thread Kumar, Siva
Will the Color level be adjusted according to the connection speed even
if the User picks a specific color level (in the Colours  Encoding tab
of the Options dialog) before connecting. 

I thought this depended on whether the AutoSelect option was selected or
not. 
But today I tried reducing the bandwidth between the server and client
(using network simulation software), after connecting without any
bandwidth restrictions (over LAN). The AutoSelect option was enabled and
the initial Color level was 256 colors. Even after the bandwidth was
reduced (to about 56
kbps) the color depth did not go down. 

Before I was selecting the Color depth the initial Color depth
automatically selected was 64 Colors or lower for the low bandwidths -
so VNC knows that
256 colors is high for the given slow connection.

All this was with VNC Free Edition v4.1.2 - Windows client/Solaris
server.

--
Regards,
Siva.

Confidentiality Notice
This e-mail (including any attachments) is intended only for the recipients 
named above. It may contain confidential or privileged information and should 
not be read, copied or otherwise used by any other person. If you are not a 
named recipient, please notify the sender of that fact and delete the e-mail 
from your system.
___
VNC-List mailing list
VNC-List@realvnc.com
To remove yourself from the list visit:
http://www.realvnc.com/mailman/listinfo/vnc-list


RE: VNC session quits

2006-10-30 Thread Kumar, Siva
The vnc server times out idle connections (no keyboard/mouse input)
after a pre-set timeout interval. This interval is, by default, an hour.
It can be modified by the Xvnc parameter  -IdleTimeout seconds. In
your case you would have to add it to the xinetd entry starting Xvnc.

Refer to Xvnc man pages for more details.

-siva.

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On
Behalf Of Arno Schuurs
Sent: Monday, October 30, 2006 8:07 AM
To: vnc-list@realvnc.com
Cc: Marty Kampes
Subject: VNC session quits

Dear RealVNC,


I am new with VNC, so I hope you can help me.

I am using the VNC Enterprise 4.2.6 server on a Redhat Enterprise 3
Taroon
5 machine by starting it via xinetd.
I am using the viewer on a MS Windows XP system.

When I open a VNC session to the Linux system and leave the computer for
a while, the VNC session is gone when I come back.

Do you have an idea why this happens?

Regards / M.v.g.

Arno Schuurs

Support Engineer
NXP Semiconductors Nijmegen
IMO Test Centre Nijmegen (IMO TCN)
Gerstweg 2, Building: AO 1120
6634 AE, Nijmegen - The Netherlands
Tel: +31 24 353 6373 / Fax: +31 24 353 2123
SERI: [EMAIL PROTECTED] / [EMAIL PROTECTED]
___
VNC-List mailing list
VNC-List@realvnc.com
To remove yourself from the list visit:
http://www.realvnc.com/mailman/listinfo/vnc-list


Confidentiality Notice
This e-mail (including any attachments) is intended only for the recipients 
named above. It may contain confidential or privileged information and should 
not be read, copied or otherwise used by any other person. If you are not a 
named recipient, please notify the sender of that fact and delete the e-mail 
from your system.
___
VNC-List mailing list
VNC-List@realvnc.com
To remove yourself from the list visit:
http://www.realvnc.com/mailman/listinfo/vnc-list


RE: removing IP address history

2006-10-25 Thread Kumar, Siva
 Could you send it to the list..

-siva

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On
Behalf Of Tyran Ormond
Sent: Wednesday, October 25, 2006 11:11 AM
To: vnc-list@realvnc.com
Subject: Re: removing IP address history

On 02:45 PM 10/25/2006 +0200, it would appear that Seak wrote:
 I'd like to see a case in which VNC viewer can write to registry 
but no .reg can be merged (no matter which part of registry it's
about).
I'd like to see how the admin could achieve this level of twisting :)

Proof of concept sent off list.


Tyran Ormond
Programmer/LAN Administrator
Central Valley Water Reclamation Facility [EMAIL PROTECTED]
___
VNC-List mailing list
VNC-List@realvnc.com
To remove yourself from the list visit:
http://www.realvnc.com/mailman/listinfo/vnc-list


Confidentiality Notice
This e-mail (including any attachments) is intended only for the recipients 
named above. It may contain confidential or privileged information and should 
not be read, copied or otherwise used by any other person. If you are not a 
named recipient, please notify the sender of that fact and delete the e-mail 
from your system.
___
VNC-List mailing list
VNC-List@realvnc.com
To remove yourself from the list visit:
http://www.realvnc.com/mailman/listinfo/vnc-list


RE: setting server rfb port to non-default - on the vncviewer

2006-10-20 Thread Kumar, Siva
John,

 vncviewer -geometry 1440x1062 -passwd z ipaddr::4918:19
/dev/null  and that worked.

I think the ':19' after the port is immaterial. Try connecting to
ipaddr::4918:abcd or even ipaddr::4918abcd; it works. It makes
sense because you cannot have more than 1 display listening on a single
port (the second Xvnc will complain that it cannot bind to the given
port) unless using inetd.

-siva.

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On
Behalf Of John Lumby
Sent: Friday, October 20, 2006 4:33 PM
To: [EMAIL PROTECTED]; vnc-list@realvnc.com
Subject: RE: setting server rfb port to non-default - on the vncviewer

James Weatherall wrote

John,

No, you don't - the syntax you are specifying to your VNC Viewer
(host::port:display) is not valid.  The two valid syntaxes are:

Host:port_or_display  (display if 0-99, port otherwise) and
Host::port(always port)

i.e. you specify *either* a VNC display number *or* a TCP port number.

VNC display numbers 0-99 are just a short-hand for TCP port numbers 
5900 to 5999.

I hate to argue with someone who has a realvnc email but my recent
experience is in direct contracdiction of what you have written:

1).I started my vncserver with options
   vncserver :19 -geometry 1440x1062 -name x -rfbport 4918
(I can explain why but not relevant)

Here is the Xvnc process:
Xvnc :19 -desktop xx ... -geometry 1440x1062 ... -rfbwait 12
-rfbauth  -rfbport 5919 -fp ...  -rfbport 4918
NB the two -rfbport options.  - the first (I assume) always
specified, 
and the second from my vncserver option. And to show which one took 
precedence:
     here is netstat output to show which port it actually is
listening
on:

netstat -an | egrep -e 4918|5919
tcp4   0  0  *.4918 *.*
LISTEN
tcp4   0  0  ipaddr.4918   other_ipaddr.34849   
ESTABLISHED


2)and now here is the command I used on my workstation to connect :
vncviewer -geometry 1440x1062 -passwd z ipaddr::4918:19 /dev/null
 and that worked.

Does that convince you?   If not - try it!

John

_
Experience Live Search from your PC or mobile device today. 
http://www.live.com/?mkt=en-ca
___
VNC-List mailing list
VNC-List@realvnc.com
To remove yourself from the list visit:
http://www.realvnc.com/mailman/listinfo/vnc-list


Confidentiality Notice
This e-mail (including any attachments) is intended only for the recipients 
named above. It may contain confidential or privileged information and should 
not be read, copied or otherwise used by any other person. If you are not a 
named recipient, please notify the sender of that fact and delete the e-mail 
from your system.
___
VNC-List mailing list
VNC-List@realvnc.com
To remove yourself from the list visit:
http://www.realvnc.com/mailman/listinfo/vnc-list


RE: Trouble getting my Xvnc to display on my PC display

2006-10-17 Thread Kumar, Siva
Jose,

You need to be running the vncviewer to view the desktop generated by
the vncserver.
(http://www.realvnc.com/products/free/4.1/winvncviewer.html)
If you are doing so, what does the vncviewer say when it fails?

-siva

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On
Behalf Of Huerta, Jose
Sent: Tuesday, October 17, 2006 5:54 PM
To: vnc-list@realvnc.com
Subject: Trouble getting my Xvnc to display on my PC display

Hello, I have installed and started up the software vncserver on my HP
host and expected to see the VNC desktop appear, but it does not.

Any Idea why this would be?

Is my display possibly not set correctly?

Here are the processes I see running on the UNIX host



userid 8670  8528  1 16:23:07 pts/ta0:00 grep vnc

 userid 8616 1  0 16:22:09 pts/ta0:00 Xvnc :10 -desktop Jose-VNC
-httpd /usr/local/vnc/classes -auth

 useid  8622 1  0 16:22:12 pts/ta0:00 vncconfig -iconic



I have tried with and without exporting my DISPLAY variable export
DISPLAY=10.0.1.0:0 and neither way it seems to work.



HERE IS the output from the env command for this userid:



$ env



Warning! One or more of your selected locales are not available.

Please invoke the commands locale and locale -a to verify your

selections and the available locales.



Continuing processing using the C locale.



_=/usr/bin/env

MANPATH=/usr/share/man

LANG=engli

FPATH=/home/huertaj/fundir

VISUAL=/usr/bin/vi

PATH=/usr/bin:/etc:/usr/sbin:/usr/ucb:/bin:/usr/bin/X11:/sbin:/local/bin
:/usr/local/bin:/usr/local/user_templates

COLUMNS=90

EDITOR=/usr/bin/vi

HISTFILE=/home/huertaj/.sh_history

LOGNAME=huertaj

MAIL=/var/mail/huertaj

ERASE=^H

SHELL=/bin/ksh

HOME=/home/huertaj

FCEDIT=/usr/bin/vi

TERM=vt100

PWD=/home/huertaj

TZ=CST6CDT

ENV=/home/huertaj/.kshrc

LINES=26

EMC=/opt/EMC/ECC





Jose Huerta

United Stationers

Email: [EMAIL PROTECTED]

Office Phone: 847-627-2067

Cell Phone: 847-878-4961

Fax: 847-627-7067
___
VNC-List mailing list
VNC-List@realvnc.com
To remove yourself from the list visit:
http://www.realvnc.com/mailman/listinfo/vnc-list


Confidentiality Notice
This e-mail (including any attachments) is intended only for the recipients 
named above. It may contain confidential or privileged information and should 
not be read, copied or otherwise used by any other person. If you are not a 
named recipient, please notify the sender of that fact and delete the e-mail 
from your system.
___
VNC-List mailing list
VNC-List@realvnc.com
To remove yourself from the list visit:
http://www.realvnc.com/mailman/listinfo/vnc-list


RE: weird behavior

2006-09-26 Thread Kumar, Siva
Does anyone have physical access to the XP box? In Windows the display
shown by VNC is the same display shown on the monitor. So if a monitor
is connected to the box, all your actions can be seen and the kbd/mouse
attached to the box can be used for input.

-siva

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On
Behalf Of Ritu Sinha
Sent: Tuesday, September 26, 2006 10:03 AM
To: vnc-list@realvnc.com
Subject: weird behavior

I have VNC server 4.1.2 installed on a remote machine running XP. I have
used it for a few months and it has worked great. But recently, whenever
I connect to this machine using the VNC Client, after sometime, it seems
like someone else sneaks in and starts running the command prompt. I
have to kill the VNC server to stop any damages. One time, I stayed on
long enough to see that an ftp command was getting typed on the
command prompt. I have set up the server with password authentication.

Has anyone else seen this behavior? Any help or pointers will be greatly
appreciated.

--Ritu


-
Talk is cheap. Use Yahoo! Messenger to make PC-to-Phone calls.  Great
rates starting at 1/min.
___
VNC-List mailing list
VNC-List@realvnc.com
To remove yourself from the list visit:
http://www.realvnc.com/mailman/listinfo/vnc-list


Confidentiality Notice
This e-mail (including any attachments) is intended only for the recipients 
named above. It may contain confidential or privileged information and should 
not be read, copied or otherwise used by any other person. If you are not a 
named recipient, please notify the sender of that fact and delete the e-mail 
from your system.
___
VNC-List mailing list
VNC-List@realvnc.com
To remove yourself from the list visit:
http://www.realvnc.com/mailman/listinfo/vnc-list


RE: weird behavior

2006-09-26 Thread Kumar, Siva
Have you tried changing the password?

vnc server lets you see the list of vnc viewers connected to it. I think if
you right click on the vnc icon in the system tray (of the XP machine) you can
find the option. the next time it happens you can find out the ip from which
the connection is made.

another crazy thought... do u have vncserver running on your client machine?

-siva



From: Ritu Sinha [mailto:[EMAIL PROTECTED]
Sent: Tuesday, September 26, 2006 11:20 AM
To: Kumar, Siva; vnc-list@realvnc.com
Subject: RE: weird behavior


I know for sure that no one is physically typing those commands on the remote
machine. There is a monitor connected and I have a couple of guys watching the
screen as I walk them through a demo. The sneak activity is the same each time
... Start -- Run -- cmd --

Thanks,
Ritu

Kumar, Siva [EMAIL PROTECTED] wrote:

Does anyone have physical access to the XP box? In Windows the display
shown by VNC is the same display shown on the monitor. So if a monitor
is connected to the box, all your actions can be seen and the kbd/mouse
attached to the box can be used for input.

-siva

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On
Behalf Of Ritu Sinha
Sent: Tuesday, September 26, 2006 10:03 AM
To: vnc-list@realvnc.com
Subject: weird behavior

I have VNC server 4.1.2 installed on a remote machine running XP. I have
used it for a few months and it has worked great. But recently, whenever
I connect to this machine using the VNC Client, after sometime, it seems
like someone else sneaks in and starts running the command prompt. I
have to kill the VNC server to stop any damages. One time, I stayed on
long enough to see that an ftp command was getting typed on the
command prompt. I have set up the server with password authentication.

Has anyone else seen this behavior? Any help or pointers will be greatly
appreciated.

--Ritu


-
Talk is cheap. Use Yahoo! Messenger to make PC-to-Phone calls. Great
rates starting at 1/min.
___
VNC-List mailing list
VNC-List@realvnc.com
To remove yourself from the list visit:
http://www.realvnc.com/mailman/listinfo/vnc-list


Confidentiality Notice
This e-mail (including any attachments) is intended only for the 
recipients
named above. It may contain confidential or privileged information and should
not be read, copied or otherwise used by any other person. If you are not a
named recipient, please notify the sender of that fact and delete the e-mail
from your system.
___
VNC-List mailing list
VNC-List@realvnc.com
To remove yourself from the list visit:
http://www.realvnc.com/mailman/listinfo/vnc-list





Talk is cheap. Use Yahoo! Messenger to make PC-to-Phone calls. Great rates
starting at 1/min.
http://us.rd.yahoo.com/mail_us/taglines/postman7/*http://us.rd.yahoo.com/evt
=39666/*http://messenger.yahoo.com


Confidentiality Notice
This e-mail (including any attachments) is intended only for the recipients
named above. It may contain confidential or privileged information and should
not be read, copied or otherwise used by any other person. If you are not a
named recipient, please notify the sender of that fact and delete the e-mail
from your system.
___
VNC-List mailing list
VNC-List@realvnc.com
To remove yourself from the list visit:
http://www.realvnc.com/mailman/listinfo/vnc-list


RE: Sending Custom error message to viewer

2006-09-26 Thread Kumar, Siva
Hi,

I am rewording my question to better my chance of getting a reply -

Is there a way (without having to modify/rebuild the vncserver and
viewer) to customize the message that the vncserver sends back to the
user in case the vncserver rejects the connection.

Thanks.
siva.

 _
 From: Kumar, Siva
 Sent: Friday, September 22, 2006 12:36 PM
 To:   'vnc-list@realvnc.com'
 Subject:  Sending Custom error message to viewer



 In our current setup of VNC, we use inetd to start a new VNC session
 (inetd calls a script that starts Xvnc) whenever a connection request
 is received from a vncviewer. We try to enforce a maximum limit on the
 number of VNC session running concurrently. This check is made in the
 script starting Xvnc and when the limit is exceeded it does not start
 Xvnc. In such cases, the vncviewer requesting connection shows a
 message The connection closed unexpectedly. Is there anyway to send
 a customized error message back to the vncviewer when the maximum
 number of VNC X sessions have been started.

 Thanks in advance.

 Regards,
 Siva.


Confidentiality Notice
This e-mail (including any attachments) is intended only for the recipients
named above. It may contain confidential or privileged information and should
not be read, copied or otherwise used by any other person. If you are not a
named recipient, please notify the sender of that fact and delete the e-mail
from your system.
___
VNC-List mailing list
VNC-List@realvnc.com
To remove yourself from the list visit:
http://www.realvnc.com/mailman/listinfo/vnc-list


Sending Custom error message to viewer

2006-09-22 Thread Kumar, Siva
In our current setup of VNC, we use inetd to start a new VNC session
(inetd calls a script that starts Xvnc) whenever a connection request is
received from a vncviewer. We try to enforce a maximum limit on the
number of VNC session running concurrently. This check is made in the
script starting Xvnc and when the limit is exceeded it does not start
Xvnc. In such cases, the vncviewer requesting connection shows a message
The connection closed unexpectedly. Is there anyway to send a
customized error message back to the vncviewer when the maximum number
of VNC X sessions have been started.

Thanks in advance.

Regards,
Siva.


Confidentiality Notice
This e-mail (including any attachments) is intended only for the recipients
named above. It may contain confidential or privileged information and should
not be read, copied or otherwise used by any other person. If you are not a
named recipient, please notify the sender of that fact and delete the e-mail
from your system.
___
VNC-List mailing list
VNC-List@realvnc.com
To remove yourself from the list visit:
http://www.realvnc.com/mailman/listinfo/vnc-list