vnc-list newcomer

2001-05-22 Thread Mark Harris

Greetings,

I want to congratulate all contributors on a very nice project ! I run
VNCserver for Linux(RH 7.1) on a local cluster that makes x3270 connections
to an S390 system in Boulder.   x3270  needs an X server,  but I don't want
to put the video hardware on the cluster.I have been using Xvfb for
this purpose,  and have now replaced Xvfb with VNCserver.I get the same
virtual framebuffer with the added benefit that I can view the desktop when
I need to for diag purposes,  or for remote view/support.

Some of my support folks need to see the X desktop also,  which always
required a trek to the server room;  not any more!   The W2K VNCviewer is
working just fine from their desks,  and remote support of this server
cluster has become a breeze.

Brilliant !



Mark H. Harris  <><

Staff Software Engineer
Software Tools Development  -  IBM Rochester,  MN
iSeries  Dept  EL8Y/664-3  E115
[EMAIL PROTECTED]  (8) 456-6910  1-507-286-6910
-
To unsubscribe, send a message with the line: unsubscribe vnc-list
to [EMAIL PROTECTED]
See also: http://www.uk.research.att.com/vnc/intouch.html
-



Re: VNC Connection Freezes / Drops

2001-05-22 Thread Mark Harris

We also have noticed this same behavior between NT and W2K.   I am
interested in the feedback.  Thanks.

Mark H. Harris  <><

Staff Software Engineer
Software Tools Development  -  IBM Rochester,  MN
iSeries  Dept  EL8Y/664-3  E115
[EMAIL PROTECTED]  (8) 456-6910  1-507-286-6910
-
To unsubscribe, send a message with the line: unsubscribe vnc-list
to [EMAIL PROTECTED]
See also: http://www.uk.research.att.com/vnc/intouch.html
-



Re: VNC Connection Freezes / Drops

2001-05-23 Thread Mark Harris

James says,
"This sounds like an issue with your network."
-

Nope.  We have reproduced this behavior between two boxes (NT W2K) that are
on the same ring... that is,  we aren't even making two hops;  we never hit
a router or bridge.

In our case the machines are using token ring;  however,  this same
behavior has been seen on ethernet.

Over some time,  something happens between the viewer and the server,  and
one or the other will hang.  In our case,  closing the windows and
reestablishing the connection gets us going again.  Time before the hang
varies,  but is definitely not network related.  Something else is going
on.

I have not seen the hang on my Linux boxes.


Mark H. Harris  <><

Staff Software Engineer
Software Tools Development  -  IBM Rochester,  MN
iSeries  Dept  EL8Y/664-3  E115
[EMAIL PROTECTED]  (8) 456-6910  1-507-286-6910
-
To unsubscribe, send a message with the line: unsubscribe vnc-list
to [EMAIL PROTECTED]
See also: http://www.uk.research.att.com/vnc/intouch.html
-



Re: VNC Connection Freezes / Drops

2001-05-23 Thread Mark Harris

> Over some time,  something happens between the viewer and the server,
and
> one or the other will hang.  In our case,  closing the windows and
> reestablishing the connection gets us going again.  Time before the hang
> varies,  but is definitely not network related.  Something else is going
> on.

Closing the viewer window and reconnecting fixes the problem?

Cheers,

James "Wez" Weatherall

---

Yes.The cursor freezes... only the dot can be moved.It is possible
to move the dot up and close the viewer window and restart.Something is
causing the viewer to lock, or hang,  freeze...

Thanks

Mark H. Harris  <><

Staff Software Engineer
Software Tools Development  -  IBM Rochester,  MN
iSeries  Dept  EL8Y/664-3  E115
[EMAIL PROTECTED]  (8) 456-6910  1-507-286-6910
-
To unsubscribe, send a message with the line: unsubscribe vnc-list
to [EMAIL PROTECTED]
See also: http://www.uk.research.att.com/vnc/intouch.html
-



RE: VNC Connection Freezes / Drops

2001-05-23 Thread Mark Harris

Jason,
Where do you check  "poll full window"  ?

Thanks

Mark H. Harris  <><

Staff Software Engineer
Software Tools Development  -  IBM Rochester,  MN
iSeries  Dept  EL8Y/664-3  E115
[EMAIL PROTECTED]  (8) 456-6910  1-507-286-6910
-
To unsubscribe, send a message with the line: unsubscribe vnc-list
to [EMAIL PROTECTED]
See also: http://www.uk.research.att.com/vnc/intouch.html
-



