vnc big source code

2004-01-16 Thread john john
Hi everybody

 

I am new to windows programming and vnc. I saw the vnc source code. It is huge. I am 
wondering why just capturing the desktop bitmaps, comparing with existing buffer and 
sending the difference with good compression algorithm doesnt work fast. For example 
sending 5 times in one second may be enough and possible. Why does it needs much code? 
Sorry if I am wrong. 

 

Thanks

John




-
Do you Yahoo!?
Yahoo! Hotjobs: Enter the "Signing Bonus" Sweepstakes
___
VNC-List mailing list
[EMAIL PROTECTED]
To remove yourself from the list visit:
http://www.realvnc.com/mailman/listinfo/vnc-list


Re: no system tray icon

2004-01-16 Thread William Hooper
Mike Fedyk said:
> On Fri, Jan 16, 2004 at 08:46:52PM +, Baldur Gislason wrote:
>> No it's not, read the FAQ.
>>
>> Baldur
>
> Maybe a better question would be "how do I keep the user from turning vnc
> off?"

Depends what version of VNC you are running.

> Haven't read the faq, if it's there then sorry, and disregard.

How about the documentation?

http://www.realvnc.com/winvnc.html
AllowShutdown
If this is set to zero, the user is not allowed to close down WinVNC.

-- 
William Hooper
___
VNC-List mailing list
[EMAIL PROTECTED]
To remove yourself from the list visit:
http://www.realvnc.com/mailman/listinfo/vnc-list


Re: no system tray icon

2004-01-16 Thread Baldur Gislason
It's possible to disable the configurations, but the icon will remain there 
unless you change the source code
http://www.realvnc.com/winvnc.html
Right below the middle are the registry values you can edit.

Baldur
 
On Friday 16 January 2004 22:19, Mike Fedyk wrote:
> On Fri, Jan 16, 2004 at 08:46:52PM +, Baldur Gislason wrote:
> > No it's not, read the FAQ.
> >
> > Baldur
>
> Maybe a better question would be "how do I keep the user from turning vnc
> off?"
>
> Haven't read the faq, if it's there then sorry, and disregard.
> ___
> VNC-List mailing list
> [EMAIL PROTECTED]
> To remove yourself from the list visit:
> http://www.realvnc.com/mailman/listinfo/vnc-list
___
VNC-List mailing list
[EMAIL PROTECTED]
To remove yourself from the list visit:
http://www.realvnc.com/mailman/listinfo/vnc-list


Re: no system tray icon

2004-01-16 Thread Mike Fedyk
On Fri, Jan 16, 2004 at 08:46:52PM +, Baldur Gislason wrote:
> No it's not, read the FAQ.
> 
> Baldur

Maybe a better question would be "how do I keep the user from turning vnc
off?"

Haven't read the faq, if it's there then sorry, and disregard.
___
VNC-List mailing list
[EMAIL PROTECTED]
To remove yourself from the list visit:
http://www.realvnc.com/mailman/listinfo/vnc-list


Client Rejected Error

2004-01-16 Thread Elmer Keil
We developed an application using VNC to run interactive UNIX programs
from a web browser.  About 8-10 weeks ago it was running great.  We
stopped using it to plunge into the documentation mire.  Recently, when
we tried to get some screen snapshots, we discovered that it was broken
- VNC window crash ( VNC log is listed below ).  CVS indicates that no
code changes have been made since the last time it worked correctly.
Old logs do not show an AUDIT line.  The Apache log indicates that xset,
xhost, etc. can not open the display.  Reverting to VNC 3.3.4 does not
change things.

I suspect that a SysAdmin tightened up the security on something.  Port
61289 is not valid for any thing that I know about and the port number
changes each time.  Note VNC still works when initiated from a UNIX
command line and accessed via a browser.

Research indicates that others have had similar problems but I can't
locate any solution.  Does anyone know what's causing this ?

TIA  Elmer  - ekeil at mitre dot org

---

