Ryan Buterbaugh | 1 Nov 2004 03:16
Favicon

Exclusive connections to VNC Viewer - Listening Mode (VNC 4)

I am attempting to modify the VNC Viewer's
listening mode option to only allow one
connection open at a time.  For example:

Computer 1: run listening viewer
Computer 2: connect to computer 1
Computer 1: accept connection from #2
Computer 3: connect to computer 1
Computer 1: disconnect connection with #2
Computer 1: accept connection from #3

I've tried to modify the CViewManager code
(specifically in the CViewManager::processMessage
function) to drop current connections before
accepting a new one, but with little success.
Any help would be greatly appreciated.

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

Marvin Barnes | 1 Nov 2004 04:33

Copying files

In conversation with a commercial software house, they tell me they are able
to copy files from the Pc they are on to the PC they have connected to with
VNC.  On XP they say they go to start and run and type in "\\the computer
name" they are connected to and this will allow them to copy the file.  I
must have missed something somewhere and am sure I did.  How can this be
done?

Thanks,

Marvin Barnes

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

Corné Beerse | 1 Nov 2004 09:56
Picon
Favicon

Re: "1280x1024" to "1024x768"

Philippe Ivaldi wrote:
> Hello,
> 
> I have a computer, says A, with Linux and xf4vnc installed (manualy).
> I have configured the file "XF86Conf-4" as described in the web page 
> http://xf4vnc.sourceforge.net/doc.html

So you get the console in a vnc-session. Then you need to change the console 
size to change the vnc-session size. Try <ctrl><alt><num+> or <ctrl><alt><num-> 
(that is <ctrl>, <alt> at the left hand of the keyboard and either <+> or <-> at 
the right hand of the keyboard) to switch trough the configured screen sizes.

If your screen-size is not configured, you need to reconfigure your console-size 
in any other way, check your local distribution or documentation. In the end it 
might be in /etc/X11/XF86Config.

> 
> I have a computer, says B, with WindowsXP and vncviewer installed
> 
> The remote control of A by B on display 0 works.
> 
> The problem :
> the resolution of A is "1280x1024" and the resolution of B is "1024x768" 
> so I must scroll the desktop on B.
> 
> My question :
> can I have an export display 0 "1280x1024" to "1024x768" ?
> how do I do ?

Some viewers can do a resize.
(Continue reading)

Pau Cabot | 1 Nov 2004 09:58
Picon

Broadcast teacher's desktop

Hi everybody,

I'm a teacher in a Majorcan school and I would like to use vnc as a 
"teacher desktop viewer": the pupils should be able to watch in their 
own screen the actions the teacher do in his/her desktop. Do you know 
the way to do it?

I have read a lot but i have not been able to find a solution for my 
problem.

Things I have tried:
- krfb+krdc (only allows one client)
- vncserver+vncclient (dispays me a different X session)
- x11vnc: http://www.karlrunge.com/x11vnc/ (it works in Debian, but not 
in SuSE)
- xf4vnc: http://xf4vnc.sourceforge.net (I cannot boot X with the new 
XF86Config generated by the program)

Things I have NOT tried:
- XMX: http://www.cs.brown.edu/software/xmx
- NX: http://www.mirrors.net.ar/pub/suse/i386/supplementary/X/NX/
- This: http://www.realvnc.com/v4/x0.html

What do you recommend me? Which would be the easiest way to solve it?

I am using SuSE Linux 9.1 on both teacher and pupil's machine.

Thanks in advance,

Pau Cabot
(Continue reading)

Corné Beerse | 1 Nov 2004 10:07
Picon
Favicon

Re: Win XP SP2 Firewall Instructions - clarification, please

BPS wrote:

> Hi!
> 
> The instructions for disabling the Win XP SP2 firewall
> instructions say:
> 
> "4. Enter port number "5900" or whatever port you've
> got VNC on that PC to listen on (port number = 5900 +
> "VNC Display Number")."
> 
> Am I supposed to put something after "5900"?  I don't
> understand what "VNC Display Number" means.  

If you don't know anything about a display-number, you are most likely on a 
M$Window system at both ends and use the defaults: your display number is 0 
(zero). Hence you can skip it.

If you see the server-side propperties, you can change the display number. 
Basiccaly this changes the used port-number: the display-number is added to 5900 
  to get the used port number. For the java-web-viewer it is the same: add the 
display number to 5800 to get the used port. View the html-source of that page 
in your browser and see it uses port 5900+display for its communication.

For unix-based vnc-servers (including linux! and apple OS-X?) display number 0 
is reserved for the console, just as with X11 (like XFree): that uses port 6000 
+ display-number for its communication (from application to display). Hence Xvnc 
uses 6000+display, 5900+display and optionally 5800+display.

At the viewer side, you select your remote machine with "<machine>:<display>" If 
(Continue reading)

Tristan Richardson | 1 Nov 2004 11:23
Favicon

Re: Old problem dredged up!

You're right that this is a well-known issue.  However there shouldn't 
be a problem with any properly-conforming RFB implementations.  If you 
examine the code for the 4.0 viewers you will see that they only ever 
change pixel format when there is no update request outstanding.  This 
means that the pixel format is known with certainty when an update 
arrives [the viewer only ever sends one update request at a time].

If you are seeing a problem when using a 4.0 viewer it is probably the 
server not adhering to the RFB protocol spec - e.g. sending updates when 
there is no update request outstanding.

Cheers

Tristan

