[Xitami] Running Xitami as a service under Win9x
Michael S. Kazarin
xitami@lists.xitami.org
Thu, 14 Jun 2001 11:36:20 +0400
Hi!
Perhaps that info can help:
Before I started exploring Xitami on w2k I used to run GUI version of Xitami
on Win9x,ME (xiwin32.exe). There is the way to start Xitami at pre-login as
a service.
You simply hack a registry a bit. Go to
HKLM\Software\Microsoft\Windows\Current Version\RunServices. Create new
REG_SZ there. Moify it to contain C:\Xitami\xiwin32.exe (or whatever your
path will be). Bingo. Now your Xitami will start early before anyone logs in
and stay running after logout till you shut down.
Limitations: you will have no tray icon, you'll have to ctrl-alt-del/end
task the server if you wish to stop or restart (except wba) the server.
Mike.
| This is largely because no one knows the answer :-) Windows 95/98
| really are not intended for running services on them; any attempts to do
| otherwise are at best somewhat hopeful and as you have found.
|
| Basically from what I've been able to find out any "services" you run
| under Windows 95 generally start when you log in, and stop when you log
| out, and there's relatively little you can do about that. Apparently if
| you install the NT Service version (bs3224d9.exe) under Windows 95 it
| will register itself in basically the way that you have found.
|
| Alternatively you can run the DOS console version in a minimised window
| as you have done (the "-s" switch doesn't do anything under DOS/Windows
| other than print out the message you saw; it does useful things only in
| Unix and OS/2). However as you've found, it'll be stopped when the user
| logs out.
|
| Basically if you'll need to choose between: (a) having Xitami running
| when a user is logged in, on a user workstation OS like Windows 95/98,
| and (b) running Xitami on a more server oriented OS (Linux, Unix,
| Windows NT/2000, even OS/2).
|
| Sorry about that. But unfortunately it's inherient in the way that
| Windows 95/98 works: it's not intended to run "services" in the way
| server OSes are, and Microsoft went to some lengths to make it more
| difficult.
|
| Ewen
|
| --
| Ewen McNeill, Technical Consultant, iMatix Corporation www.imatix.com
|
| --
| Xitami Users Mailing List -- For Xitami support
| To unsubscribe: http://lists.xitami.org/mailman/listinfo/xitami
|