16/01/04 12:04:51 Xvnc version 3.3.7 - built Feb 28 2003 18:43:51
16/01/04 12:04:51 Copyright (C) 2002-2003 RealVNC Ltd.
16/01/04 12:04:51 Copyright (C) 1994-2000 AT T Laboratories Cambridge.
16/01/04 12:04:51 All Rights Reserved.
16/01/04 12:04:51 See http://www.realvnc.com for information on VNC
16/01/04 12:04:51 Desktop name 'SuperEasy' (bugatti:3)
16/01/04 12:04:51 Protocol version supported 3.3
16/01/04 12:04:51 Listening for VNC connections on TCP port 5903
16/01/04 12:04:51 Listening for HTTP connections on TCP port 5803
16/01/04 12:04:51   URL http://bugatti:5803
16/01/04 12:04:58 httpd: get '' for 128.29.51.35
16/01/04 12:04:58 httpd: defaulting to 'index.vnc'

16/01/04 12:05:13 Got connection from client 128.29.51.35
16/01/04 12:05:13 Protocol version 3.3
16/01/04 12:05:13 Using hextile encoding for client 128.29.51.35
16/01/04 12:05:13 Pixel format for client 128.29.51.35:
16/01/04 12:05:13   8 bpp, depth 8
16/01/04 12:05:13   true colour: max r 7 g 7 b 3, shift r 0 g 3 b 6
16/01/04 12:05:34 Client 128.29.51.35 gone
16/01/04 12:05:34 Statistics:
16/01/04 12:05:34   key events received 0, pointer events 135
16/01/04 12:05:34   framebuffer updates 20, rectangles 54, bytes 534390
16/01/04 12:05:34 hextile rectangles 54, bytes 534390
16/01/04 12:05:34   raw bytes equivalent 1052265, compression ratio
1.969096
AUDIT: Fri Jan 16 12:05:50 2004: 15186 Xvnc: client 2 rejected from IP
128.29.35
.37 port 61289
___
VNC-List mailing list
[EMAIL PROTECTED]
To remove yourself from the list visit:
http://www.realvnc.com/mailman/listinfo/vnc-list


Re: no system tray icon

2004-01-16 Thread Baldur Gislason
No it's not, read the FAQ.

Baldur

On Friday 16 January 2004 19:24, Leigh Cocker wrote:
> is there away to get VNC server running without having it showing in
> the system tray ??
> thanks
> ___
> VNC-List mailing list
> [EMAIL PROTECTED]
> To remove yourself from the list visit:
> http://www.realvnc.com/mailman/listinfo/vnc-list
___
VNC-List mailing list
[EMAIL PROTECTED]
To remove yourself from the list visit:
http://www.realvnc.com/mailman/listinfo/vnc-list


no system tray icon

2004-01-16 Thread Leigh Cocker
is there away to get VNC server running without having it showing in 
the system tray ??
thanks
___
VNC-List mailing list
[EMAIL PROTECTED]
To remove yourself from the list visit:
http://www.realvnc.com/mailman/listinfo/vnc-list


Re: immediate disconnect using realVNC 3.3.7

2004-01-16 Thread James Weatherall
Bonno,

The colour problem sounds rather odd.  Which VNC Viewer are you using
(platform, version, etc), to connect to the server?

When you say "when coming out of the screen saver", are you connecting
via VNC while the screen saver is running, or does this also happen when
you have an existing VNC connection started before the screensaver
started?

Cheers,

Wez @ RealVNC Ltd.


On Fri, 2004-01-16 at 15:00, Bonno Bloksma wrote:
> However, I do have a color problem. When coming out of the screen saver all
> grey areas on the server are pink on the client. Disconnecting and reconning
> will solve it. I have to look if I can reproduce this at will.
___
VNC-List mailing list
[EMAIL PROTECTED]
To remove yourself from the list visit:
http://www.realvnc.com/mailman/listinfo/vnc-list


Re: No graphical screen, no GUI, looks like telnet

2004-01-16 Thread Robert DuHamel
Thanks for the help, everyone; you steered me in the right direction.

Found the solution at http://faq.gotomyvnc.com/fom-serve/cache/56.html

