Try to simplify it without the script. /etc/inetd.conf (one continuous line) ----------------------------------- 5950 stream tcp nowait nobody /usr/local/bin/Xvnc Xvnc -inetd -query localhost -once securitytypes=none -----------------------------------
Once you've got it working you can try scripting it. See the Xvnc man page referencing inetd: http://www.realvnc.com/products/free/4.1/man/Xvnc.html Too bad you don't have "xinetd". It's much easier! --Cal Webster On Mon, 2006-09-18 at 16:06, Odenweller, Joe wrote: > Trying to get inetd startup working on AIX. So far I have > > - Installed VNC from www.bullfreeware.com after running across a message > that the IBM copy would not work under inetd. > - Added an entry to /etc/services "vnc 5950/tcp" > - Added an entry to /etc/inetd.conf "vnc stream tcp nowait > nobody /usr/local/bin/Xvncinetd" > - Added a script as /usr/local/bin/Xvncinetd: > #!/bin/sh > export PATH=/usr/local/bin:$PATH > /usr/local/bin/Xvnc -inetd -query localhost -once -geometry 1024x768 > -depth 24 -desktop VNCserver -fp tcp/localhost:7100 > - refresh -s inetd > > Sometimes I get: > > usplsai003:/# vncviewer localhost:50 > VNC server supports protocol version 3.3 (viewer 3.3) > No authentication needed > Desktop name "nobody's VNCserver desktop > (usplsai003.txpln.us.eds.com:1)" > Connected to VNC server, using protocol version 3.3 > VNC server default format: > 32 bits per pixel. > Most significant byte first in each pixel. > True colour: max red 255 green 255 blue 255, shift red 0 green 8 blue > 16 > Using default colormap which is TrueColor. Pixel format: > 32 bits per pixel. > Most significant byte first in each pixel. > True colour: max red 255 green 255 blue 255, shift red 16 green 8 blue > 0 > Same machine: preferring raw encoding > Server has turned zlib compression on > Unknown message type 70 from VNC server > usplsai003:/# > > When I do I get a grey screen paint and then I get the "Unknown message > type 70 from VNC server" message. > > Sometimes I get: > usplsai003:/# vncviewer localhost:50 > VNC server supports protocol version 3.3 (viewer 3.3) > Unknown authentication scheme from VNC server: 172384628 > usplsai003:/# > > When I do I get no output. > > To verify my XDMCP configuration I had Hummingbird to an XDMCP Query and > it successfully returned the CDE login screen. > _______________________________________________ > VNC-List mailing list > [email protected] > To remove yourself from the list visit: > http://www.realvnc.com/mailman/listinfo/vnc-list _______________________________________________ VNC-List mailing list [email protected] To remove yourself from the list visit: http://www.realvnc.com/mailman/listinfo/vnc-list
