vnc-list-digest V1 #146

vnc-list-digest owner-vnc-list-digest "at" orl.co.uk
Sat, 05 Dec 1998 00:53:57 +0000


vnc-list-digest       Monday, November 30 1998       Volume 01 : Number 146



............................
VNC-LIST-DIGEST is a daily collection of the messages sent to the
VNC mailing list.  For more information about VNC see the home page
http://www.orl.co.uk/vnc .

In this issue:

	linux
	Memory leak fixed by posted patch
	Chording to emulate middle button?
	Twm cursor warping eludes VNC Win95 client
	Re: linux
	Re: WinVNC Server
	running server when logging out
	Re: Multiple Xvnc at boot time?
	watching tv
	Re: fontpath problems (was: Re: found RedHat 5.2 vnc server problem
	Re: running server when logging out
............................

----------------------------------------------------------------------

Date: Sun, 29 Nov 1998 01:35:24 -0600
From: "robert" <zzhang3 "at" uic.edu>
Subject: linux

This is a multi-part message in MIME format.

- ------=_NextPart_000_002B_01BE1B38.89362C60
Content-Type: text/plain;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

I installed vnc (the latest version) on rh5.1 and had no problem for =
linux to see win95 but the problem is under w95 when I tried to use =
vncviewer to see linux I could not make it work. Under linux I used =
vncviewer and got something like=20
"New 'X' desktop is linux.uic.edu:1" (I already gave a password for the =
server), then if I went to w95 and try "vncviewer ipaddress of the linux =
machine:1" and got message:"failed to connect the server", I did not =
even get the chance to type in the password. If I tried linux.uic.edu =
then I got the message: "Did you type in the host name correctly?", =
either way I could not get to X windows from w95, could anyone out there =
help me out?


Thanks=20

robert

- ------=_NextPart_000_002B_01BE1B38.89362C60
Content-Type: text/html;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE HTML PUBLIC "-//W3C//DTD W3 HTML//EN">
<HTML>
<HEAD>

<META content=3Dtext/html;charset=3Diso-8859-1 =
http-equiv=3DContent-Type>
<META content=3D'"MSHTML 4.72.3110.7"' name=3DGENERATOR>
</HEAD>
<BODY bgColor=3D#ffffff>
<DIV><FONT color=3D#000000 size=3D2>I installed vnc (the latest version) =
on rh5.1=20
and had no problem for linux to see win95 but the problem is under w95 =
when I=20
tried to use vncviewer to see linux I could not make it work. Under =
linux I used=20
vncviewer and got something like </FONT></DIV>
<DIV><FONT color=3D#000000 size=3D2>&quot;New 'X' desktop is =
linux.uic.edu:1&quot;=20
(I already gave a password for the server), then if I went to w95 and =
try=20
&quot;vncviewer ipaddress of the linux machine:1&quot; and got=20
message:&quot;failed to connect the server&quot;, I did not even get the =
chance=20
to type in the password. If I tried linux.uic.edu then I got the =
message:=20
&quot;Did you type in the host name correctly?&quot;, either way I could =
not get=20
to X windows from w95, could anyone out there help me out?</FONT></DIV>
<DIV><FONT color=3D#000000 size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT color=3D#000000 size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT color=3D#000000 size=3D2>Thanks </FONT></DIV>
<DIV><FONT color=3D#000000 size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT color=3D#000000 size=3D2>robert</FONT></DIV></BODY></HTML>

- ------=_NextPart_000_002B_01BE1B38.89362C60--


- ---------------------------------------------------------------------
The VNC mailing list     -   see http://www.orl.co.uk/vnc/intouch.html
- ---------------------------------------------------------------------

------------------------------

Date: Sun, 29 Nov 1998 03:14:09 -0500
From: idallen "at" freenet.carleton.ca (Ian! D. Allen [NCFreeNet])
Subject: Memory leak fixed by posted patch

Indeed, the patch posted to the FAQ page does fix the memory problem
for Xvnc under Linux.  Thank you!

    SIZE   RSS  TIME COMMAND
    4372  3352 21:36 Xvnc :1 


- -- 
- -IAN!  Ian! D. Allen   Ottawa, Ontario, Canada   idallen "at" freenet.carleton.ca
       Home Page on the Ottawa FreeNet: http://www.ncf.carleton.ca/~aa610/
       College professor at: http://www.algonquinc.on.ca/~alleni/
       Board Member, TeleCommunities CANADA  http://www.tc.ca/

- ---------------------------------------------------------------------
The VNC mailing list     -   see http://www.orl.co.uk/vnc/intouch.html
- ---------------------------------------------------------------------

------------------------------

Date: Sun, 29 Nov 1998 03:19:25 -0500
From: idallen "at" freenet.carleton.ca (Ian! D. Allen [NCFreeNet])
Subject: Chording to emulate middle button?

I need that third button emulation in the Windows95 VNC client.
I'll try some patches, if anyone has any.

I have a Logitech three-button mouse on my Windows95 machine, but I've
mapped the middle button to "iconify window", so it doesn't get through
to the VNC client.  I can, of course, turn off the special handling of
the middle button and it does work fine under the VNC client; however, I
really like having my middle button for iconifying Win95 windows.

I have a regular X-server for Win95 that lets me chord the two outer
buttons to stand for the middle one; I'd like the Win95 VNC client to be
able to do the same thing so that I have a consistent user interface.

- -- 
- -IAN!  Ian! D. Allen   Ottawa, Ontario, Canada   idallen "at" freenet.carleton.ca
       Home Page on the Ottawa FreeNet: http://www.ncf.carleton.ca/~aa610/
       College professor at: http://www.algonquinc.on.ca/~alleni/
       Board Member, TeleCommunities CANADA  http://www.tc.ca/

- ---------------------------------------------------------------------
The VNC mailing list     -   see http://www.orl.co.uk/vnc/intouch.html
- ---------------------------------------------------------------------

------------------------------

Date: Sun, 29 Nov 1998 03:37:14 -0500
From: idallen "at" freenet.carleton.ca (Ian! D. Allen [NCFreeNet])
Subject: Twm cursor warping eludes VNC Win95 client

I use the twm "warping" feature that lets me use keyboard characters to
move ("warp") the cursor between windows.  Unfortunately, this moving of
the cursor isn't noticed by my Win95 VNC client - the little dot stays in
the original window, while my "real" cursor moves to the new window,
along with keyboard focus.

Things work mostly fine until I go to move the mouse for something, or
until I SHIFT-TAB to a Win95 application and SHIFT-TAB back, or until
some scheduled Win95 application pops up a window on my screen and then
disappears.  Any of these things cause the "real" cursor to distractingly
jump back to the original window, where the little dot is, abandoning the
window where I was typing and taking keyboard focus with it.  Suddenly
I'm typing back in the original window, not in the window that I had
warped into.  I can re-warp back to the other window, but it still
won't take the "little dot" cursor with it to make the warp "permanent".

I don't know how the Linux VNC server can tell the Win95 VNC client that
the cursor has "warped" to a different place; but, I wish it could.
The same problem happens when I warp the cursor into the twm icon
manager using the keyboard; the "little dot" cursor doesn't follow.

- -- 
- -IAN!  Ian! D. Allen   Ottawa, Ontario, Canada   idallen "at" freenet.carleton.ca
       Home Page on the Ottawa FreeNet: http://www.ncf.carleton.ca/~aa610/
       College professor at: http://www.algonquinc.on.ca/~alleni/
       Board Member, TeleCommunities CANADA  http://www.tc.ca/

- ---------------------------------------------------------------------
The VNC mailing list     -   see http://www.orl.co.uk/vnc/intouch.html
- ---------------------------------------------------------------------

------------------------------

Date: Sun, 29 Nov 1998 11:11:30 +0000
From: Quentin Stafford-Fraser <quentin "at" orl.co.uk>
Subject: Re: linux

Robert -

Have you tried the various things listed in the FAQ to test the network
connection?

Regards,
Quentin Stafford-Fraser

robert wrote:

> ...if I went to w95 and try "vncviewer ipaddress of the linux
> machine:1" and got message:"failed to connect the server", I did not
> even get the chance to type in the password. If I tried linux.uic.edu
> then I got the message: "Did you type in the host name correctly?",
> either way I could not get to X windows from w95, could anyone out
> there help me out?

- --
- ----------------------------------------------------
Dr Quentin Stafford-Fraser        www.orl.co.uk/~qsf
  ORL - The Olivetti & Oracle Research Laboratory



- ---------------------------------------------------------------------
The VNC mailing list     -   see http://www.orl.co.uk/vnc/intouch.html
- ---------------------------------------------------------------------

------------------------------

Date: Sun, 29 Nov 1998 12:51:30 +0000 (GMT)
From: "James [Wez] Weatherall" <jnw "at" orl.co.uk>
Subject: Re: WinVNC Server

On Sat, 28 Nov 1998, Hiroji Ochii wrote:

> However, the vnc server on the Windows NT machine is incredibly slow
> comparing with vnc server on linux box.  I have noticed that this may
> happen because that the CPU usage of Windows NT goes up to 100%(!!) as
> soon as the vnc connection is made.

The VNC server for Windows will generally be slower than the VNC server
for X, because more guesswork is involved in tracking screen updates.

If the CPU usage stays consistently at 100%, then I suspect you have
either:

a) Ticked 'Poll Full Screen'
OR
b) Ticked one of 'Poll Foreground Window' or 'Poll Window Under Cursor',
without having 'Poll Console Windows Only' ticked.

