Forum / General Discussions / Need to track the root cause of NoMachine session terminate
- This topic has 3 replies, 2 voices, and was last updated 8 years ago by
kroy.
-
AuthorPosts
-
November 13, 2017 at 14:25 #16396
Ashok_BarikParticipantHow can I track log of NoMachine if someone session has been terminated. There should be log in detail if user has terminated or terminated itself. I cant find correct log so it is difficult to track the root cause of session terminated.
Can you please help me on this?
November 13, 2017 at 18:24 #16418
kroyContributorYou can monitoring sessions by using
./nxserver --historycommand (https://www.nomachine.com/DT07M00090#7.1.). It will show the complete list of sessions, including those that have been cleanly terminated or failed.November 21, 2017 at 09:24 #16543
Ashok_BarikParticipant./nxserver –history command is not enough to find the root cause. I want to check in detail all log how session was disconnected.
November 23, 2017 at 09:01 #16613
kroyContributorCommand
--historycan give quite completely information. Take a look on example:sudo /usr/NX/bin/nxserver --history Display Username Remote IP Session ID Date Status Node Type ------- --------- --------- -------------------------------- ------------------- ------------ -------------- ---------------------- 1005 user1 192.168.0.11 21274CD5BAC280EBA3CA1ED07BC051A8 2017-11-22 16:23:55 Connected localhost:4000 physical-desktop 1003 user2 192.168.0.12 034252F491CB5E6B2EFD0289EA9697C1 2017-11-20 18:26:31 Finished localhost:4000 shadow 1002 user1 192.168.0.13 A706C54F46C2D5C64C0F02E6BEE10767 2017-11-05 23:45:10 Failed localhost:4000 unix-console 1004 user3 - C38F8C100B40A99BE41FDB06CCF38DAB 2017-11-16 08:40:05 Disconnected localhost:4000 unix-applicationIn the “Status” column you have four possibilities:
Connected – when it’s connected to the remote display.
Disconnected – this status is available only for virtual desktop sessions. A session is marked as disconnected when it’s disconnected from the remote display. A disconnected session can be reconnected at any time even from a different machine (migration). While a session is disconnected, applications on remote stay running.
Finnished – the session has been closed in a clean way and all NoMachine processes have been shut-down smoothly.
Failed – Any of the NoMachine processes has failed to start or it has been “un-cleanly” terminated.
More info you can find in link from previous post.
-
AuthorPosts
This topic was marked as solved, you can't post.
