Bug 427478

Summary: vncpasswd program is missing from vnc install
Product: [Fedora] Fedora Reporter: Joe Totale <octo_realm>
Component: vncAssignee: Adam Tkac <atkac>
Status: CLOSED NOTABUG QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: low Docs Contact:
Priority: low    
Version: 8CC: johan-fedora, ovasik
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2008-01-21 13:05:37 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Joe Totale 2008-01-04 03:31:28 UTC
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.1.10) Gecko/20071213 Fedora/2.0.0.10-3.fc8 Firefox/2.0.0.10

Description of problem:
I wanted to set a password at ~/.vnc/passwd for vnc viewer only (had not installed vnc server).  $vncpasswd was not a recognised command, and yum-exteder did not list vncpasswd in the files for vnc-4.1.2-23.fc8.src.rpm

Version-Release number of selected component (if applicable):
vnc-4.1.2-23.fc8.src.rpm

How reproducible:
Always


Steps to Reproduce:
1.install vnc-4x.fc8.src.rpm
2.$vncpasswd
3.

Actual Results:
'command not found' error message

Expected Results:
vncpasswd should have run

Additional info:

Comment 1 Johan Kok 2008-01-13 20:49:33 UTC
Did you install the source rpm or the binary rpm for your arch? 

The vncpasswd utility is included in the vnc-server package. Please confirm that you have that package 
installed (with 'rpm -q vnc-server' for example) and install the package if it it missing (with 'yum install 
vnc-server'). Then, try again to use vncpasswd.

Can you report back if this resolved your issue?

Comment 2 Joe Totale 2008-01-14 12:20:31 UTC
I originally installed vnc-4x.fc8.src.rpm for Fedora 8.

At the time I resolved the problem by installing vnc-server which did provide 
vncpasswd.  After checking, I think that vncpasswd should be available to 
users of vncviewer who do not have vnc-server installed.

Thx

Comment 3 Adam Tkac 2008-01-14 15:17:55 UTC
yes, you're right that vncpasswd is in vnc-server package. I'm not sure why you
need it in vnc package. Do you have any reason?

Comment 4 Joe Totale 2008-01-14 17:24:11 UTC
I was using vnc to view another desktop (my headless server) and wanted to 
tell vnc to use the password in the ~/.vnc/passwd file to help automate the 
process.  I thought that the vnc package provides vncpasswd on other distros 
I've used.  If I'm wrong about that, and vncpasswd only comes as part of vnc-
server, then my apologies for incorrectly reporting the bug.

Comment 5 Adam Tkac 2008-01-21 13:05:37 UTC
(In reply to comment #4)
> I was using vnc to view another desktop (my headless server) and wanted to 
> tell vnc to use the password in the ~/.vnc/passwd file to help automate the 
> process.  I thought that the vnc package provides vncpasswd on other distros 
> I've used.  If I'm wrong about that, and vncpasswd only comes as part of vnc-
> server, then my apologies for incorrectly reporting the bug.

This is quite delicious problem. vncpasswd program can be only in one package. I
think this is more vnc-server program than client. So please install vnc-server
package if you need it or simply create ~/.vnc/passwd on server and copy that
file to client.