Twas brillig, and ?? ? scrobe:
> thanks for your reply ,
> I wrote two files in /etc/xinet.d/ ,file my_vnc_nowait  is nowait mode,and 
> my_vnc_wait is the wait mode ,as following :
> 
> service my_vnc_nowait
> {
>        socket_type    = stream
>        wait                   = no
>        user           = nobody
>        serve          = /usr/local/bin/Xvnc
>        server_args        = -inetd -query 127.0.0.1 -once -geometry 
> 1024x768
>        disable        = no
> }
> service my_vnc_wait
> {
>        socket_type    = stream
>        wait                   = yes
>        user           = root
>        server = /usr/local/bin/Xvnc
>        server_args        = -inetd -query 127.0.0.1 -once 
> passwordFile=/root/.vnc/passwd -geometry 1024x768
>        disable        = no
> }
> 
> surprisingly , the "nowait mode" can work well .But the wait mode, when 
> connect to the wait mode port , it told :  " read:Connection reset by peer 
> (10054)  "
> 
> why ? how to make it work ?
> 

I'm not sure why this isn't working - nothing in the above looks wrong 
to my eyes (but I'm not really that familiar with xinetd - I'm using inetd
on my vnc server system).

I'll ask the obvious question - what version of VNC are you running?

-- 
Wesley Hart
_______________________________________________
VNC-List mailing list
VNC-List@realvnc.com
To remove yourself from the list visit:
http://www.realvnc.com/mailman/listinfo/vnc-list

Reply via email to