Actually, VNC was working fine but TWM was giving me a blank desktop. 
The "telnet session" was an XTerm window also started by VNC. Running 
KDE solved the problem.
___
VNC-List mailing list
[EMAIL PROTECTED]
To remove yourself from the list visit:
http://www.realvnc.com/mailman/listinfo/vnc-list


[suse 8, KDE 3.1.3, vnc 4.0b4] clipboard woes...

2004-01-16 Thread mrinvader
Hi again,

I have a SuSE 8 machine running 4.0b4 client in X 4.20 and KDE 3.1.3 (from
KDE). The server is a windows 2000 pro machine with either server 3.3.7 as
 or 4.0(b4?). neither server version makes a difference, although 4.0b4
does go a LOT faster!

This happens on a suse 9 x0vncserver 4.0b4 server as well..

The issue is that clipboard passing sometimes happens from the 2000 box to
the suse box but not from the suse box to the 2000 box. what am i doing
wrong? the settings for that functionality are turned on on both ends in
the configuration.

what was the syntax for the F8 menu item for "send local > remote"
manually?  If i put it into the .Xresources, am i going to have to put in
all the other items (basiucally rebuilding the menu from scratch)?




-- 
Yours,
Charles T. Houghtby IV
IT Manager, Rapid Appraisal, INC

---
During a grouse hunt in North Carolina two intrepid sportsmen
were blasting away at a clump of trees near a stone wall.  Suddenly a
red-faced country squire popped his head over the wall and shouted,
"Hey, you almost hit my wife."
"Did I?"  cried the hunter, aghast.  "Terribly sorry.  Have a
shot at mine, over there."

--

"Oh" my new operator calls as I leave, "I can't remember what your backup
tape looked like. Is this it here on the Bulk Eraser?"
--The Last BOFH
___
VNC-List mailing list
[EMAIL PROTECTED]
To remove yourself from the list visit:
http://www.realvnc.com/mailman/listinfo/vnc-list


Re: immediate disconnect using realVNC 3.3.7

2004-01-16 Thread Bonno Bloksma
Hi,

Installed RealVNC4b4 on the mailserver. I can connect to the server even
when the screensaver was active. Let's see if it stays that way. I did not
install it next to v3.3.7 as I did not see where the 4b4 client asks for the
port number. Of course I just now realised I should probably have entered
that in the connection address like a standard ip:port address. ;-)

However, I do have a color problem. When coming out of the screen saver all
grey areas on the server are pink on the client. Disconnecting and reconning
will solve it. I have to look if I can reproduce this at will.

Met vriendelijke groet,

Bonno Bloksma

- Original Message -
From: "James Weatherall" <[EMAIL PROTECTED]>
To: "'Bonno Bloksma'" <[EMAIL PROTECTED]>
Sent: Thursday, January 15, 2004 7:26 PM
Subject: RE: immediate disconnect using realVNC 3.3.7


Bonno,

You should find that VNC 4b4 and VNC 3.3.7 can happily co-exist on the same
machine, provided that you configure them to run on different port numbers.
There shouldn't be a problem installing VNC 4 over a VNC 3 connection,
either. :)

Cheers,

Wez @ RealVNC Ltd.


-Original Message-
From: Bonno Bloksma [mailto:[EMAIL PROTECTED]
Sent: 15 January 2004 18:23
To: James Weatherall
Subject: Re: immediate disconnect using realVNC 3.3.7


Hi,

Ok, I'll update the VNC on the server to RealVNC4b4. I'll do that tomorrow
as it's 19:30 overhere. Installing RealVNC won't work using VNC I think. ;-)

Groetjes,

Bonno Bloksma
 Back up my hard drive? How do I put it in reverse?

- Original Message -
From: "James Weatherall" <[EMAIL PROTECTED]>
To: "'Bonno Bloksma'" <[EMAIL PROTECTED]>
Sent: Thursday, January 15, 2004 6:14 PM
Subject: RE: immediate disconnect using realVNC 3.3.7


Bonno,

Yes, VNC 4b4 is pretty stable.  I was assuming VNC 4.0 when I suggested that
you check the Event Log.

