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

Mantis Bug Tracker via bug-notifications bug-notifications at lists.opencsw.org
Thu Nov 26 12:42:54 CET 2015


The following issue is now in status NEW (again) 
====================================================================== 
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:              2015-11-26 12:42 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.
 
====================================================================== 

---------------------------------------------------------------------- 
 (0010775) maciej (administrator) - 2014-03-24 00:48
 https://www.opencsw.org/mantis/view.php?id=4658#c10775 
---------------------------------------------------------------------- 
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/



More information about the bug-notifications mailing list