Is this the case?

Cheers,

James "Wez" Weatherall
- --
Olivetti & Oracle Research Laboratory, Cambridge, UK - Tel : 343000
Laboratory for Communications Engineering, Cambridge - Tel : -


- ---------------------------------------------------------------------
The VNC mailing list     -   see http://www.orl.co.uk/vnc/intouch.html
- ---------------------------------------------------------------------

------------------------------

Date: Sun, 29 Nov 1998 16:54:14 +0100 (CET)
From: Torben Dam Jensen <tdj "at" hco.kol.ou.dk>
Subject: running server when logging out

Is there any way to run the server on linux when
you are logged out? 
(so that you can connect using the viewer without having to
start up a telnet client first) ?

My idea is a cron job that runs once, then again in 5 years
(=never).

	- Torben 


- ---------------------------------------------------------------------
The VNC mailing list     -   see http://www.orl.co.uk/vnc/intouch.html
- ---------------------------------------------------------------------

------------------------------

Date: Sun, 29 Nov 1998 15:11:47 -0200 (EDT)
From: Marcos Assis Silva <assis "at" uel.br>
Subject: Re: Multiple Xvnc at boot time?

On Sun, 29 Nov 1998, John Lin wrote:
|o| I am running RedHat 5.2.  How can I start many vncserver at the boot
|o| time for many users.  It seems that the user has to login and then run
|o| vncserver.  Is there any way I can start vncserver for multiple users in
|o| /etc/rc.local?
|o| 

        I've  done it  in  a SUN / Solaris box  via xdm  (dtlogin, CDE
