WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: installed realvnc - needs perl and vncpasswd in PATH  (Read 5225 times)

Offline bigpcman

  • Hero Member
  • *****
  • Posts: 719
installed realvnc - needs perl and vncpasswd in PATH
« on: January 21, 2009, 08:43:50 PM »
I installed realvnc.tce and tried to start it per the man page. I looked around for it but could not find where it was installed. Looks like it needs environment variables set among other things.

-----------------------
edit: Ok realvnc installs vnc4xxxxx programs in /usr/local/bin. Looks like there is an unresolved dependency with perl so I installed the perl extension which then enabled "vnc4server start" to run and complain vncpasswd must be run to setup the password which is what the man page says will happen so that's good. However, after I set the password the vnc4server would not start due to an error about "couldn't find "vncpasswd" on your PATH. Not sure how to fix this so will try this another day.
« Last Edit: January 21, 2009, 09:36:41 PM by bigpcman »
big pc man

Offline robc

  • Sr. Member
  • ****
  • Posts: 447
Re: installed realvnc - needs perl and vncpasswd in PATH
« Reply #1 on: January 22, 2009, 11:16:29 AM »
Quote
couldn't find "vncpasswd" on your PATH.
I see what you are talking about...this is because there is no "vncpasswd" file, it is called vnc4passwd. The vnc4server script is calling for vncpasswd instead of vnc4passwd. You can create a symlink of vncpasswd to vnc4passwd to work around this or you can set the password before running vnc4server....but the script should be changed to look for the correct file. I can get to this either later today or tomorrow. Though once that is done Xvnc4 will complain about not being able to find fonts because it is looking in the wrong place again. Xvnc4 is not using the fontpath and is looking in /usr/share/fonts/X11. Again for a work around you can create a symlink of /usr/share/fonts/X11 to /usr/lib/X11/fonts...though this will need to take a little thought on the best way to fix this.

Edit: forgot to address the perl issue
This package is dependent upon perl_xml.tce. I will need to create a .dep file for it.
« Last Edit: January 22, 2009, 11:18:26 AM by robc »
"Never give up! Never surrender!" - Commander Peter Quincy Taggart

"Make it so." - Captain Picard

Offline robc

  • Sr. Member
  • ****
  • Posts: 447
Re: installed realvnc - needs perl and vncpasswd in PATH
« Reply #2 on: January 29, 2009, 04:10:53 PM »
I edited the vnc4server file so it will look in the correct places. I tested this with "base norestore" options and loaded perl5.tcel and it worked. I submitted the new extension with the proper .dep and these edits to the script.
"Never give up! Never surrender!" - Commander Peter Quincy Taggart

"Make it so." - Captain Picard