vncviewer: not found

Xiaopong Tran xiaopong_tran "at" compuware.com
Wed, 23 Sep 1998 18:16:53 +0000


Timothy Buck writes:
 > John L. Woodard, Ph.D <jlwoodard "at" gsu.edu> wrote:
 > >
 > > I just downloaded the Solaris 2.5 version of vnc and decompressed it with
 > > gunzip and expanded it with tar.  However, when I try to run vncviewer,
 > > (which seems to be executable) I get a vncviewer: not found message.  The
 > > same message occurs with the other programs (vncpasswd, Xvnc) even when I am
 > > in the same directory as the files or when they are in my /usr/local/bin
 > > directory which is in my path, and they all appear to be executable.  Any
 > > possible help would be greatly appreciated!
 > 
 > I haven't actually checked to see if this is true, but from the
 > description
 > of the problem, I'd guess that "vncviewer" is a Perl or other shell
 > script,
 > and that what isn't being found it the command interpreter listed in the
 > first line of the script (e.g. "#!/usr/local/bin/perl").  Modify this
 > line
 > to match the location of Perl on your system and you should be OK.
 > 

I think the following could solve the problem:

 - After you copy the VNC executables to a directory 
   (say,/usr/local/bin) which is in your path, shell does not
   pick it up automatically. If you are using csh or tcsh,
   run the command
       rehash
   and type 
       which vncviewer
   to see if you can locate it. Another way is to re-source
   your .cshrc file.

 - Change the path of perl in vncserver to what you have on
   your system. To find out where is your perl interpreter,
   run
       which perl

Hope that helps.

Xiaopong




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