Mark Lentczner wrote:
> Folks -
> 
> I've been implementing reverse-connection functionality in the Mac OS X 
> server and viewer projects:
>     http://www.ozonehouse.com/mark/blog/code/Reverse_VNC.html
> 
> A problem has been found when using the OSXvnc server in this new 
> reverse-connection mode with the VNC 4.0 viewers if "auto select" is 
> enabled.  After much hair pulling I uncovered that there is a race 
> condition in the VNC protocol if the viewer changes the pixel format 
> between two request messages.  See below for my full analysis.
> 
> Turns out this problem was discussed on the list long ago, in February 
> of 1999:
(Continue reading)

James Weatherall | 1 Nov 2004 12:28
Favicon

RE: Broadcast teacher's desktop

Pau,

Your best bet is probably to use:

> - This: http://www.realvnc.com/v4/x0.html

And to configure the VNC Server with AlwaysShared, so that multiple VNC
Viewers can be connected simultaneously.  You probably also want to set
AllowKeyEvents, AllowPointerEvents, etc to zero, so that the student's
machines can't affect the presentation output.

Wez  <at>  RealVNC Ltd.

> -----Original Message-----
> From: vnc-list-admin <at> realvnc.com 
> [mailto:vnc-list-admin <at> realvnc.com] On Behalf Of Pau Cabot
> Sent: 01 November 2004 08:58
> To: vnc-list <at> realvnc.com
> Subject: Broadcast teacher's desktop
> 
> Hi everybody,
> 
> I'm a teacher in a Majorcan school and I would like to use 
> vnc as a "teacher desktop viewer": the pupils should be able 
> to watch in their own screen the actions the teacher do in 
> his/her desktop. Do you know the way to do it?
> 
> I have read a lot but i have not been able to find a solution 
> for my problem.
> 
(Continue reading)

Angelo Sarto | 1 Nov 2004 16:16
Picon

Re: Disabling Win XP firewall - VNC vs. pcAnywhere

yes you can use the pc anywhere method.  just remember this:

5900 - Must be open on the Server
5800 - can be opened for Java (but 5900 has to be open too)
5500 - can be opened if you run listening viewers.

--ANgelo

On Sun, 31 Oct 2004 07:08:10 -0800 (PST), BPS <bpsa2 <at> yahoo.com> wrote:
> Hi, all!
> 
> I want to be able to use both VNC and pcAnywhere (not
> on the same computer, of course...).  It seems like
> the basic procedures for both VNC and pcAnywhere are
> going to be the same with Win XP - configure the
> router, deal with the dynamic IP, and disable the Win
> XP SP2 firewall.
> 
> I notice that the instructions that I get for
> disabling the firewall are quite a bit different for
> pcAnywhere than for VNC.  Seems like the pcAnywhere
> instructions are a little more straight forward.
> Could I use the pcAnywhere instructions for VNC,
> using, of course, the appropriate VNC port #s, etc.?
> Or is there really a difference between how the two
> programs have to circumvent the firewall?
> 
> Here are the two sets of instructions:
> DEACTIVATING THE WINDOWS XP SP2 FIREWALL FOR
> PCANYWHERE
(Continue reading)

Angelo Sarto | 1 Nov 2004 16:18
Picon

Re: connecting to a VNC server behind a firewall (on my home LAN)

Yep,

open a command prompt and try 
telnet the.ip.address 5900

Remember this:
5900 - Must be open for vnc
5800 - can be open but you still need 5900
5500 - for listeners

--Angelo

On Sun, 31 Oct 2004 16:40:09 -0000, Conor Rafferty <cr <at> altmore.co.uk> wrote:
> BTW each machine now has its own static IP address, and DHCP is disabled on
> the router.
> 
> 
> 
> -----Original Message-----
> From: vnc-list-admin <at> realvnc.com [mailto:vnc-list-admin <at> realvnc.com]On
> Behalf Of Alan Watchorn
> Sent: 27 October 2004 19:31
> To: vnc-list <at> realvnc.com
> Subject: RE: connecting to a VNC server behind a firewall (on my home
> LAN)
> 
> I think Conor can probably skip step 3 (locking IP addresses to particular
> MAC addresses - systems - with router as DHCP server) since he is using
> static IP addresses.  Conor, just make sure you have DHCP disabled on the
> router if you are truly using static IP addresses for everything - or make
(Continue reading)

John Aldrich | 1 Nov 2004 16:18

RE: Accept Socket Connections: Option not applying.

Glad to help. :-)

-----Original Message-----
From: Sam Kader [mailto:skader <at> linkinnovations.com]
Sent: Sunday, October 31, 2004 5:07 PM
To: vnc-list <at> realvnc.com
Subject: Re: Accept Socket Connections: Option not applying.

spyware was the problem after running spybot it fixed the problem.

Thanks,

Sam

John Aldrich wrote:

>Then that's probably the reason you're having problems. I suggest you
>download and run SpyBot S&D and/or Ad-Aware SE. Both are free and both do a
>pretty darn good job of cleaning spyware. I typically use both (one right
>after the other...) and they seem to co-exist pretty well. Just my 2" (US).
>	John
>
>-----Original Message-----
>From: Sam Kader [mailto:skader <at> linkinnovations.com]
>Sent: Thursday, October 28, 2004 8:39 PM
>To: vnc-list <at> realvnc.com
>Subject: Accept Socket Connections: Option not applying.
>
>
>Bit stuck on this one and would really appreciate a solution, here i go :)
(Continue reading)


Gmane