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

Mantis Bug Tracker noreply at opencsw.org
Wed Jan 5 15:27:15 CET 2011


The following issue has been SUBMITTED. 
====================================================================== 
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:              2011-01-05 15:27 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.
 
======================================================================



More information about the bug-notifications mailing list