Success was Re: VNC Server setup on Linux

Joel Sherrill joel.sherrill "at" OARcorp.com
Thu, 17 Jan 2002 21:00:31 +0000


David Colliver wrote:
> 
> I would add that using the method on my site, there is more potential to
> lose work. Clicking the X of your window will close VNC. No questions. Also,
> if your machine goes to sleep, you will lose it, same as if your network
> fails.

But this is the same as when using an Xterminal. 

It might also be worth mentioning that if you are running a number of
sessions, the difference between 8 and 24 bit color depth is noticeable
on the CPU load.  I pop'ed up a single VNC client session with a
terminal
and then continuously cat'ed /etc/termcap while running top on the
console.
On a 1 Ghz machine, there was approximately 20% difference in CPU load.
I would guess that for most users 8 bit depth is more than sufficient
and seems to place less strain on the host and network.

> What I would like to know now is, is there a button or something I can press
> that will save everything, like when I press the logout on my KDE panel, but
> without logging out. Is there also a way to signal to Linux that I am
> closing the remote session?

That would be a nice thing to know about or have. 
 
> If someone can explain the gdmconfig on port 177 as mentioned below, I will
> happily put that up in my instructions. Unfortunately, with my limited linux
> knowledge, I don't understand a word he said.

gdmconfig is a nice GUI utility.  Run it.  There is a pane on the
left hand side labeled "Options."  Select "Expert mode".  This
shows a number of tabs.  Select "XDMCP".  There is a fairly
obvious checkbox at this point that says "Enable XDMCP".

Also my standard test of "telnet localhost portnumber" does not
seem to work for 177 even though it is enabled.  This is probably
a UDP/TCP issue but that test was bogus.  VNC/XDM works now and
I still can't telnet to that port.

> Regards.
> Dave.
> 
> p.s. The site (www.sourcecodecorner.com) where the instructions are is being
> moved to another server within the next few days. If you cannot get access,
> then try again a little while later.

As long as it doesn't go away entirely I am happy. :)

> ----- Original Message -----
> From: "Joel Sherrill" <joel.sherrill "at" OARcorp.com>
> To: <vnc-list "at" uk.research.att.com>
> Sent: Thursday, January 17, 2002 7:36 PM
> Subject: Success was Re: VNC Server setup on Linux
> 
> > Hi All,
> >
> > Thanks for the help and instructions.  I would like to proudly state
> > that we are now running VNC server on two Linux boxes and clients
> > on a handful of Linux and Windows boxes (a mix of WinME laptops
> > and Win2K desktops).  Some notes for the instructions.
> >
> > I don't think RedHat 7.1 was a problem although we had a scheduled
> > upgrade to  7.2 so we did that before debugging the problem.
> >
> > What we apparently missed on the first computer I was installing
> > things on was to run gdmconfig and enable port 177.  This is step
> > 3 in the instructions that are online now.  The original computer
> > was running gdm.  That was it on this box.
> >
> > The second computer was a new AS Labs machine with 7.2 installed
> > by them.  It was running kdm and the instructions about kdmrc
> > worked perfectly.  It was less than 10 minutes to install and test
> > VNC server and client on this machine.
> >
> > I used the TightVNC RPMs and Windows client executable.  They worked
> > flawlessly.  One person here is very happily pecking away using
> > Kdevelop inside his VNC.  I have even run VNC client on the Linux box
> > inside another VNC session and that works great.
> >
> > I think that if the instructions were more explicit about gdmconfig,
> > I would never have had any trouble.
> >
> > A minor nit is that the vnc lines for services lose their tabs.  If
> > these lines could be placed in a file that could be downloaded with
> > tabs intact, it would be even easier.
> >
> > I would like to thank everyone for all the help. I for one am
> > a very happy camper right now and have added VNC to my list of
> > standard things to install to have a nice development environment. :)
> >
> > --
> > Joel Sherrill, Ph.D.             Director of Research & Development
> > joel "at" OARcorp.com                 On-Line Applications Research
> > Ask me about RTEMS: a free RTOS  Huntsville AL 35805
> >    Support Available             (256) 722-9985
> > ---------------------------------------------------------------------
> > To unsubscribe, mail majordomo "at" uk.research.att.com with the line:
> > 'unsubscribe vnc-list' in the message BODY
> > See also: http://www.uk.research.att.com/vnc/intouch.html
> > ---------------------------------------------------------------------
> ---------------------------------------------------------------------
> To unsubscribe, mail majordomo "at" uk.research.att.com with the line:
> 'unsubscribe vnc-list' in the message BODY
> See also: http://www.uk.research.att.com/vnc/intouch.html
> ---------------------------------------------------------------------

-- 
Joel Sherrill, Ph.D.             Director of Research & Development
joel "at" OARcorp.com                 On-Line Applications Research
Ask me about RTEMS: a free RTOS  Huntsville AL 35805
   Support Available             (256) 722-9985
---------------------------------------------------------------------
To unsubscribe, mail majordomo "at" uk.research.att.com with the line:
'unsubscribe vnc-list' in the message BODY
See also: http://www.uk.research.att.com/vnc/intouch.html
---------------------------------------------------------------------