Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations wOOdy-Soft on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

VNC on Solaris 8

Status
Not open for further replies.

orbiton

Technical User
Jan 12, 2005
30
US
I have compiled VNC on my Solaris when I run I get errors. Any help please;
./vncserver
Can't modify constant item in scalar assignment at ./vncserver line 34, near "$PATH:"
syntax error at ./vncserver line 34, near "$PATH:"
Bareword found where operator expected at ./vncserver line 34, near "/usr/X"
(Missing operator before X?)
Bareword found where operator expected at ./vncserver line 34, near "/usr/openwin"
(Missing operator before penwin?)
Execution of ./vncserver aborted due to compilation errors.
 
I am using the pre-compiled package

I am now getting this error message
vncserver: couldn't find "xauth" on your PATH.

Any ideas?
 
This is my root profile

PATH=$PATH:/sbin:/usr/lib/hpnp:/usr/X/bin
export PATH

am still getting
# ./vncserver
vncserver: couldn't find "Xvnc" on your PATH.
# ./Xvnc
18/08/05 10:50:13 Xvnc version 3.3.7 - built Feb 28 2003 18:43:51
18/08/05 10:50:13 Copyright (C) 2002-2003 RealVNC Ltd.
18/08/05 10:50:13 Copyright (C) 1994-2000 AT&T Laboratories Cambridge.
18/08/05 10:50:13 All Rights Reserved.
18/08/05 10:50:13 See for information on VNC
18/08/05 10:50:13 Desktop name 'x11' :)0)
18/08/05 10:50:13 Protocol version supported 3.3
18/08/05 10:50:13 Listening for VNC connections on TCP port 5900

Fatal server error:
Couldn't add screen
 
The error says it all. "vncserver: couldn't find "Xvnc" on your PATH". Add the directory containing Xvnc to the PATH as well... note that in Unix/Linux the current working directory is not searched automatically like it is in DOS, for example.

Annihilannic.
 
my vnc is install under /usr/local/bin/
I have done it,

I now get "vncserver: couldn't find "Xvnc" on your PATH."

This is my profile as at now.
PATH=$PATH:/sbin:/usr/lib/hpnp:/usr/X/bin:/usr/openwin/bin/xauth:/usr/local/bin
export PATH
 
I am having same issue with Solaris10
# which Xvnc
no Xvnc in /usr/sbin /usr/bin
my Xvnc is in /opt/sfw/bin
any suggestion to run this Xvnc Sucesully.

Your help is highly appreciated.
 
Thanks Annihilannic, I am getting this error !

#Xvnc
10/02/06 10:12:09 Xvnc version 3.3.7 - built Jan 5 2005 16:48:29
10/02/06 10:12:09 Copyright (C) 2002-2003 RealVNC Ltd.
10/02/06 10:12:09 Copyright (C) 1994-2000 AT&T Laboratories Cambridge.
10/02/06 10:12:09 All Rights Reserved.
10/02/06 10:12:09 See for information on VNC
10/02/06 10:12:09 Desktop name 'x11' :)0)
10/02/06 10:12:09 Protocol version supported 3.3
10/02/06 10:12:09 Listening for VNC connections on TCP port 5900

Fatal server error:
Couldn't add screen
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top