starting multiple vncservers at bootup on solaris
Wed Nov 6 23:21:01 2002
I tried adding the following to services
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
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
it does work so maybe I can just create my on startup script to be run at boot
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.
> VNC-List mailing list
e-mail address: morry.davis@Sun.COM
phone: X84792/650 786-4792 fax 650 562-2143