starting multiple vncservers at bootup on solaris
Wed Nov 6 14:27:56 2002
> -----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
> 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.