vncserver - Command Found, Missing Xauth

Max Hugen maxhugen "at" hugen.com.au
Sat, 25 Nov 2000 02:42:02 +0000


Hi all

Many thanks to all who responded. We are now able to run vncserver, but get
msg that Xauth not found in PATH.

Also tried Xvnc directly, it reported it couldn't open RGB_DB
'/usr/X11R6/lib/X11/rgb' (checked, this dir /rgb/ does not exist.)

As a complete newbie, I have documented every command during installation and
whilst trying to run, I have added these at the end of this email, just in
case...

If anyone could point me in the right direction, we'd really appreciate it.
The documentation seems very meagre to me!

Many thanks, Max Hugen

*******************************Install, Config and Run
Notes****************************
*****INSTALL
$ su
# cd /usr/
# tar -xvf vnc-3.3.3r2_x86_linux_2.0.tar
 (unarchived to /usr/vnc_x86_linux_2.0/)

*****CONFIG 1
 (As per /usr/vnc_x86_linux_2.0/README)
1. Copied files to destinations as recommended:
 /usr/local/bin/ (Xvnc vncconnect vncpasswd vncviewer)
 /usr/local/vnc/classes/ (all classes)
2. vncserver parameters not modified. File left at untarred location:
 /usr/vnc_x86_linux_2.0/
3. Found perl and perl5.00503 in:
 /usr/bin/

*****RUN 1
$ su
# cd /usr/local/bin/
# vncpasswd
Password:
Verify:
 (appears to have set password for root user ok, but to where???)

*****RUN 2
$ su
# cd /usr/vnc_x86_linux_2.0/
# vncserver
bash: vncserver: command not found

*****RUN 3
$ su
# cd /usr/vnc_x86_linux_2.0/
# ./vncserver
vncserver: couldn't find "xauth" on your PATH.

*****RUN 4
$ su
# cd /usr/local/vnc/
# Xvnc
Couldn't open RGB_DB '/usr/X11R6/lib/X11/rgb'
26/11/00 16:43:20 Xvnc version 3.3.3r2
26/11/00 16:43:20 Copyright (C) AT&T Laboratories Cambridge.
26/11/00 16:43:20 All Rights Reserved.
26/11/00 16:43:20 See http://www.uk.research.att.com/vnc for information on
VNC
26/11/00 16:43:20 Desktop name 'x11' (:0)
26/11/00 16:43:20 Protocol version supported 3.3
26/11/00 16:43:20 Listening for VNC connections on TCP port 5900
Fatal server error:
Couldn't add screen

*****RUN 5
$ su
# cd /usr/local/vnc/
# Xvnc :1
Couldn't open RGB_DB '/usr/X11R6/lib/X11/rgb'
26/11/00 16:51:08 Xvnc version 3.3.3r2
26/11/00 16:51:08 Copyright (C) AT&T Laboratories Cambridge.
26/11/00 16:51:08 All Rights Reserved.
26/11/00 16:51:08 See http://www.uk.research.att.com/vnc for information on
VNC
26/11/00 16:51:08 Desktop name 'x11' (www.hugen.com.au:1)
26/11/00 16:51:08 Protocol version supported 3.3
26/11/00 16:51:08 Listening for VNC connections on TCP port 5901
Font directory '/usr/X11R6/lib/X11/fonts/misc/' not found - ignoring
Font directory '/usr/X11R6/lib/X11/fonts/Speedo/' not found - ignoring
Font directory '/usr/X11R6/lib/X11/fonts/Type1/' not found - ignoring
Font directory '/usr/X11R6/lib/X11/fonts/75dpi/' not found - ignoring
Font directory '/usr/X11R6/lib/X11/fonts/100dpi/' not found - ignoring
Fatal server error:
could not open default font 'fixed'

*****CONFIG 2
Reread /usr/vnc_x86_linux_2.0/README, realised that vncserver script should be
in /usr/local/bin too.
$ su
# cd /usr/vnc_x86_linux_2.0/
# cp vncserver /usr/local/bin

*****RUN 6
$ su
# cd /usr/local/bin
# vncserver
vncserver: couldn't find "xauth" on your PATH.

*****RUN 6
$ vncpasswd  (note: this was as admin, not root, user)
Password:
Verify:
Cannot write password file /home/sites/home/users/admin/.vnc/passwd

*******************************End****************************
  ----- Original Message -----
  From: Denes Molnar
  To: Max Hugen
  Cc: vnc-list "at" uk.research.att.com
  Sent: Friday, November 24, 2000 7:17 PM
  Subject: Re: vncserver - Command Not Found


  Hi,

  1) It may be just as simple as not having the current directory in your
  path. Try to do

  # ./vncserver

  instead.

  2) If this does not work, there is a slim chance that you might not have
  execute permission. To fix this do

  # chmod +xr vncserver

  then go to step 1)

  If these fail, maybe someone else has a better idea about what the problem
  is.


  Denes Molnar
---------------------------------------------------------------------
To unsubscribe, send a message with the line: unsubscribe vnc-list
to majordomo "at" uk.research.att.com
See also: http://www.uk.research.att.com/vnc/intouch.html
---------------------------------------------------------------------