nickeyJohn / open-hardware-monitor

Automatically exported from code.google.com/p/open-hardware-monitor
0 stars 0 forks source link

New feature requested - "Run as a service" #33

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
New feature requested - "Run as a service".

Now, there is an option "Autorun". But this option is triggered when the
user login. I'd like setting "Run as a service" to run the program without
login of the user. Then you can connect from time to time to the computer
using RemoteAdmin and read sensors' values.

Thank you!

Original issue reported on code.google.com by Nikola...@gmail.com on 6 Apr 2010 at 5:31

GoogleCodeExporter commented 9 years ago
I have spent a lot of time already to implement code which would allow running 
the
Open Hardware Monitor as service and connecting with an Open Hardware Monitor 
GUI
process just to display the data from the service. Many of the problems are 
related
to remoting, user rights and having one EXE that can be run as service, pure GUI
application connecting to the service or as portable standalone application as 
it is
used now. Most of these problems could be solved.

But there is one big problem without solution: Session 0 isolation of Windows
Services on Windows Vista / 7. This causes all services to run on their own 
session,
which does not support any GUI system. This itself wouldn't be a problem, but 
somehow
the display driver is not accessible either. This means it is not possible to 
monitor
any data from the GPU when running as a Windows Service. 

This is the reason why I finally dropped the Windows Service code path, and
implemented the autorun option (which itself is a bit tricky with the Windows 
Vista /
7 UAC).

Original comment by moel.mich on 6 Apr 2010 at 6:54

GoogleCodeExporter commented 9 years ago
May be you need to create TCP channel between service and GUI parts?

Original comment by Nikola...@gmail.com on 6 Apr 2010 at 7:12