April 7, 2020 at 07:24 #26569mlmongeParticipant
I’m interested in capturing the history of remote sessions. Is there a built-in feature that can reveal the time and duration of each NoMachine session?
Any feedback would be most appreciated. ✌️April 7, 2020 at 12:49 #26585
I’d also like to know what the operating system version was of the remote hosts, assuming that’s captured somewhere in the client logs?April 7, 2020 at 16:54 #26596
Session history is available. For more details see here: https://www.nomachine.com/FR03M02882
sudo /etc/NX/nxserver --history --client-platform
Display Username Remote IP Session ID Date ------- --------- --------- -------------------------------- ------------------- 1003 nomachine 10.0.5.43 232E14CB00F250F404170DF788A5FFB7 2020-04-07 15:42:33 Status Node Type Client platform Connected localhost:4000 shadow linux
--history [<sessionid> | <username> | <node:port> | clear] [--client-type] [--client-version] [--client-platform] [--stats] [ --file <file>]April 9, 2020 at 11:43 #26645
That may be the answer for the OP, but I’m interested in learning the server’s OS version (sorry, I called it the remote host since the server is remote from the client’s point of view).
So to reword, does the client keep any OS information about the servers it connects to in logs etc?April 9, 2020 at 12:41 #26648
When a client connects to a remote host, it stores certain information in the session file. It is enough to connect once to be able to store what OS the client connected to. Next time you open NoMachine on your client, the recent connections panel will show the details of the session, including the OS, which was started.
The client logs will store the same information.April 10, 2020 at 11:47 #26663
Thanks again @britgirl
Not exactly what I was after. The Recent Connections just shows the OS type (eg Windows), not version info (eg, Windows 10 Build #, Windows 7 SP# etc).
Also I discovered that a fresh install has “Don’t delete log files on exit” unticked as default https://www.nomachine.com/DT10O00154#2.5. So if there was any info there, its now gone for my old sessions.
No matter, I’ve ticked the box and will hopefully have the info from now on at the client end.April 10, 2020 at 12:02 #26669
Sorry, I thought I had put a link on “client logs” to that document…. Yes, it’s unticked by default. Having it ticked would mean the majority of users fill up their NoMachine folder with log files that they probably don’t need.
You must be logged in to reply to this topic.