Thanks.  I'll take a look at the book you recommend.

This is the inetd approach, with the behavior that
I don't want:  VNC is run as root and the sessions
are not persistent.

Anon Y Mous wrote:
> In OpenSolaris 2008.11, what I think I did (if I remember correctly) was I 
> edited the /etc/X11/gdm/custom.conf to contain this:
> 
> [xdmcp]
> Enable=true
> [security]
> DisallowTCP=false
> 
> 
> and then I ran this command to enable the xvnc SMF service:
> 
> $ pfexec svcadm enable xvnc-inetd
> 
> and then you need to disable gnome with this command:
> 
> $ pfexec svcadm disable gdm 
> 
> and then once gnome is dead and you're at the command line re-enable it with 
> this command:
> 
> $ pfexec svcadm enable gdm
> 
> I think I got this technique from the OpenSolaris Bible (see link below):
> 
> http://www.amazon.com/OpenSolaris-Bible-Wiley-Nicholas-Solter/dp/0470385480
> 
> I highly recommend getting your hands on a copy of that book if you haven't 
> already. It contains over a thousand pages of info on doing this kind of 
> stuff and it's pretty much the primary source where I steal all of my 
> knowledge from (the Dtrace chapter alone is worth the price of the book).
> 
> Anyway, try those commands and tell me if it works.


-- 
Michael Eager    eager at eagercon.com
1960 Park Blvd., Palo Alto, CA 94306  650-325-8077

Reply via email to