Are you sure that the server is running as a service, not as an application,
and that it is definitely running in the LocalSystem account?

Cheers,

Wez @ RealVNC Ltd.

-Original Message-
From: Bonno Bloksma [mailto:[EMAIL PROTECTED]
Sent: 15 January 2004 17:08
To: James Weatherall
Subject: Re: immediate disconnect using realVNC 3.3.7


Hi,

Just looked, no nothing with *vnc* in the app log.

Disabled the windows screensaver and have not had this problem. It seems
something is happening when the screensaver is active and has locked the
serverconsole. I would love to test some more but this is our mailserver,
not an ideal testbed. ;-)

How stable is RealVNC4b4, is it worth the effort to try to install that on
the mailserver? Will it give more debugging information?

Met vriendelijke groet,

Bonno Bloksma

- Original Message -
From: "James Weatherall" <[EMAIL PROTECTED]>
To: "'Bonno Bloksma'" <[EMAIL PROTECTED]>; "'VNC-list'"
<[EMAIL PROTECTED]>
Sent: Thursday, January 15, 2004 3:22 PM
Subject: RE: immediate disconnect using realVNC 3.3.7


Bonno,

Is there an error logged in the Applications event log on the server that
explains the reason for disconnecting the viewer?

Cheers,

Wez @ RealVNC Ltd.


-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On
Behalf Of Bonno Bloksma
Sent: 13 January 2004 14:04
To: VNC-list
Subject: immediate disconnect using realVNC 3.3.7


Funny thing is, if I fysically go to the server and using the console kill
the WinVNC process, and start VCN server, I can once again connect using VNC
for a while. Starting the service helper (whatever that may do) will have
the same effect. I've updated the VNC on my workstation to VNC4b4, same
problem. I do get a message now when I have a failed connection it is:
"Read: Connection reset by peer (10054)".

---
[This E-mail scanned for viruses by Declude Virus using f-prot and Sophos]


---
[This E-mail scanned for viruses by Declude Virus using f-prot and Sophos]

---
[This E-mail scanned for viruses by Declude Virus using f-prot and Sophos]


---
[This E-mail scanned for viruses by Declude Virus using f-prot and Sophos]

---
[This E-mail scanned for viruses by Declude Virus using f-prot and Sophos]


---
[This E-mail scanned for viruses by Declude Virus using f-prot and Sophos]
___
VNC-List mailing list
[EMAIL PROTECTED]
To remove yourself from the list visit:
http://www.realvnc.com/mailman/listinfo/vnc-list


Re: Connecting to Solaris 8 from Windows

2004-01-16 Thread Corné Beerse
Franco Stellari wrote:

Hi, I'm new to this mailing list and I don;t have much experience with unix 
systems. I'm trying to share the CDE desktop of a SUN machine running Solaris
8 to a chient installed on a Win2k PC. I need the PC user to be able to see
as a spectactor what I'm doing on the SUN.
...mmm Sun ...mmm Solaris. THere are some default problems on solaris but you 
have not triggered them. Major soltion: get write rights to the directory where 
the X11 locks and such are stored: /tmp/...X11... (a directory with X11 in the 
name, in /tmp). Ask your sysadmin, you will need it.

I installed the vncswerver download from realvnc.com. When I run it it
connect to dispaly :1 and not to :0 bevause Xsun is using :0. If I connect
from the client, I can conenct to :1 but I don't have the decktop. I can not
connet to :0.
I don't know if there is a way to export the console (:0) from a Solaris box. I 
do know 3 ways to do so on linux but they need Xfree86 (where Solaris uses Xsun) 
or KDE (where Solaris uses CDE) or a framebuffer device (don't know if it is 
avialable and/or capable of doing some vnc).

Hence my advice: start a vanilla vncserver session and both connect to that. If 
you need CDE, see the maillistarchive for details. By head, you can try 
`vncserver -query localhost` which provides a login box. Just do the login once 
more. You might need to add some options to have both access at the same time. 
See `Xvnc --help` for a list (and give them to `vncserver`).

Now both access to this vnc session and off you go.

Is there a solution to this problem. Thanks a lot for any help,

Franco ___ VNC-List mailing list 
[EMAIL PROTECTED] To remove yourself from the list visit: 
http://www.realvnc.com/mailman/listinfo/vnc-list
___
VNC-List mailing list
[EMAIL PROTECTED]
To remove yourself from the list visit:
http://www.realvnc.com/mailman/listinfo/vnc-list


Run "VMWare Workstation 4" with VNC (Issue & Workaround)

2004-01-16 Thread 我 不知道
The symptom:
==
I have set up a "ReaHat Linux release 7.3 (Valhalla)" machine with "VNC
3.3.7" and "VMware Workstation 4.0.5 build-6030" installed. All of them 
(VNC
& VMware) are working properly when launch individually. Even when I launch
VMware within a VNC, everything still seems OK.

But when I power-on a virtual machine from that VMware, a warnning was
popped with following message:
"XFree86 DGA extension not present. Either your X Server is built without
this extension, or it is not configured to use it. XFree86 direct graphics
(DGA extension) initialization failed."
When dismiss the dialog, the power-on action is suddenly stopped although
the VMware windows still exist.
The pathway:
===
At first, I thought it is a DGA limitation of Xvnc (VNC's virtual X server)
and was very joyless for the searching result from Internet -- no solution.
Then I aimlessly configurate and re-power-on the virtual machine again and
again with grumble. And then the miracle occured. After dismiss servale
hints from VMware, the virtual machine is booted successfully! But the 
great
thing is not repeatable. Then, I noticed these messages on my terminal
window from which the VMware is launched.

"VMXFER: Attempt to send message VUIHintX while processing safe all
LogSlaveSwitchFileStart
VMXFER: Attempt to send message VUIPostX while processing safe all
LogSlaveSwitchFileStart
Panic loop"
These messages were dumped ONLY when the power-on is failed. After some
attempt, I got the conclusion.
The solution:
===
The failure is caused by VMware's fancy hint feature not VNC's DGA
limitaion. To solve the symptom is to close the hint feature of VMware, 
here
is the path,

Help | Hints | Hide All Hints

Then the virtual machine can be repeatable booted. :)

_
[EMAIL PROTECTED]<~O5M3!* MSN Hotmail!#  http://www.hotmail.com  
___
VNC-List mailing list
[EMAIL PROTECTED]
To remove yourself from the list visit:
http://www.realvnc.com/mailman/listinfo/vnc-list


TR: immediate disconnect using realVNC 3.3.7

2004-01-16 Thread Seak, Teng-Fong
Here's the mail from Bonno and hope someone else could help him.

For the nth time, could the mailing-list maintainer add an "Reply-To" field to 
every mail?  Or is there any reason not to do so?

> -Message d'origine-
> De : Bonno Bloksma [mailto:[EMAIL PROTECTED] 
> Envoyi : jeudi 15 janvier 2004 18:12
> @ : Seak, Teng-Fong
> Objet : Re: immediate disconnect using realVNC 3.3.7
> 
> Hi,
> 
> > Well, quite a lot of informations .  I try to guess what you 
> > wanted to say.
> >
> > Have you registered the VNC server service?  Or you could 
> > unregister it and register again.
> 
> Tried that as well a while ago, unregistring, register, did not help.
> 
> > On the other hand, nothing to do with VNC, you said you 
> > need to logon
> > because one of your application needs to be active.  Does 
> > this application need interaction with user?  Or it's 
> > something running silently, almost a background application?  
> > If it's not interactive, you could use srvany.exe to make it 
> > a service.
> 
> That is something we are looking into, it's just to make a 
> connection between the information on our website and the 
> corresponding information on our mailserver But I thought I 
> might as well help the VNC team solve a bug which seems to 
> happen infrequently. If I have a situation where it does 
> happen maybe we can track it down. ;-)
> 
> Met vriendelijke groet,
> 
> Bonno Bloksma
___
VNC-List mailing list
[EMAIL PROTECTED]
To remove yourself from the list visit:
http://www.realvnc.com/mailman/listinfo/vnc-list