On Fri, 2006-12-29 at 16:49 -0600, Aaron Konstam wrote:
On Fri, 2006-12-29 at 14:38 -0700, Craig White wrote:
> On Fri, 2006-12-29 at 16:22 -0600, Aaron Konstam wrote:
> > No matter how I try when I try to start a vnc session from one of my
> > home machines to another I get the error:
> >
> > [akonstam@vulcan ~]$ vncviewer saturn
> >
> > VNC Viewer Free Edition 4.1.1 for X - built May 17 2006 11:06:32
> > Copyright (C) 2002-2005 RealVNC Ltd.
> > See
http://www.realvnc.com for information on VNC.
> >
> > Fri Dec 29 16:13:43 2006
> > main: unable to connect to host: Connection refused (111)
> >
> > Also when I restart vncserver on the server machine I can't find that
> > program running anywhere on the server machine. Can anyone explain all
> > this?
> ----
> 1 - look for Xvnc
> 2 - vncviewer has man pages - you should read them to know that you need
> to designate the 'display' number
> 3 - vncserver won't run if you haven't run vncpasswd as the user first.
> vncserver also has a man page
>
> Craig
>
Well I got it to work using your hints. But I don't ever remember having
to do this before. But such is life.
Thanks for your response and that of Rick Stevens.
You're quite welcome. You may have loaded the vnc module into your
X configuration before, so you'd just "vncviewer saturn" and your main
display shows up.
Here's a excerpt from /etc/X11/xorg.conf:
Add this section (if you don't have a "Module" section):
Section "Module"
Load "vnc"
EndSection
Add this to the "Screen" section:
Option "passwordfile" "/path/to/.vnc/passwd"
----------------------------------------------------------------------
- Rick Stevens, Senior Systems Engineer rstevens(a)vitalstream.com -
- VitalStream, Inc.
http://www.vitalstream.com -
- -
- Grabel's Law: 2 is not equal to 3--not even for large values of 2. -
----------------------------------------------------------------------