RE: VNC Connection Freezes / Drops

2001-05-23 Thread Mark Harris

James,

The VNCviewer that freezes (in our case) is a Windows 2000 box.
VNCserver is running on an NT box.The symptom is that the cursor
(mouse) freezes on the vncviewer window,  only allowing us to move the dot.
We can move up and close the vncviewer window and restart the viewer and
continue.   The desktop on the server is not affected,  and when we restart
the viewer things are ok until the viewer freezes again.

I have not seen the viewer hang on my Linux boxes.



Mark H. Harris  <><

Staff Software Engineer
Software Tools Development  -  IBM Rochester,  MN
iSeries  Dept  EL8Y/664-3  E115
[EMAIL PROTECTED]  (8) 456-6910  1-507-286-6910
-
To unsubscribe, send a message with the line: unsubscribe vnc-list
to [EMAIL PROTECTED]
See also: http://www.uk.research.att.com/vnc/intouch.html
-



Re: Ghosting??

2001-05-25 Thread Mark Harris

What you are looking for is "Terminal Services".



Mark H. Harris  <><

Staff Software Engineer
Software Tools Development  -  IBM Rochester,  MN
iSeries  Dept  EL8Y/664-3  E115
[EMAIL PROTECTED]  (8) 456-6910  1-507-286-6910
-
To unsubscribe, send a message with the line: unsubscribe vnc-list
to [EMAIL PROTECTED]
See also: http://www.uk.research.att.com/vnc/intouch.html
-



RE: VNC Connection Freezes / Drops

2001-05-25 Thread Mark Harris

Jason says,
"Double click on the VNC server icon in the system tray. Check the box that
states "poll full screen".
---

I checked the "poll full screen"  box and am testing now.What other
boxes do you have checked.I have unchecked all other polling boxes and
only have the "poll full screen"  checked.

Thanks

Mark H. Harris  <><

Staff Software Engineer
Software Tools Development  -  IBM Rochester,  MN
iSeries  Dept  EL8Y/664-3  E115
[EMAIL PROTECTED]  (8) 456-6910  1-507-286-6910
-
To unsubscribe, send a message with the line: unsubscribe vnc-list
to [EMAIL PROTECTED]
See also: http://www.uk.research.att.com/vnc/intouch.html
-



password file

2001-05-25 Thread Mark Harris

hi gang,

I am trying to automate the vnc viewer attachment from my Linux box to my
W2000 box with :

vncviewer  w2000box:0  -passwd passwordfile   -fullscreen

The question is how do I create the passwordfile ?

Thanks

Mark H. Harris  <><

Staff Software Engineer
Software Tools Development  -  IBM Rochester,  MN
iSeries  Dept  EL8Y/664-3  E115
[EMAIL PROTECTED]  (8) 456-6910  1-507-286-6910
-
To unsubscribe, send a message with the line: unsubscribe vnc-list
to [EMAIL PROTECTED]
See also: http://www.uk.research.att.com/vnc/intouch.html
-



Re: VNC Connection Freezes / Drops

2001-05-29 Thread Mark Harris

hi James,

We  can reproduce this problem.   This note is going to give a better
description of the hang,   and then will detail the steps to follow to
reproduce.

The problem is in the client viewer.The symtpom is that the client
viewer (full screen or window)  freezes.   The desktop does not refresh and
the host mouse is frozen.   The  "dot"  mouse can be moved and the session
can be minimized or closed.The good news is that we have not only
figured out how to reproduce the problem,  we know how to circumvent it
also.

The problem has been reproduced with the 3.3.3 viewer running on W2K and
NT.   It does not seem to matter what the server platform is;  however,  I
have used both the Linux and NT platforms in my testing.

Steps to reproduce the freeze:

1) start the viewer on an NT or W2K box.
2) minimize the session window to the toolbar
3) right click the toolbar icon for the session window
4) on the popup menu click 'fullscreen'
5) click the fullscreen acknowledgement
6) the session will be frozen,  the mouse will be frozen,  the 'dot' mouse
will move

now

1) minimize the session by ctrl-esc  esc  and right click on the toolbar
session icon
1a)   click minimize
2) maximize the session by left clicking the toolbar session icon

   The session will now be freed,  the mouse will move ,   etc.

Alternate steps to reproduce the freeze:

