Thanks I got this all working with inetd now. I used dadmin user but the viewer still shows 'root's X11 desktop' I was trying to get rid of the reference to root.
"Beerse, Corni" wrote: > > -----Original Message----- > > From: Morrison Davis [mailto:Morry.Davis@;Sun.COM] > > > > I tried adding the following to services > > vnc-640x480x24 5970/tcp > > vnc-800x600x24 5971/tcp > > vnc-1024x768x24 5972/tcp > > vnc-1280x1024x24 5973/tcp > > vnc-1600x1200x24 5974/tcp > > then I added the following to inetd.conf > > vnc-640x480x24 stream tcp nowait bin /usr/local/bin/Xvnc Xvnc > > -inetd -query > > localhost -once -geometry 640x480 -depth 24 -fp tcp/localhost:7100 > > vnc-800x600x24 stream tcp nowait bin /usr/local/bin/Xvnc Xvnc > > -inetd -query > > localhost -once -geometry 800x600 -depth 24 -fp tcp/localhost:7100 > > vnc-1024x768x24 stream tcp nowait bin /usr/local/bin/Xvnc > > Xvnc -inetd -query > > localhost -once -geometry 1024x768 -depth 24 -fp tcp/localhost:7100 > > vnc-1280x1024x24 stream tcp nowait bin /usr/local/bin/Xvnc > > Xvnc -inetd -query > > localhost -once -geometry 1280x1024 -depth 24 -fp tcp/localhost:7100 > > vnc-1600x1200x24 stream tcp nowait bin /usr/local/bin/Xvnc > > Xvnc -inetd -query > > localhost -once -geometry 1600x1200 -depth 24 -fp tcp/localhost:7100 > > > rebooted system > > Slight overkill, a restart of inetd should do > `/etc/init.d/inetd stop; /etc/init.d/inetd start` > > > > > went to remote system And tried to start viewer > > I get no error and no vncsession coming up on that system. > > > > I did figure out the _XSERVE errors if I run the Xvnc :4 > > -query localhost as > > root > > it does work so maybe I can just create my on startup script > > to be run at boot > > time > > rather than the inetd stuff, although that would be nice > > because then I know it > > will shutdown properly at shutdown. > > It's not the user that runs the startup script, it's the user that runs the > Xvnc. Try to run `/usr/local/bin/Xvnc :4 -query localhost` as the users bin, > sys or root. The one that works is the one you should use in inetd.conf. If > you read the inetd.conf manual pages (`man inetd.conf`) you see 'bin' is the > user that will run /usr/local/bin/Xvnc in your inetd.conf. Replace that with > 'sys' (or 'root') to get things going. > > CBee > _______________________________________________ > VNC-List mailing list > [EMAIL PROTECTED] > http://www.realvnc.com/mailman/listinfo/vnc-list _______________________________________________ VNC-List mailing list [EMAIL PROTECTED] http://www.realvnc.com/mailman/listinfo/vnc-list
