Red Hat Bugzilla – Bug 69228
vnc init.d script start portion is broken in respect of the "cd" command
Last modified: 2007-04-18 12:44:17 EDT
Description of Problem:
The file /etc/init.d/vncserver is broken and does not work as desired.
Version-Release number of selected component (if applicable):
does not apply
Steps to Reproduce:
1. log in as a local user, launch vncserver, specify password, test, kill server afterwards
2. add a line to /etc/sysconfig/vncservers for the above user like this: VNCSERVERS="1:username"
3. launch /etc/init.d/vncserver with start and stop options to test config
the vnc server wont launch
the vnc server should launch
the parameter for the "cd" command in the start/stop script is odd.
it is "~/$...something" but it should be only "~".
Btw. the description in the header of the sysconfig file is a bit unprecise.
the requirement is: the password for the server must be set just once to run.
If its done via vncpasswd or alternatively by trying out the server manually
is not important.
The cd parameter is (in your case) ~username, which is correct.
Please check that the script is as shipped using 'rpm -V vnc-server'.
Closing (discussed in private mail).