NSClient++ Help (#1) - SysTray problem win2k3 (#246) - Message List
I am experiencing a problem with the latest version, 0.3.4.28 RC4. I have installed the latest version because the older one's did'nt work at all.
When i give the command: 'nsclient++ SysTray install' with cmd it starts the trayicon etc, but a second later, it shuts itself down:
C:\NSClient++>nsclient++ SysTray install l \NSClient++.cpp(366) Attempting to start NSCLient++ - 0.3.4.28 RC 2008-09-14 l \NSClient++.cpp(472) NSCLient++ - 0.3.4.28 RC 2008-09-14 Started! SystemTray is now able to run as the SERVICE_INTERACTIVE_PROCESS flag has been s et. l \NSClient++.cpp(526) Attempting to stop NSCLient++ - 0.3.4.28 RC 2008-09-14 l \NSClient++.cpp(585) NSCLient++ - 0.3.4.28 RC 2008-09-14 Stopped succcessfully C:\NSClient++>
Could anybody help me?
-
Message #728
First off: 1, nsclient++ -noboot SysTray install is the correct syntax or it will "start for a second".
Secondly the system tray (module) "does not work" on windows 2003 and above. For windows XP and above there is (now) a new "system tray" concept that is in BETA so expect possible problems and crashes and what not.
To enable this:
[settings] shared_Session=1
Then you can disable the systray module all together and you don't need to "install" anything.
But BE WARNED this is experimental code so might not wanna do this on your expensive production machine.
Michael Medin
mickem09/15/08 14:38:19 (5 years ago)-
Message #729
Thanks for your reply, I have enabled it just a few seconds ago, but it still doesn't work. The systray does not appear in the tray. This is the message i get:
C:\NSClient++>nsclient++ -noboot SysTray install
l \NSClient++.cpp(366) Attempting to start NSCLient++ - 0.3.4.28 RC 2008-09-14
l \NSClient++.cpp(384) Enabling shared session...
l \NSClient++.cpp(403) Attaching to shared session...
e \NSClient++.cpp(410) No session was found cant attach!
e \NSClient++.cpp(412) Session is: _attached_2368_
l \NSClient++.cpp(472) NSCLient++ - 0.3.4.28 RC 2008-09-14 Started!
d \NSClient++.cpp(669) Loading plugin: SystemTray...
e \SysTray.cpp(46) You have enabled shared session, systray module will not load
...
SystemTray is now able to run as the SERVICE_INTERACTIVE_PROCESS flag has been s
et.
l \NSClient++.cpp(526) Attempting to stop NSCLient++ - 0.3.4.28 RC 2008-09-14
d \NSClient++.cpp(537) Stopping: COM helper
d \NSClient++.cpp(545) Stopping: Socket Helpers
d \NSClient++.cpp(553) Stopping: Settings instance
d \NSClient++.cpp(557) Stopping: shared client
e: Master session cant be down!
l \NSClient++.cpp(585) NSCLient++ - 0.3.4.28 RC 2008-09-14 Stopped succcessfully
As you can see, it still says: Stopped Succesfully.
DavidovR09/15/08 15:03:21 (5 years ago)-
Message #730
uhmm...
not sure what you are trying to do actually.
After you enable the shared session, just start nsclient++ "normally" and you should get a try icon ie:
- edit nsc.ini
- dont load systray.dll
- dont run nsclient++ -nobot ...
- start nsclient++ net start nsclientpp
That should be all...
MickeM
mickem09/15/08 15:31:08 (5 years ago)
-
-