1) start with the session in fullscreen mode   (viewer on NT or W2K)
2) minimize the session with  ctrl-esc   esc   and right click the toolbar
session icon
2a) click minimize
3) now  right click the toolbar session icon and click the 'fullscreen'
option   returning the session to window mode
4) the session will be frozen,   the mouse will be frozen,  the 'dot' mouse
will move

now..

1) minimize the the window with the minimize control in the upper right
corner of the window
2) maximize the window by left clicking the toolbar session icon

 The session will now be freed,   the mouse will move,  etc.


There appears  to be other ways to accomplish this same symptom. But
this should get you started so that you can see the behavior that we are
describing.As you see,  the session can be freed by minimizing it and
maximizing it WITHOUT  touching the 'fullscreen' option.In the past we
were simply closing the window.


Thanks much,




Mark H. Harris  <><

Staff Software Engineer
Software Tools Development  -  IBM Rochester,  MN
iSeries  Dept  EL8Y/664-3  E115
[EMAIL PROTECTED]  (8) 456-6910  1-507-286-6910
-- Forwarded by Mark Harris/Rochester/IBM on 05/29/2001
05:02 PM ---

Mark Harris
05/23/2001 01:41 PM

To:   [EMAIL PROTECTED]
cc:
From: Mark Harris/Rochester/IBM@IBMUS
Subject:  Re: VNC Connection Freezes / Drops  (Document link: Mark Harris)

> Over some time,  something happens between the viewer and the server,
and
> one or the other will hang.  In our case,  closing the windows and
> reestablishing the connection gets us going again.  Time before the hang
> varies,  but is definitely not network related.  Something else is going
> on.

Closing the viewer window and reconnecting fixes the problem?

Cheers,

James "Wez" Weatherall

---

Yes.The cursor freezes... only the dot can be moved.It is possible
to move the dot up and close the viewer window and restart.Something is
causing the viewer to lock, or hang,  freeze...

Thanks

Mark H. Harris  <><

Staff Software Engineer
Software Tools Development  -  IBM Rochester,  MN
iSeries  Dept  EL8Y/664-3  E115
[EMAIL PROTECTED]  (8) 456-6910  1-507-286-6910
-
To unsubscribe, send a message with the line: unsubscribe vnc-list
to [EMAIL PROTECTED]
See also: http://www.uk.research.att.com/vnc/intouch.html
-



Re: VNC Connection Freezes / Drops

2001-05-30 Thread Mark Harris

James says,
"This is very useful to know, but not entirely trivial to fix."
---

One,  possibly trivial,  way to fix this would be to change the behavior
(or display) of the 'fullscreen' checkbox on the viewer popup menu that
results from a right click on the toolbar host session icon.

Here are some suggestions:

1) grey out the 'fullscreen' checkbox when the host session is actually
minimized.

or

2) only display the 'fullscreen' checkbox option when the host session is
actually maximized.


The basic problem for the user is that 'fullscreen'  is confused with
'maximized'.Simplify the interface and remove the confusion;   might be
easier than modifying your message loop for permutations of minimized,
maximized, fullscreen mode, & window mode.Just a thought.

Thanks !

Mark H. Harris  <><

Staff Software Engineer
Software Tools Development  -  IBM Rochester,  MN
iSeries  Dept  EL8Y/664-3  E115
[EMAIL PROTECTED]  (8) 456-6910  1-507-286-6910
-
To unsubscribe, send a message with the line: unsubscribe vnc-list
to [EMAIL PROTECTED]
See also: http://www.uk.research.att.com/vnc/intouch.html
-



Re: VNC Connection Freezes

2001-06-06 Thread Mark Harris

fyi
I did not see this come through the list the other day,  so I thought I
  would resend it.   This code snippet corrects the vnc hand freeze on
  the windoze viewer.



James,

One of the folks in our lab,  John Fuenning,  fixed this problem by adding
an additional line of code to the WndProc method of the
ClientConnections.cpp file.The following is a snippet with the
additional line marked in red and with <<=.

Apparently its just a matter of marking  SetDormant(false)  when the
'fullscreen'  check option is selected.   Play with it and let me know what
you think.   I hope there isn't anything more subtle laying around under
there that makes this trickier than we think it is.

Hope this helps.

Thanks.

 case WM_SYSCOMMAND:
  {
   switch (LOWORD(wParam)) {
   case SC_MINIMIZE:
_this->SetDormant(true);
break;
   case SC_RESTORE:
_this->SetDormant(false);
break;
   case ID_NEWCONN:
_this->m_pApp->NewConnection();
return 0;
   case ID_CONN_SAVE_AS:
_this->SaveConnection();
return 0;
   case IDC_OPTIONBUTTON:

if (_this->m_opts.DoDialog(true)) {
 _this->m_pendingFormatChange = true;

 // This isn't always needed
 _this->SizeWindow();
 InvalidateRect(hwnd, NULL, TRUE);
 //_this->UpdateScrollbars();
 //UpdateWindow(hwnd);

 // Make the window correspond to the requested
state

 _this->RealiseFullScreenMode();
};

return 0;
   case IDD_APP_ABOUT:
ShowAboutBox();
return 0;
   case ID_CONN_ABOUT:
_this->ShowConnInfo();
return 0;
   case ID_FULLSCREEN:
// Toggle full screen mode
_this->SetFullScreenMode(!_this->InFullScreenMode());
_this->SetDormant(false);
<<==
return 0;
   case ID_REQUEST_REFRESH:
// Request a full-screen update
_this->SendFullFramebufferUpdateRequest();
return 0;



Mark H. Harris  <><

Staff Software Engineer
Software Tools Development  -  IBM Rochester,  MN
iSeries  Dept  EL8Y/664-3  E115
[EMAIL PROTECTED]  (8) 456-6910  1-507-286-6910
-
To unsubscribe, send a message with the line: unsubscribe vnc-list
to [EMAIL PROTECTED]
See also: http://www.uk.research.att.com/vnc/intouch.html
-



No Subject

2001-06-07 Thread Mark Harris

Where can I find the server log file for WinVNC on W2K ?I would expect
that there is a log file similar to the one that is posted on the Linux
platform in  ~/.vnc

How do I run the  WinVNC server in debug mode ?

Thanks

Mark H. Harris  <><

Staff Software Engineer
Software Tools Development  -  IBM Rochester,  MN
iSeries  Dept  EL8Y/664-3  E115
[EMAIL PROTECTED]  (8) 456-6910  1-507-286-6910
-
To unsubscribe, send a message with the line: unsubscribe vnc-list
to [EMAIL PROTECTED]
See also: http://www.uk.research.att.com/vnc/intouch.html
-



Log File for WinVNC?

2001-06-11 Thread Mark Harris

Where can I find the server log file for WinVNC on W2K ?

Mark H. Harris  <><

Staff Software Engineer
Software Tools Development  -  IBM Rochester,  MN
iSeries  Dept  EL8Y/664-3  E115
[EMAIL PROTECTED]  (8) 456-6910  1-507-286-6910
-
To unsubscribe, send a message with the line: unsubscribe vnc-list
to [EMAIL PROTECTED]
See also: http://www.uk.research.att.com/vnc/intouch.html
-



Re: Automatically Accepting Connections

2001-06-15 Thread Mark Harris

Ben said,
"One part of the documentation suggested that if no
password was assigned, then acceptance was automatic... thanks, but I'd
rather keep that password there if it's the only security available!!!"
-
VNC is a great remote support tool;  however,  it is mostly insecure.   You
will want to use SSH (openSSH openSSL) as the vehicle for VNC.   SSH will
optionally compress as well as encrypt the transmission.   Of course the
SSH connection will be slower;   however,  it is well worth it from a
security standpoint.



Mark H. Harris  <><

Staff Software Engineer
Software Tools Development  -  IBM Rochester,  MN
iSeries  Dept  EL8Y/664-3  E115
[EMAIL PROTECTED]  (8) 456-6910  1-507-286-6910
-
To unsubscribe, send a message with the line: unsubscribe vnc-list
to [EMAIL PROTECTED]
See also: http://www.uk.research.att.com/vnc/intouch.html
-



RE: Automatically Accepting Connections

2001-06-15 Thread Mark Harris

Check out   http://www.cygwin.com

Run openSSH under cygwin !



Mark H. Harris  <><

Staff Software Engineer
Software Tools Development  -  IBM Rochester,  MN
iSeries  Dept  EL8Y/664-3  E115
[EMAIL PROTECTED]  (8) 456-6910  1-507-286-6910
-
To unsubscribe, send a message with the line: unsubscribe vnc-list
to [EMAIL PROTECTED]
See also: http://www.uk.research.att.com/vnc/intouch.html
-



vncviewer socket error in java applet

2001-06-19 Thread Mark Harris

When running the java appet (vncviewer) from my W2K box (netscape 4.7 jre
1.3)   to  my Linux box,  I  receive the following errors on the java
console after a short time and netscape has to be restarted. Sometimes
I do not get the errors in the console,  but the socket closes and the
browser has to be restarted.   This can be reproduced on W2K Netscape 4.7
JRE 1.3.It does not occur on NT netscape 4.7 JRE 1.3.   I does not
occur on Linux (mozilla, netscape 6 JRE 1.3)

Does anyone have any ideas what is happening on the W2K browser ?


java.net.SocketException: Socket closed
  at java.net.SocketInputStream.read(Compiled Code)
  at java.io.BufferedInputStream.fill(Compiled Code)
  at java.io.BufferedInputStream.read(Compiled Code)
  at java.io.FilterInputStream.read(Compiled Code)
  at rfbProto.readServerMessageType(Compiled Code)
* at vncCanvas.processNormalProtocol(Compiled Code)
  at vncviewer.run(Compiled Code)
  at java.lang.Thread.run(Compiled Code)
java.net.SocketException: Socket closed


Mark H. Harris  <><

Staff Software Engineer
Software Tools Development  -  IBM Rochester,  MN
iSeries  Dept  EL8Y/664-3  E115
[EMAIL PROTECTED]  (8) 456-6910  1-507-286-6910
-
To unsubscribe, send a message with the line: unsubscribe vnc-list
to [EMAIL PROTECTED]
See also: http://www.uk.research.att.com/vnc/intouch.html
-



RE: VNC as spyware on TV

2001-06-25 Thread Mark Harris

VNC is used in our shop as an Xvfb and for remote server support and maint
(almost exclusively).   For the masses (particularly IT managers and
security folks) the primary application for VNC is going to be electronic
monitoring.It doesn't really matter what emphasis you give to the web
page either.

Spyware aside   we are also gearing up to use VNC (modified form) for
net conferencing;   instead of netmeeting or econference.   We have used
VNC for netdemos also,  which is just a specialized net conference where
all clients are view only.The demo conference is hosted on a Linux box
that serves out an X connection in viewonly mode.   A vncviewer is started
on the same Linux host connecting back to the Windose box where the demo is
being run.   So,  all clients (whatever platform) connect to the Linux box
either with their browser or vncviewer and are able to see the software
demo that is happening on the windose box.It is a lot of network
traffic,  but limiting to viewonly,  restricting the colors to 8bit,  and
simplifying the backgrounds help with bandwidth.   I have found it a more
reliable conferencing solution in some situations.

Some people will use VNC for spyware.(very sad)



Mark H. Harris  <><

Staff Software Engineer
Software Tools Development  -  IBM Rochester,  MN
iSeries  Dept  EL8Y/664-3  E115
[EMAIL PROTECTED]  (8) 456-6910  1-507-286-6910
-
To unsubscribe, send a message with the line: unsubscribe vnc-list
to [EMAIL PROTECTED]
See also: http://www.uk.research.att.com/vnc/intouch.html
-



Re: Xvnc screensaver

2001-06-26 Thread Mark Harris

Adrian said,
"I was just reminded today of something I've been struggling with regarding
Xvnc - that is the screensaver pattern (the 'gray' background with the big
X).

Is there a way to stop this coming up?"
---

The grey pattern and the large X are annoying at first to most users of an
X server until they fully understand what they are dealing with.   Every X
desktop has three components that work together.
1) the X server   ie XFree86, Xvnc, etc
2) the window manger  ie Sawfish, Enlightenment, twm, fvwm2, etc
3) the desktop environment  ie KDE, GNOME, Afterstep, Window Maker, etc

The grey pattern and the large X is the X server.  If you were to run the X
command as root (Linux) or run just the Xwrapper as a normal user then the
X server would start and ALL you would see is the grey pattern and the
large X;  the keyboard will do nothing and the mouse will do nothing except
that you will be able to move the large X around the screen.  This is X.
Xvnc is an X server as well as the VNC server !  Some folks don't quite get
this connection.  That is why Xvnc can be used in place of Xvfb (virtual
frame buffer) ...   it can function as the systems X server even if no one
makes a vnc connection to it !   The grey pattern and large X are a normal
indicator of any X server by design.


Mark H. Harris  <><

Staff Software Engineer
Software Tools Development  -  IBM Rochester,  MN
iSeries  Dept  EL8Y/664-3  E115
[EMAIL PROTECTED]  (8) 456-6910  1-507-286-6910
-
To unsubscribe, send a message with the line: unsubscribe vnc-list
to [EMAIL PROTECTED]
See also: http://www.uk.research.att.com/vnc/intouch.html
-