OpenCSW Bug Tracker


Viewing Issue Simple Details Jump to Notes ] View Advanced ] Issue History ] Print ]
ID Category Severity Reproducibility Date Submitted Last Update
0004658 [vncserver] packaging major always 2011-01-05 15:27 2015-11-26 12:42
Reporter wbonnet View Status public  
Assigned To
Priority normal Resolution open  
Status new  
Summary 0004658: 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.
 
Additional Information
Tags No tags attached.
Attached Files

- Relationships

-  Notes
(0009744)
maciej (manager)
2012-03-18 08:34

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'
(0010775)
maciej (manager)
2014-03-24 00:48

There is no point in waiting for this bug to be fixed. If you want it fixed, you (yes, you the reader) need to fix it yourself. If you're not already a package maintainer at OpenCSW, you can look at the 35 minute long tutorial[1] to get started - then you can offer your patch to package maintainers. You can find OpenCSW people on the users mailing list[2] and on the #opencsw channel on IRC on Freenode[3].

[1] Packaging tutorial http://youtu.be/JWKCbPJSaxw [^]
[2] OpenCSW users mailing list https://lists.opencsw.org/mailman/listinfo/users [^]
[3] #opencsw on Freenode http://www.opencsw.org/support/irc-channel/ [^]


Copyright © 2000 - 2008 Mantis Group
Powered by Mantis Bugtracker