Posts for the month of August 2008

New nightly first prototype of the System Tray fix!

Hello everyone.

Finally managed to shake my illness (glandular fever) so here it is, the biggest one in a while... A new nightly, is up. But beware this one is a monster (several hundred new lines of code) so take care when you play around with it. (it should be safe to run with the shared session off). To see everything in action do the following:

  1. install (unzip or installer)
  2. install service (nsclient++ /install)
  3. DONT enable the Systray module.
  4. Enable the shared session ([settings] / shared_session=1)
  5. Start (net start nsclient++)
  6. WTH?!?!?! where did that systray come from you ask?
  7. Use the systry and;
    • see the logs
    • see the logs when you restart the service
    • see the logs when the service crashes
    • stop (and start) the service.

In short this is the proper way to make system trays in "modern" windows.

  • The service creates (when a user logs in) a process in the user realm that runs the system tray
  • The service and the system tray uses an IPC framework to speak to each other.

Simple, beautiful and elegant...and ohh so dangerous!

  • First off I have been ill last few weeks so much of this code has been written with me having a temperature around 40 centigrades (104 for you over in the old world) eating only fluid "food" which means quality is not 100%.
  • Secondly IPC frameworks are hard to write there are a lot of considerations and a lot of things that can go wrong.
  • Thirdly there is fundamental security issue here, since the "service" (privileged user) creates and takes instructions from a user (level process) so what should we allow the user to do?
  • Forth it is several hundred new lines of code and a lot of changes.

So let me know what you think and in which direction you want me to take this. This is a prototype in its current form, but as I said before if you disable the shared session it should be safe to use the new client (if not let me know) so don't be to scared.

There is a a ton more things I should say here but I think we should maybe move this to a discussion?

// Michael Medin

  • Posted: 2008-08-24 19:56 (Updated: 2008-08-24 20:00)
  • Categories: (none)
  • Comments (0)

Good tidings on the System Tray front...

Greetings everyone... just popped in quickly to let you know that the SysTray issue might soon be resolved. I yesterday just before going to bed managed to get my all-new IPC framework up-and-running so hopefully in a week or so we will have a beta that once and for all fixes the System tray issues!

Also in other news I just saw that I had managed to check all my changes into the old "server" so the source repository is not up-to-date at the moment (I will try to fix in the next few days)

// Michael Medin

  • Posted: 2008-08-13 07:58
  • Categories: (none)
  • Comments (0)

Wondering why there was no new version this week?

This is the reason: http://www.nakednuns.org/image_data/62402/full/IMG_9442.JPG

Whilst at the summer house I started to wonder why they always cover the lawnmower with a tarpaulin every time so I went to the barn and found some old boards and such and decided to build a "garage". Since it was a bit of a "for fun" project everything was built scavenging in the barn so everything is a bit "off" and leans and nothing is perfect... but it sure is nicer then a tarpaulin and it was pretty fun to just build something from scratch without any plans ideas or even a blue print.

Unfortunately the rain free summer decided to end so I had to go out to rescue the half-built garage from the rains and storms. Ironically the tarpaulin I had covered the garage with blow off in the storm so there was some minor water damage to the roof. Anyways now it is a lot more finished (still need a door as well as a wall above it) so I think it will survive the weather for a few more weeks...

// MickeM

  • Posted: 2008-08-07 09:41 (Updated: 2008-08-07 09:41)
  • Categories: (none)
  • Comments (0)