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

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.

"Beerse, Corni" wrote:

> > -----Original Message-----
> > From: morry [mailto:Morry.Davis@;Sun.COM]
> >
> >  trying to start multiple vncservers at bootup so when users start a
> > vncviewer they get a CDE login screen.
>
> You can have a dedicated vncserver running for all users. Better setup your
> system as on http://www.sourcecodecorner.com/articles/vnc/linux.asp . This
> will start a vncserver on the fly. Most likely, you only need to adapt the
> /etc/services and /etc/inetd.conf files.
>
> Details for /etc/inetd.conf file: use your own path to Xvnc, use an account
> that can create sockets (`sys` or `bin` instead-of `nobody`) and add the
> font path (with -fp option) as you use on the console (see `xset -q` there).
>
> > So, I'm experimenting with different Xvnc command line startups but
> > can't seem to get it working. If I don't
> > use the -nolisten local I get the following
> > _XSERVTransSocketCreateListener: failed to bind listener
> > _XSERVTransSocketUNIXCreateListener: ...SocketCreateListener() failed
> > _XSERVTransMakeAllCOTSServerListeners: failed to create listener for
> > local
> >
> > Fatal server error:
> > Failed to establish all listening sockets
>
> Most likely, specially on sun, you have no right to create the socket.
> Search the archives for 'sun' or 'Solaris' and you will find the problems
> (and a solution)
>
> One solution with the above link setup is starting the Xvnc (in the
> inetd.conf file) with a proper user.
>
> >
> > If I do use it I can't seem to get XDMCP to work.
> > Has anyone done this on Solaris8?
>
> You don't have success with `Xvnc :4 -query localhost`? That's Sun-Solaris
> setup, better ask a solaris guru.
>
> >
> > If I add the  -broadcast  XDMCP  works but I can't seem to
> > control which machine the CDE login runs on
> > even using the -query localhost, it seems to reandomly pick other
> > machines on the LAN.
>
> CBee
> _______________________________________________
> VNC-List mailing list
> [EMAIL PROTECTED]
> http://www.realvnc.com/mailman/listinfo/vnc-list

--
Thanks Morry
e-mail address: [EMAIL PROTECTED]
phone: X84792/650 786-4792 fax 650 562-2143
_______________________________________________
VNC-List mailing list
[EMAIL PROTECTED]
http://www.realvnc.com/mailman/listinfo/vnc-list

Reply via email to