Check out this site. This works for me.
http://www.sourcecodecorner.com/articles/vnc/linux.asp

William Hooper wrote:

>For the last time, please send replies to the list.  Direct mailed replies
>after this will not be answered.
>
>Salvatore Basso said:
>  
>
>>Hi, excuse if they are not expressed to me with clarity!
>>then I have created a script that I have called vncserver in /etc/init.d,
>>this script is equal to what you have indicated to me to the link:
>>
>>    
>>
>>>http://faq.gotomyvnc.com/fom-serve/cache/86.html
>>>      
>>>
>>then I have created file that I have called vncservers in /etc/syconfig
>>(VNCSERVERS="1:root"), but to the start of the linux I have the following
>>messages of error:
>>
>>command not found /etc/rc5.d/S59vncserver: line 6
>>no such file or directory 8 : /etc/init.d/functions
>>command not found line 9
>>no such file or directory 11 : /etc/sysconfig: line 6
>>command not found line 12
>>/etc/rc5.d/S59vncserver: line 14 : [:=: unary operator expected
>>command not found line 15
>>no such file or directory 17 : /etc/sysconfig/vncservers
>>command not found line 18
>>command not found line 20
>>etc/rc5.d/S59vncserver : line 21: syntax error near unexpected token {
>>etc/rc5.d/S59vncserver : line 21: ' start( ) {
>>
>>I have controlled and the file 'network' and 'functions' find both in
>>/etc/sysconfig !
>>which error I commit? Thanks for the patience!
>>    
>>
>
>Just as a guess I would say you have some typos in the script.  Do you
>have a website you can post this script to?  I don't recall if the list
>will allow attachments, but you could try that as a last resort.  Using
>the line numbers from the link above things don't match up (for examaple
>lines 6, 9, and 12 are blank).  Did you by chance create this script on a
>Windows machine then copy it to your Linux machine?
_______________________________________________
VNC-List mailing list
[EMAIL PROTECTED]
To remove yourself from the list visit:
http://www.realvnc.com/mailman/listinfo/vnc-list

Reply via email to