equivalent  of  xdm, as a matter of fact). /etc/inittab spawns as many
vncservers as  I  wish,  all of  them querying localhost  (XDMCP), and
there's a boot script that  launches a  dtlogin  / xdm  instance  that
provides login / X sesssion  services for those VNC virtual X terms. I
suggest "man xdm" for details ...

        Of  course,  there are security concerns here ... specially if
you take into account that anynone (vncviewer) can connect to a server
if the "visitor" knows the password to be granted access. I don't have
that  many users who would like to use VNC features. So, I run one VNC
server instance for each of those users. Each instance uses a password
file stored into  the home dir of the user the instance is intended to
serve. An entry to start a VNC server   instance in /etc/inittab would
look like

	d1:234:respawn:/usr/local/vnc/Xvnc :1 -geometry 1024x768 \
        -rfbauth /home/USER/.vnc/passwd -rfbport 5901 -query localhost 
        -once -rfbwait 120000 -desktop 'USER Setup' > \
        /usr/local/vnc/run/Xvnc:1 2>&1

        This setup also has the advantage of letting one customize the
X  resources (e.g.  geometry)  used in  a VNC server instance, meeting
user preferences without messing with others ones.

        The  drawback of  having memory allocated for all of those VNC
servers  ruuning  is lessened by *nix "unused" memory swapping. No big
concerns from my point of view ...

        Ok, it's a  limitted  aproach, but  apart from this scenario I
can't see others where it would be feasible to help users from logging
in and manually running a vncserver instance.

	HTH. Regards ...

                                                           ...
        .               .               .                -(o o)-
_.,-*b'`-`'d*-,._.,-*b'`-`'d*-,._.,-*b'`-`'d*-,._/----oOO--(_)--OOo---
                                           =
UNIVERSIDADE ESTADUAL DE LONDRINA - UEL   .:.    assis @ npd.uel.br
Nucleo de Processamento de Dados  - NPD   <*>    Marcos Assis Silva
     Gerencia de Software Basico  - GSB   ":"   Analista  de Suporte
             Parana - Brasil               o    PGP  key   available  
        .               .               .  =            .
_.,-*b'`-`'d*-,._.,-*b'`-`'d*-,._.,-*b'`-`'d*-,._.,-*b'`-`'d*-,._.,-*b


- ---------------------------------------------------------------------
The VNC mailing list     -   see http://www.orl.co.uk/vnc/intouch.html
- ---------------------------------------------------------------------

------------------------------

Date: Sun, 29 Nov 1998 11:37:07 -0600
From: "robert" <zzhang3 "at" uic.edu>
Subject: watching tv

This is a multi-part message in MIME format.

- ------=_NextPart_000_0029_01BE1B8C.97F77160
Content-Type: text/plain;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

I have a tv card on my w95 and machine and try to teleport the tv screen =
to anothere machine but can not see the picture, is there anyway that I =
can make vnc to do this at all?



Robert

- ------=_NextPart_000_0029_01BE1B8C.97F77160
Content-Type: text/html;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE HTML PUBLIC "-//W3C//DTD W3 HTML//EN">
<HTML>
<HEAD>

<META content=3Dtext/html;charset=3Diso-8859-1 =
http-equiv=3DContent-Type>
<META content=3D'"MSHTML 4.72.3110.7"' name=3DGENERATOR>
</HEAD>
<BODY bgColor=3D#ffffff>
<DIV><FONT color=3D#000000 size=3D2>I have a tv card on my w95 and =
machine and try=20
to teleport the tv screen to anothere machine but can not see the =
picture, is=20
there anyway that I can make vnc to do this at all?</FONT></DIV>
<DIV><FONT color=3D#000000 size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT color=3D#000000 size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT color=3D#000000 size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT color=3D#000000 size=3D2>Robert</FONT></DIV></BODY></HTML>

- ------=_NextPart_000_0029_01BE1B8C.97F77160--


- ---------------------------------------------------------------------
The VNC mailing list     -   see http://www.orl.co.uk/vnc/intouch.html
- ---------------------------------------------------------------------

------------------------------

