You simply login as the appropriate user for the service, squeaksource for example, and run vncserver. The setup for vnc is in ~/.vnc/, most importantly ~/.vnc/xstartup. As a prerequisite you must shut down any existing instance of the squeak process and if it is running under daemontools shut it down using daemontools so it doesn't start it back up automatically. This of course assumes that .vnc/xstartup starts the Squeak process for you which is what we have tended to do generally. But I seem to remember that you fiddled with this before regarding the issue below and it doesn't quite work that way for squeaksource.
Unless I'm remembering incorrectly we have never been able to work out a setup for daemontools that will work with VNC because of the assumption daemontools makes that there is a single parent process that is responsible for any subprocesses.
Hence vnc support has to be handled manually.
Ken
-------- Original Message -------- Subject: Re: [Box-Admins] Re: [squeak-dev] source.squeak.org inaccessible From: Bert Freudenberg bert@freudenbergs.de Date: Tue, March 29, 2011 4:52 pm To: Ken Causey ken@kencausey.com Cc: Squeak Hosting Support box-admins@lists.squeakfoundation.org
Ken, do you remember how vncserver was supposed to get started? Did we drop an init script maybe?
- Bert -
On 22.03.2011, at 19:31, Ken Causey wrote:
Thanks. I guess this was an unannounced/unintentional reboot then? Perhaps I should have restarted the server when we passed 6 months uptime again, oh well. Hopefully we will have moved on by the time 6 months have passed again.
Ken
-------- Original Message -------- Subject: [Box-Admins] Re: [squeak-dev] source.squeak.org inaccessible From: Bert Freudenberg bert@freudenbergs.de Date: Mon, March 21, 2011 5:07 pm To: Squeak Hosting Support box-admins@lists.squeakfoundation.org Cc: "Randal L. Schwartz" merlyn@stonehenge.com
On 21.03.2011, at 23:03, Randal L. Schwartz wrote:
>>> "Bert" == Bert Freudenberg bert@freudenbergs.de writes:
Bert> Looks like the server rebooted a few hours ago and not everything Bert> came back up.
And just because I have root there doesn't mean I understand everything yet. Sorry folks. :(
Paging Ken to the White Courtesy Phone...
It's working now.
Somehow vncserver was not started. And I forgot how it was supposed to get run, so I made squeaksource run headlessly for now.
- Bert -