Would it not be possible to launch wineserver to handle NT services ?
Thus if the user was logged in services would be running ( if he fx. had started wineserver in his .xsession file ).
I do realise that there are issues such as privileges and multiuser, but this would circumvent them would it not ?
I have looked at some of the other things people have written about services, but this looks doable.
/ regards, Lars Segerlund.
Would it not be possible to launch wineserver to handle NT services ?
Thus if the user was logged in services would be running ( if he fx. had started wineserver in his .xsession file ).
I do realise that there are issues such as privileges and multiuser, but this would circumvent them would it not ?
I have looked at some of the other things people have written about services, but this looks doable.
/ regards, Lars Segerlund.
You might want to make a wrapper application like wine/programs/services. This program could then be started by wineserver and a config option if you want to try and run a NT service. I dont really see the point on running services under WINE unless you want to try and install AV software that loads as a service =)
__________________________________________________ Do you Yahoo!? Yahoo! Platinum - Watch CBS' NCAA March Madness, live on your desktop! http://platinum.yahoo.com
dooooont do it ! even wineboot isnt started by the server !
You might want to make a wrapper application like wine/programs/services. This program could then be started by wineserver and a config option if you want to try and run a NT service. I dont really see the point on running services under WINE unless you want to try and install AV software that loads as a service =)
===== Sylvain Petreolle (spetreolle at users dot sourceforge dot net) Fight Spam ! EuroCauce: http://www.euro.cauce.org/en/index.html ICQ #170597259
"Don't think you are. Know you are." Morpheus, in "Matrix".
___________________________________________________________ Do You Yahoo!? -- Une adresse @yahoo.fr gratuite et en français ! Yahoo! Mail : http://fr.mail.yahoo.com
I havent been following how wineboot operates as I dont have a need for it under Mingw or Cygwin ATM. Sylvain is right you should look at the way wineboot and rpcss work under WINE and then implement services as such. It would be nice if you add a net command to wcmd so we can net stop service-name
Thanks Steven
--- Sylvain Petreolle spetreolle@yahoo.fr wrote:
dooooont do it ! even wineboot isnt started by the server !
You might want to make a wrapper application like wine/programs/services. This program could then be started by wineserver and a config option if you want to try and run a NT service. I dont really see the point on running services under WINE unless you want to try and install AV software that loads as a service =)
__________________________________________________ Do you Yahoo!? Yahoo! Platinum - Watch CBS' NCAA March Madness, live on your desktop! http://platinum.yahoo.com
On Friday 21 March 2003 04:52 pm, Steven Edwards wrote:
I havent been following how wineboot operates as I dont have a need for it under Mingw or Cygwin ATM. Sylvain is right you should look at the way wineboot and rpcss work under WINE and then implement services as such. It would be nice if you add a net command to wcmd so we can net stop service-name
net is not a feature of wcmd. it's an actual console .exe. so that would be the right way to go about it. an interesting approach would be to try to get the native net.exe working, although you may or may not encounter some RPC problems doing that. surely, even if it didn't work, following net.exe around in winedbg (or a native windows debugger) ought to be an interesting exercise; perhaps I'll try it myself once I get my act together with my wine source tree, which seems to have gotten a mind of its own lately and obviously needs some TLC to be rectified with CVS...
as to the previous poster who said why do we need it? because it's in windows: q.e.d.
But in case that doesn't convince you: think it would be useless to run SQL Server or Backup Exec under wine? I don't. In fact I'd posit an opposite question: why should we bother implementing RPC if we don't plan to implement services? They go hand-in-glove IMHO.
I guess you can blame the war for some of the delay with that (I live about where Saddam has aimed most of his scuds 12 years ago - I was more into launch probabilities and trying on gas masks than wineboot lately).
It basically boils down to this - wineserver has not started any synchronous wine utils in the past (the font generation is performed, as far as I can tell, in the server context itself), and the whole thing is taking time and patience to sort out. If all you want is asynchronous services starting, that's easy (I practically have the code lying around somewhere). If you want services to start halting other processes before they start - that's going to be tricker.
In any case, you can merge that right into wineboot itself. It currently has several command line options that control how it starts. One of the option is to do a full session startup, and another is to do just the pre-login startups (that one doesn't have a command line yet, but that's really simple). We can put services support there.
We can, but I don't recommend it. I think we should aim for Wine to have a simple RPM/Deb install. There are several implications to this simple statement. One of them is using a shared (unix) system wide directory structure (be it on a real or on a fake windows, doesn't really matter. Personally I think fake windows is the only thing that really matters). This, in turn, means that services should be started on system wide basis. Services also have a different set of permissions and users than the usual processes. In short - I think they belong in neither wrapper nor wineboot, but require a more specific solution.
Shachar
Sylvain Petreolle wrote:
dooooont do it ! even wineboot isnt started by the server !
You might want to make a wrapper application like wine/programs/services. This program could then be started by wineserver and a config option if you want to try and run a NT service. I dont really see the point on running services under WINE unless you want to try and install AV software that loads as a service =)