Date: Sat, 28 Nov 1998 11:32:55 +0100
From: Marcus Brinkmann <Marcus.Brinkmann "at" ruhr-uni-bochum.de>
Subject: Re: fontpath problems (was: Re: found RedHat 5.2 vnc server problem

On Tue, Nov 24, 1998 at 08:18:24PM -0800, Bruce A. Mah wrote:
> If memory serves me right, Marcus Brinkmann wrote:
> > On Tue, Nov 24, 1998 at 03:55:34PM -0500, Darxus wrote:
> > > On Tue, 24 Nov 1998, Marcus Brinkmann wrote:
> > > 
> > > Debian, at least my installation of it (v2.1) doe snot have the font
> > > "fixed".  
> > > Would this cause the error about failing to set the path ?
> > 
> > No. You have the font "fixed" , believe me, it is one of the essential
> > things that are automatically installed with X. The error is because Xvnc
> > does not set the FontPath at all whenever one fontdir is not existing. You
> > can fix this by stripping the FontPath to only existing font directories.
> 
> Here's a few cents on this from a new quarter:  It's not just a Debian 
> problem...FreeBSD 2.2.7-RELEASE, XFree86 3.3.2.3, observed on multiple systems 
> that definitely have a fixed (6x13) font.

I have noticed now that maybe the server do no checking of the font path,
but startx or another wrapper does it. So indeed Xvnc's behaviour is the
same as the behaviour of any X server. I suggest that Bruce's patch is
applied to vncserver. It will certainly be done in the Debian distribution.
 
> I "solved" this problem for the FreeBSD ports collection by doing a patch to 
> the vncserver script at install time...it makes vncserver iterate over the 
> directories in the fontpath and throw out the ones that don't exist before 
> passing them as arguments to Xvnc.  It's kind of a hack, but I didn't have the 
> time or expertise to try to figure out why Xvnc wasn't behaving the same was 
> as the installed XFree86 server on the host.  I've attached the patch below...

Thank you for the patch, Bruce! It saves me some work (I was going to do the
same). I don't consider it to be a hack, it seems to be the correct solution
(apart from fixing all X servers).

Bye,
Marcus

- -- 
"Rhubarb is no Egyptian god."        Debian GNU/Linux        finger brinkmd@ 
Marcus Brinkmann                   http://www.debian.org    master.debian.org
Marcus.Brinkmann "at" ruhr-uni-bochum.de                        for public  PGP Key
http://homepage.ruhr-uni-bochum.de/Marcus.Brinkmann/       PGP Key ID 36E7CD09

- ---------------------------------------------------------------------
The VNC mailing list     -   see http://www.orl.co.uk/vnc/intouch.html
- ---------------------------------------------------------------------

------------------------------

Date: Sun, 29 Nov 1998 19:23:18 -0600 (EST)
From: Wade Maxfield <maxfield "at" one.ctelcom.net>
Subject: Re: running server when logging out

  I believe that you could use inetd to run the server on a port you put
in /etc/services.  Inetd has a configuration file.  You could play with
it.  I would make it run as a fairly low user.  You can use sudo to run
programs you want that user to have access to as root. 

wade

On Sun, 29 Nov 1998, Torben Dam Jensen wrote:

> Is there any way to run the server on linux when
> you are logged out? 
> (so that you can connect using the viewer without having to
> start up a telnet client first) ?
> 
> My idea is a cron job that runs once, then again in 5 years
> (=never).
> 
> 	- Torben 
> 
> 
> ---------------------------------------------------------------------
> The VNC mailing list     -   see http://www.orl.co.uk/vnc/intouch.html
> ---------------------------------------------------------------------
> 


- ---------------------------------------------------------------------
The VNC mailing list     -   see http://www.orl.co.uk/vnc/intouch.html
- ---------------------------------------------------------------------

------------------------------

End of vnc-list-digest V1 #146
******************************

===============================================================
This digest came to you via the vnc-list-digest mailing list.
For more information see http://www.orl.co.uk/vnc/intouch.html
===============================================================

---------------------------------------------------------------------
The VNC mailing list     -   see http://www.orl.co.uk/vnc/intouch.html
---------------------------------------------------------------------