[bug-notifications] [vncserver 0004658]: VNC Server does not start after installation

Mantis Bug Tracker noreply at opencsw.org
Sun Mar 18 08:34:12 CET 2012


A NOTE has been added to this issue. 
====================================================================== 
https://www.opencsw.org/mantis/view.php?id=4658 
====================================================================== 
Reported By:                wbonnet
Assigned To:                
====================================================================== 
Project:                    vncserver
Issue ID:                   4658
Category:                   packaging
Reproducibility:            always
Severity:                   major
Priority:                   normal
Status:                     new
====================================================================== 
Date Submitted:             2011-01-05 15:27 CET
Last Modified:              2012-03-18 08:34 CET
====================================================================== 
Summary:                    VNC Server does not start after installation
Description: 
After installation of VNC server package, the service does not start. 

First problem : script is not executable

bash-3.00# ls -la /etc/opt/csw/init.d/cswvncserver
-rw-r--r--   1 root     bin         1421 mars  3  2010
/etc/opt/csw/init.d/cswvncserver

Suggested fix : 

bash-3.00# chmod a+x /etc/opt/csw/init.d/cswvncserver
bash-3.00# ls -la /etc/opt/csw/init.d/cswvncserver
-rwxr-xr-x   1 root     bin         1421 mars  3  2010
/etc/opt/csw/init.d/cswvncserver

Second problem : Some executables are not in the PATH

xauth is not available, nor is Xnv

bash-3.00# cat network-cswvncserver\:default.log 
[ janv  5 14:02:19 Enabled. ]
[ janv  5 14:02:19 Executing start method
("/var/opt/csw/svc/method/svc-cswvncserver start") ]
Starting VNC server: 
1:william 
vncserver: couldn't find "xauth" on your PATH.
[ janv  5 14:02:19 Method "start" exited with status 1 ]
[ janv  5 14:02:19 Executing start method
("/var/opt/csw/svc/method/svc-cswvncserver start") ]
Starting VNC server: 
1:william 
vncserver: couldn't find "xauth" on your PATH.
[ janv  5 14:02:19 Method "start" exited with status 1 ]
[ janv  5 14:02:19 Executing start method
("/var/opt/csw/svc/method/svc-cswvncserver start") ]
Starting VNC server: 
1:william 
vncserver: couldn't find "xauth" on your PATH.
[ janv  5 14:02:20 Method "start" exited with status 1 ]

After installation the startup script can be started with a target user
without a modified PATH variable. I suggest to add /usr/openwin/bin and
/opt/csw/bin to the PATH inside the startup script. This will ensure that
no programs are missing in the PATH.
 
====================================================================== 

---------------------------------------------------------------------- 
 (0009744) maciej (manager) - 2012-03-18 08:34
 https://www.opencsw.org/mantis/view.php?id=4658#c9744 
---------------------------------------------------------------------- 
Sadly, tightvnc 1.3.10 does not build on Solaris 9:


[configure-modulated] complete for tightvnc.
(cd work/solaris9-sparc/build-isa-sparcv8/vnc_unixsrc &&
HOME="/home/maciej"
PATH="/home/maciej/src/opencsw/pkg/.buildsys/v2/gar/bin/sos12-wrappers:/home/maciej/src/opencsw/pkg/tightvnc/trunk/work/solaris9-sparc/install-isa-sparcv8/opt/csw/bin:/home/maciej/src/opencsw/pkg/tightvnc/trunk/work/solaris9-sparc/install-isa-sparcv8/opt/csw/bin:/home/maciej/src/opencsw/pkg/tightvnc/trunk/work/solaris9-sparc/install-isa-sparcv8/opt/csw/sbin:/home/maciej/src/opencsw/pkg/tightvnc/trunk/work/solaris9-sparc/install-isa-sparcv8/opt/csw/sbin:/opt/csw/bin:/opt/csw/bin:/opt/csw/sbin:/opt/csw/sbin:/opt/SUNWspro/bin:/home/maciej/src/opencsw/pkg/.buildsys/v2/gar/bin:/usr/bin:/usr/sbin:/usr/java/bin:/usr/ccs/bin:/usr/openwin/bin"
LC_ALL="C" prefix="/opt/csw" exec_prefix="/opt/csw" bindir="/opt/csw/bin"
sbindir="/opt/csw/sbin" libexecdir="/opt/csw/libexec"
datadir="/opt/csw/share" sysconfdir="/etc/opt/csw"
sharedstatedir="/opt/csw/share" localstatedir="/var/opt/csw"
libdir="/opt/csw/lib" infodir="/opt/csw/share/info"
lispdir="/opt/csw/share/emacs/site-lisp" includedir="/opt/csw/include"
mandir="/opt/csw/share/man" docdir="/opt/csw/share/doc"
sourcedir="/opt/csw/src" CPPFLAGS="-I/usr/openwin/share/include/X11
-I/opt/csw/include" CFLAGS="-xO3 -m32 -xarch=v8" CXXFLAGS="-xO3 -m32
-xarch=v8" LDFLAGS="-m32 -xarch=v8 /opt/csw/lib -L/opt/csw/lib"
FFLAGS="-xO3 -m32 -xarch=v8" FCFLAGS="-xO3 -m32 -xarch=v8" ASFLAGS=""
OPTFLAGS="-xO3 -m32 -xarch=v8" CC="/opt/SUNWspro/bin/cc"
CXX="/opt/SUNWspro/bin/CC" CC_HOME="/opt/SUNWspro" CC_VERSION="Sun C 5.9
SunOS_sparc Patch 124867-16 2010/08/11" CXX_VERSION="Sun C++ 5.9
SunOS_sparc Patch 124863-28 2011/12/14" GARCH="sparc" GAROSREL="5.9"
GARPACKAGE="trunk" LD_OPTIONS="-R/opt/csw/lib/\$ISALIST -R/opt/csw/lib"  \
        EXTRA_INCLUDES="-I/opt/csw/include" \
        EXTRA_DEFINES="-xO3 -m32 -xarch=v8" \
        LOCAL_LDFLAGS="-L/opt/csw/lib" \
        gmake World)
gmake[2]: Entering directory
`/home/maciej/src/opencsw/pkg/tightvnc/trunk/work/solaris9-sparc/build-isa-sparcv8/vnc_unixsrc'
make Makefiles
making Makefiles in libvncauth...
Usage : make [ -f makefile ][ -K statefile ]... [ -d ][ -dd ][ -D ][ -DD ]
             [ -e ][ -i ][ -k ][ -n ][ -p ][ -P ][ -q ][ -r ][ -s ][ -S ][
-t ]
             [ -u ][ -w ][ -V ][ target... ][ macro=value... ][ "macro
+=value"... ]
make: Fatal error: Unknown option `-I'



More information about the bug-notifications mailing list