$ perl /usr/local/bin/vncpasswd
Unrecognized character \x7F at /usr/local/bin/vncpasswd line 1.
This indicates that there is something wrong with the file vncpasswd. I checked the file:
$ cd /usr/local/bin
$ file vnc*
vncconnect: ELF 32-bit MSB executable SPARC Version 1, dynamically linked, not stripped
vncpasswd: ELF 32-bit MSB executable SPARC Version 1, dynamically linked, not stripped
vncserver: executable /usr/local/bin/perl script
vncviewer: ELF 32-bit MSB executable SPARC Version 1, dynamically linked, not stripped
This error comes because vncpasswd is not a perl script but a binary executable file. So the correct way to invoke vncpasswd is:
$ /usr/local/bin/vncpasswd
Password:
Verify:
No comments:
Post a Comment