Bug 69228 - vnc init.d script start portion is broken in respect of the "cd" command
Summary: vnc init.d script start portion is broken in respect of the "cd" command
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Red Hat Linux
Classification: Retired
Component: vnc
Version: 7.3
Hardware: i386
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Tim Waugh
QA Contact: David Lawrence
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2002-07-19 10:23 UTC by Alexander Stohr
Modified: 2007-04-18 16:44 UTC (History)
0 users

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2002-07-19 11:48:58 UTC
Embargoed:


Attachments (Terms of Use)

Description Alexander Stohr 2002-07-19 10:23:19 UTC
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

How Reproducible:
always

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

Actual Results:
the vnc server wont launch

Expected Results:
the vnc server should launch

Additional Information:
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.

Comment 1 Tim Waugh 2002-07-19 11:48:50 UTC
The cd parameter is (in your case) ~username, which is correct.

Please check that the script is as shipped using 'rpm -V vnc-server'.

Comment 2 Tim Waugh 2002-07-19 13:18:56 UTC
Closing (discussed in private mail).


Note You need to log in before you can comment on or make changes to this bug.