Discussion:
vncserver - Command Not Found
Max Hugen
2000-11-24 07:39:42 UTC
Permalink
We've loaded vnc as per instructions at www.uk.research.att.com but when we
try to run :

# vncserver

we get :

# vncserver: command not found.

We're logged in via telnet as root, and running it from its base directory.

Any suggestions would be welcome for us newbies!

Thanks, Max Hugen
Hugen Enterprises Pty Ltd
207 Flood St, Leichhardt NSW 2040, Australia
Tel: 02 9560 3061
www.hugen.com.au
---------------------------------------------------------------------
To unsubscribe, send a message with the line: unsubscribe vnc-list
to ***@uk.research.att.com
See also: http://www.uk.research.att.com/vnc/intouch.html
---------------------------------------------------------------------
Denes Molnar
2000-11-24 08:23:40 UTC
Permalink
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 ***@uk.research.att.com
See also: http://www.uk.research.att.com/vnc/intouch.html
---------------------------------------------------------------------
Tim Waugh
2000-11-24 08:54:38 UTC
Permalink
Post by Denes Molnar
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)
You might not have perl installed. Install perl, or else just run
vncpasswd and Xvnc directly.

Tim.
*/

[demime 0.97b removed an attachment of type application/pgp-signature]
---------------------------------------------------------------------
To unsubscribe, send a message with the line: unsubscribe vnc-list
to ***@uk.research.att.com
See also: http://www.uk.research.att.com/vnc/intouch.html
---------------------------------------------------------------------
Max Hugen
2000-11-25 02:42:02 UTC
Permalink
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-***@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 ***@uk.research.att.com
See also: http://www.uk.research.att.com/vnc/intouch.html
---------------------------------------------------------------------
Tim Rayner
2000-11-24 09:24:38 UTC
Permalink
Hi,

This will be a problem with the path to your perl interpreter. vncserver is a
perl script - the first line of mine reads
#!/usr/bin/perl
If your perl binary is located elsewhere - eg. /usr/local/bin/perl, you need
to modify this first line so it can find the correct perl binary. If you
don't have perl on your system, you may be able to manually start Xvnc without
the smarts that the vncserver script tries to do for you - or you could
install perl :)

I hope this helps

Tim.
Post by Max Hugen
We've loaded vnc as per instructions at www.uk.research.att.com but when we
# vncserver
# vncserver: command not found.
We're logged in via telnet as root, and running it from its base directory.
Any suggestions would be welcome for us newbies!
Thanks, Max Hugen
Hugen Enterprises Pty Ltd
207 Flood St, Leichhardt NSW 2040, Australia
Tel: 02 9560 3061
www.hugen.com.au
---------------------------------------------------------------------
To unsubscribe, send a message with the line: unsubscribe vnc-list
See also: http://www.uk.research.att.com/vnc/intouch.html
---------------------------------------------------------------------
--
==============================================================================
Please note my new phone number......
Tim Rayner - Networks Officer | Email : ***@csu.edu.au
Murray Campus | Mail : P.O. Box 789, Albury,NSW, 2640
Charles Sturt University | Phone : (02) 6051 9886
| Fax : (02) 6051 9919
==============================================================================
---------------------------------------------------------------------
To unsubscribe, send a message with the line: unsubscribe vnc-list
to ***@uk.research.att.com
See also: http://www.uk.research.att.com/vnc/intouch.html
---------------------------------------------------------------------
Tim Waugh
2000-11-24 09:39:54 UTC
Permalink
Post by Tim Rayner
#!/usr/bin/perl
Come to think of it, I wonder if this shouldn't be:

#!/usr/bin/env perl

instead?

Tim.
*/

[demime 0.97b removed an attachment of type application/pgp-signature]
---------------------------------------------------------------------
To unsubscribe, send a message with the line: unsubscribe vnc-list
to ***@uk.research.att.com
See also: http://www.uk.research.att.com/vnc/intouch.html
---------------------------------------------------------------------
Joseph Carter
2000-11-24 09:26:38 UTC
Permalink
Hi,

You should also check the path of the perl line at the top of the vncserver
script.
That's assuming you already installed perl too... :-)

Joe








Denes Molnar <***@phys.columbia.edu> on 24/11/2000 08:17:38

Please respond to vnc-***@uk.research.att.com








To: Max Hugen <***@hugen.com.au>

cc: vnc-***@uk.research.att.com(bcc: Joseph
Carter/MAIN/MC1)



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 ***@uk.research.att.com
See also: http://www.uk.research.att.com/vnc/intouch.html
---------------------------------------------------------------------
---------------------------------------------------------------------
To unsubscribe, send a message with the line: unsubscribe vnc-list
to ***@uk.research.att.com
See also: http://www.uk.research.att.com/vnc/intouch.html
---------------------------------------------------------------------
Loading...