I got it to work from the command line, but not from SystemPanel.init. Please point me in the right direction, I am sure I missed something painfully obvious, but I can't figure it out.
My shell script, /gary/vnc.sh consists of one line; I did a "chmod +x" on it:
vncviewer.ph is located in /gary
ln -s /gary/vnc created a link named /gary/vnc (vnc.sh shows up in /gary as a link from the file open list of ped.)
In SystemPanel.init I added this line:
I had created vnc_button.gif and vnc_button_activated.gif in anticipation of being able to run VNC from the Options menu. They are located in /kojak/img/eng/config, and appear properly in the menu.
The following will launch the VNC viewer successfully from the command line:
I did a "chmod -x execv" and the third line stopped working, so I know execv works on the command line level, and yes, I did a "chmod +x execv" and the third line works again. Based on this, it seems that the most probable issue is a)the line in SystemPanel.init is flawed, b)the shell file is flawed, c)I need to put the link somewhere else, or d)vnc isn't going to work with this.