another seaside mini image + vnc

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

another seaside mini image + vnc

Martial Boniou
cbeler_at_enit.fr wrote:

> Concerning VNC, I had a DNU with  the seaside component
> WAVNCController.
>I added #server in the second line of #renderContentOn:
>
>WAVNCController>>renderContentOn: html
>         html heading: '....'.
>         self server *server*
>                ifNil: [...]
>                ...
>
>Is it a bug ?

Yes! It's a bug. I saw it some weeks ago and I corrected it in my own
VNCContoller app but I forgot to mention it.

I didn't look at your image in detail yet but I will. I read a lot of
words about eye-candy things but I think it's not the main goal of the
Pavel work. It's very useful for all seasiders who try to deploy a
Squeak server. I'm fond of those minimalistic smalltalk images.
Squeak is a great tool to develop but I prefer VW for server. I hope
MiniSqueak will change that.

About RFBServer, when I noticed (but it may be changed) that you cannot
save your image when it runs without having a morph alert window: so I
added in my own hackish VNC app a method to save as new version in
background (OSProcess) by stopping it. (It can be ready to run at
startUp via launcher: Smalltalk class>>#addToStartUpList:)

If I get time (I am not very often in front of my computer screen these
days; and that's not a bad thing ;-) ), I will post it for merge on MC.

--
Martial

_______________________________________________
Seaside mailing list
[hidden email]
http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
Reply | Threaded
Open this post in threaded view
|

Re: another seaside mini image + vnc

cbeler

> About RFBServer, when I noticed (but it may be changed) that you cannot
> save your image when it runs without having a morph alert window: so I
> added in my own hackish VNC app a method to save as new version in
> background (OSProcess) by stopping it.
Why is it a problem ? maybe you automatically save the image...
 
If you have VNC, it's to remote access the image, and then you can
answer 'yes' or 'no' and it'll save.
Anyway, closing RFB is probably better after each modifications... You
have the vnc seaside entry point for that (starting closing the
applications) in the directory tools. But if you loaded RFB after
seaside, it's not initialized... so just execute
WAVNCControler initialize
This make me think I changed the registering of this application to be
authentificated...

Cédrick
_______________________________________________
Seaside mailing list
[hidden email]
http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
Reply | Threaded
Open this post in threaded view
|

Re: another seaside mini image + vnc

Martial Boniou
Cdrick Bler a écrit :
|
| >About RFBServer, when I noticed (but it may be changed) that you cannot
| >save your image when it runs without having a morph alert window: so I
| >added in my own hackish VNC app a method to save as new version in
| >background (OSProcess) by stopping it.
| Why is it a problem ? maybe you automatically save the image...
Yes. I wasn't clear. I do autosave (new version) and weekly big snapshot via
a Seaside Component.
 
| If you have VNC, it's to remote access the image, and then you can
| answer 'yes' or 'no' and it'll save.
In this case, of course, it's not a problem.

| Anyway, closing RFB is probably better after each modifications... You
| have the vnc seaside entry point for that (starting closing the
| applications) in the directory tools. But if you loaded RFB after
| seaside, it's not initialized... so just execute
| WAVNCControler initialize
For this, you can use startUp too or Unix command to script your
squeakvm startup behavior.

| This make me think I changed the registering of this application to be
| authentificated...
That's what I did. Those tools (like the browser) should not be
accessed. Your Pier PREditCommand in cdrick.seasidehosting.st should not
too ;-)

--
Martial

_______________________________________________
Seaside mailing list
[hidden email]
http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside