Advertisement
Guest User

Untitled

a guest
Oct 27th, 2016
141
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 20.42 KB | None | 0 0
  1. cat /etc/nxserver/node.conf | grep -ve '^#' | grep -ve '^$'
  2. SSHD_PORT=1209
  3. DISPLAY_BASE=1001
  4. SESSION_LIMIT=25
  5. SESSION_USER_LIMIT=5
  6. DISPLAY_LIMIT=25
  7. ENABLE_PERSISTENT_SESSION="all"
  8. ENABLE_MIRROR_VIA_VNC=1
  9. ENABLE_DESKTOP_SHARING=1
  10. ENABLE_SESSION_SHADOWING_AUTHORIZATION=1
  11. ENABLE_INTERACTIVE_SESSION_SHADOWING=1
  12. NX_LOG_LEVEL=7
  13. NX_LOGFILE=/var/log/nxserver.log
  14. SESSION_LOG_CLEAN=0
  15.  
  16. cat /var/log/nxserver.log
  17. -- NX SERVER START: - ORIG_COMMAND=
  18. -- NX SERVER START: - ORIG_COMMAND=
  19. Info: Using fds #4 and #3 for communication with nxnode.
  20. HELLO NXSERVER - Version 3.2.0-74-SVN OS (GPL, using backend: 3.5.0)
  21. NX> 105 hello NXCLIENT - Version 3.2.0
  22. NX> 134 Accepted protocol: 3.2.0
  23. NX> 105 SET SHELL_MODE SHELL
  24. NX> 105 SET AUTH_MODE PASSWORD
  25. NX> 105 login
  26. NX> 101 User: yyyy
  27. NX> 102 Password:
  28. Info: Auth method: ssh yyyy@127.0.0.1's password:
  29. NX> 1000 NXNODE - Version 3.2.0-74-SVN OS (GPL, using backend: 3.5.0)
  30. NX> 716 Slave mode started successfully.
  31. nxnode_reader: NX> 1000 NXNODE - Version 3.2.0-74-SVN OS (GPL, using backend: 3.5.0)
  32. nxnode_reader: NX> 716 finished
  33. nxnode_reader: NX> 1001 Bye.
  34.  
  35. NX> 103 Welcome to: host user: yyyy
  36. NX> 105 listsession --type="shadow"
  37. NX> 127 Sessions list of user '.*' for reconnect:
  38.  
  39. Display Type Session ID Options Depth Screen Status Session Name
  40. ------- ---------------- -------------------------------- -------- ----- -------------- ----------- ------------------------------
  41. 1001 unix-gnome 5B35808234323A4D8277F794527BFC3E --D--PSA 24 1914x1012 Running host (xxxx) (Shadowed)
  42. 0 Local 639B671210FCE02100D4A90C44850D86 -------- Running X0 (Local)
  43. 0 Local 98F246415D9EA65BC926E0CA1E8DBC74 -------- Running X0 (Local)
  44.  
  45.  
  46. NX> 148 Server capacity: not reached for user: .*
  47. NX> 105 listsession --type="shadow"
  48. NX> 105 attachsession --link="adsl" --backingstore="1" --encryption="1" --cache="16M" --images="64M" --shmem="1" --shpix="1" --strict="0" --composite="1" --media="0" --session="hostshadow" --type="shadow" --client="winnt" --keyboard="pc102/en_US" --id="5B35808234323A4D8277F794527BFC3E" --display="1001" --geometry="1914x1012" --resize="1"
  49.  
  50. NX> 726 Asking user for authorization to attach to session
  51. Info: Using /etc/nxserver/nxacl to change session parameters or deny session.
  52. &link=adsl&backingstore=1&encryption=1&cache=16M&images=64M&shmem=1&shpix=1&strict=0&composite=1&media=0&session=hostshadow&type=shadow&client=winnt&keyboard=pc102/en_US&id=5B35808234323A4D8277F794527BFC3E&display=1001&geometry=1914x1012&resize=1&clientproto=3.2.0&login_method=SSH&shadowdisplay=1001&shadowhost=&shadowcookie=******&shadowuser=xxxx&user=yyyy&userip=140.239.209.66&uniqueid=858B82DD3410A5FA08EE35153B0FD7F6&display=1003&host=127.0.0.1
  53. nxnode_reader: NX> 1000 NXNODE - Version 3.2.0-74-SVN OS (GPL, using backend: 3.5.0)
  54. NX> 1000 NXNODE - Version 3.2.0-74-SVN OS (GPL, using backend: 3.5.0)
  55. server_nxnode_echo: NX> 1000 NXNODE - Version 3.2.0-74-SVN OS (GPL, using backend: 3.5.0)
  56. nxnode_reader: NX> 700 Session id: host-1001-858B82DD3410A5FA08EE35153B0FD7F6
  57. NX> 700 Session id: host-1001-858B82DD3410A5FA08EE35153B0FD7F6
  58. nxnode_reader: NX> 705 Session display: 1001
  59. nxnode_reader: NX> 703 Session type: shadow
  60. server_nxnode_echo: NX> 700 Session id: host-1001-858B82DD3410A5FA08EE35153B0FD7F6
  61. nxnode_reader: NX> 701 Proxy cookie: 3def610d9e80da114ce1f978fa4d5a2c
  62. nxnode_reader: NX> 702 Proxy IP: xyz.xyz.xyz.xyz
  63. nxnode_reader: NX> 706 Agent cookie: 3def610d9e80da114ce1f978fa4d5a2c
  64. nxnode_reader: NX> 704 Session cache: shadow
  65. nxnode_reader: NX> 707 SSL tunneling: 1
  66. nxnode_reader: Disk quotas for user yyyy (uid 1000): none
  67. nxnode_reader: NX> 1004 Error: NX Agent exited with exit status 1. To troubleshoot set SESSION_LOG_CLEAN=0 in node.conf and investigate "/home/yyyy/.nx/F-C-host-1001-858B82DD3410A5FA08EE35153B0FD7F6/session". You might also want to try: ssh -X myserver; /usr/lib/nx/nxnode --agent to test the basic functionality. Session log follows:
  68. NX> 705 Session display: 1001
  69. NX> 703 Session type: shadow
  70. NX> 701 Proxy cookie: 3def610d9e80da114ce1f978fa4d5a2c
  71. NX> 702 Proxy IP: xyz.xyz.xyz.xyz
  72. NX> 706 Agent cookie: 3def610d9e80da114ce1f978fa4d5a2c
  73. NX> 704 Session cache: shadow
  74. NX> 707 SSL tunneling: 1
  75. Disk quotas for user yyyy (uid 1000): none
  76. NX> 1004 Error: NX Agent exited with exit status 1. To troubleshoot set SESSION_LOG_CLEAN=0 in node.conf and investigate "/home/yyyy/.nx/F-C-host-1001-858B82DD3410A5FA08EE35153B0FD7F6/session". You might also want to try: ssh -X myserver; /usr/lib/nx/nxnode --agent to test the basic functionality. Session log follows:
  77. server_nxnode_echo: NX> 705 Session display: 1001
  78. nxnode_reader: Error: Aborting session with 'Server is already active for display 1001
  79. nxnode_reader: If this server is no longer running, remove /tmp/.X1001-lock
  80. nxnode_reader: and start again'.
  81. nxnode_reader: Session: Aborting session at 'Wed Apr 18 11:19:32 2012'.
  82. nxnode_reader: Session: Session aborted at 'Wed Apr 18 11:19:32 2012'.
  83. nxnode_reader: NX> 1006 Session status: closed
  84. Error: Aborting session with 'Server is already active for display 1001
  85. If this server is no longer running, remove /tmp/.X1001-lock
  86. and start again'.
  87. Session: Aborting session at 'Wed Apr 18 11:19:32 2012'.
  88. Session: Session aborted at 'Wed Apr 18 11:19:32 2012'.
  89. NX> 1006 Session status: closed
  90. server_nxnode_echo: NX> 703 Session type: shadow
  91. server_nxnode_echo: NX> 701 Proxy cookie: 3def610d9e80da114ce1f978fa4d5a2c
  92. server_nxnode_echo: NX> 702 Proxy IP: xyz.xyz.xyz.xyz
  93. server_nxnode_echo: NX> 706 Agent cookie: 3def610d9e80da114ce1f978fa4d5a2c
  94. nxnode_reader: rm: cannot remove `/tmp/.X1001-lock': Operation not permitted
  95. nxnode_reader: rm: cannot remove `/tmp/.X11-unix/X1001': Operation not permitted
  96. rm: cannot remove `/tmp/.X1001-lock': Operation not permitted
  97. rm: cannot remove `/tmp/.X11-unix/X1001': Operation not permitted
  98. server_nxnode_echo: NX> 704 Session cache: shadow
  99. server_nxnode_echo: NX> 707 SSL tunneling: 1
  100. NX> 105 server_nxnode_echo: NX> 596 Session startup failed.
  101. NX> 596 Session startup failed.
  102. server_nxnode_echo: NX> 1004 Error: NX Agent exited with exit status 1. To troubleshoot set SESSION_LOG_CLEAN=0 in node.conf and investigate "/home/yyyy/.nx/F-C-host-1001-858B82DD3410A5FA08EE35153B0FD7F6/session". You might also want to try: ssh -X myserver; /usr/lib/nx/nxnode --agent to test the basic functionality. Session log follows:
  103. session_close 858B82DD3410A5FA08EE35153B0FD7F6
  104. nxnode_reader: rm: cannot remove `/tmp/.X1001-lock': Operation not permitted
  105. rm: cannot remove `/tmp/.X1001-lock': Operation not permitted
  106. server_nxnode_echo: NX> 1006 Session status: closed
  107. nxnode_reader: rm: cannot remove `/tmp/.X11-unix/X1001': Operation not permitted
  108. rm: cannot remove `/tmp/.X11-unix/X1001': Operation not permitted
  109. Info: Closing connection to slave with pid 5123.
  110. nxnode_reader: 1001 Bye.
  111. 1001 Bye.
  112. nxnode_reader: NX> 1001 Bye.
  113. NX> 1001 Bye.
  114. server_nxnode_echo: NX> 1001 Bye.
  115. Info: Closing connection to slave with pid 3289.
  116.  
  117. 30.04 04:13:54 PM: startsession (30614): starting with args ""
  118. 30.04 04:13:54 PM: startsession (30614): generate "/host-nas/home/xxxx/.nx/C-host-1004-DAD0C12D4D64A595EA43304AA6CC5B55/options"
  119. 30.04 04:13:54 PM: startsession (30614): write xauth script file
  120. 30.04 04:13:54 PM: node_start_agent (30614): source profile
  121. 30.04 04:13:54 PM: node_start_agent (30614): starting
  122. 30.04 04:13:54 PM: startsession (30614): call 'node_start_applications'
  123. 30.04 04:13:54 PM: startsession (30614): call 'node_start_agent'
  124. 30.04 04:13:54 PM: node_start_monitor_2_0_0 (30614): starting
  125. 30.04 04:13:54 PM: node_start_applications (30614): source profile
  126. 30.04 04:13:54 PM: node_start_monitor (30614): staring
  127. 30.04 04:13:54 PM: node_start_applications (30614): source bash profile
  128. 30.04 04:13:54 PM: node_start_applications (30614): DISPLAY is 1004
  129. 30.04 04:13:54 PM: node_start_applications (30614): starting
  130. 30.04 04:13:54 PM: node_start_agent (30614): Start nxagent by command: '/usr/bin/nxagent -persistent -D -name "NX - xxxx@host:1004 - host (GPL Edition)" -option "/host-nas/home/xxxx/.nx/C-host-1004-DAD0C12D4D64A595EA43304AA6CC5B55/options" -nolisten tcp -dpi 96 :1004'
  131. 30.04 04:13:54 PM: node_start_agent (30614): env end
  132. 30.04 04:13:54 PM: node_start_agent (30614): env start SSH_AGENT_PID=30215
  133. NX_CLIENT=/usr/lib/nx/nxdialog
  134. SHELL=/bin/bash
  135. XDG_SESSION_COOKIE=60ff19e9e10c08100d4214104e25bbb4-1335820431.37337-1607081202
  136. SSH_CLIENT=127.0.0.1 33151 1209
  137. USER=xxxx
  138. LD_LIBRARY_PATH=/host-nas/share/lib:/host-nas/openmpi/openmpi-psm/lib:/usr/local/sage/lib64:/home/vizuser/tacc-mc/lib64:/opt/lib:/lib:/lib64:/lib32:/usr/lib:/usr/lib64:/usr/lib32:/usr/local/cglX/lib:/usr/local/cuda/lib:/usr/local/cuda/lib64:/host-nas/openmpi/openmpi-psm/lib:/usr/local/sage/lib
  139. MPI_DIRECTORY=/host-nas/openmpi/openmpi-psm
  140. SSH_AUTH_SOCK=/tmp/ssh-OLzZp30214/agent.30214
  141. SAGE_DIRECTORY=/usr/local/sage
  142. SHARE_DIRECTORY=/host-nas/share
  143. NXSESSIONID=host-1004-DAD0C12D4D64A595EA43304AA6CC5B55
  144. MAIL=/var/mail/xxxx
  145. PATH=/host-nas/share/bin:/host-nas/share/bin:/host-nas/openmpi/openmpi-psm:/opt/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/cglX/bin:/usr/local/cuda/bin:/host-nas/openmpi/openmpi-psm/bin:/usr/local/sage/bin
  146. SHADOW_XAUTHORITY=/host-nas/home/xxxx/.nx/C-host-1004-DAD0C12D4D64A595EA43304AA6CC5B55/authority
  147. PWD=/host-nas/home/xxxx
  148. LANG=en_US.UTF-8
  149. SLAVE_PID=30317
  150. SPEECHD_PORT=8560
  151. SHLVL=3
  152. HOME=/host-nas/home/xxxx
  153. LOGNAME=xxxx
  154. CUDA_DIRECTORY=/usr/local/cuda
  155. SSH_CONNECTION=127.0.0.1 33151 127.0.0.1 1209
  156. CGLX_DIRECTORY=/usr/local/cglX
  157. DISPLAY=nx/nx,options=/host-nas/home/xxxx/.nx/C-host-1004-DAD0C12D4D64A595EA43304AA6CC5B55/options:1004
  158. XAUTHORITY=/host-nas/home/xxxx/.nx/C-host-1004-DAD0C12D4D64A595EA43304AA6CC5B55/authority
  159. _=/usr/bin/env
  160. 30.04 04:13:54 PM: node_start_agent (30614): source bash profile
  161. 30.04 04:13:54 PM: node_start_monitor (30614): call 'node_start_monitor_2_0_0 ""'
  162. 30.04 04:13:54 PM: node_start_agent (30614): NXAgent session type
  163. 30.04 04:13:54 PM: node_start_agent (30614): Wait for NODE_AGENT_PID (30920)
  164. 30.04 04:13:57 PM: node_find_application (30614): return NODE_STARTX="gnome-session"
  165. 30.04 04:13:57 PM: node_find_application (30614): starting with args "unix-gnome"
  166. 30.04 04:13:57 PM: node_find_application (30614): end
  167. 30.04 04:13:57 PM: node_start_applications (30614): Got NODE_APPLICATION is "gnome-session"
  168. 30.04 04:13:57 PM: node_start_applications (30614): Start successful. NODE_APP_PID=31209
  169. 30.04 04:13:57 PM: node_start_applications (30614): Starting NODE_APPLICATION with /etc/nxserver/Xsession
  170. 30.04 04:13:57 PM: node_start_applications (30614): Waiting for NODE_APP_PID
  171. 30.04 04:18:56 PM: node_start_monitor_2_0_0 (30614): call node_stop_services
  172. 30.04 04:18:56 PM: node_stop_services (30614): call node_umount_smb
  173. 30.04 04:18:56 PM: node_umount_smb (30614): starting with ENABLE_SHARE_MULTIMOUNT == 0
  174. 30.04 04:18:56 PM: node_stop_services (30614): end
  175. 30.04 04:18:56 PM: node_umount_smb (30614): File scripts/mpoint not present. Abort umounting...
  176. 30.04 04:18:56 PM: node_stop_services (30614): call node_cupsd_stop
  177. 30.04 04:18:56 PM: node_stop_services (30614): starting
  178. 30.04 06:01:34 PM: node_start_agent (30614): close session
  179. 30.04 06:01:34 PM: node_start_agent (30614): cleanup session information 'host-1004-DAD0C12D4D64A595EA43304AA6CC5B55'
  180. 30.04 06:01:34 PM: node_terminate_session (30614): starting
  181. 30.04 06:01:34 PM: node_umount_smb (30614): starting with ENABLE_SHARE_MULTIMOUNT == 0
  182. 30.04 06:01:34 PM: node_start_applications (30614): Clean pids/apps/31209
  183. 30.04 06:01:34 PM: node_start_agent (30614): NODE_AGENT_EXIT_STATUS = "0"
  184. 30.04 06:01:34 PM: node_start_agent (30614): remove agent pidfile -- '/host-nas/home/xxxx/.nx/C-host-1004-DAD0C12D4D64A595EA43304AA6CC5B55/pids/agent'
  185. 30.04 06:01:34 PM: node_start_agent (30614): call 'node_terminate_session "host-1004-DAD0C12D4D64A595EA43304AA6CC5B55" ""'
  186. 30.04 06:01:34 PM: node_terminate_session (30614): call node_stop_services
  187. 30.04 06:01:34 PM: node_start_applications (30614): NODE_APP_PID finished
  188. 30.04 06:01:34 PM: node_stop_services (30614): starting
  189. 30.04 06:01:34 PM: node_terminate_session (30614): Remove display information
  190. 30.04 06:01:34 PM: node_stop_services (30614): call node_umount_smb
  191. 30.04 06:01:34 PM: node_umount_smb (30614): File scripts/mpoint not present. Abort umounting...
  192. 30.04 06:01:34 PM: node_stop_services (30614): end
  193. 30.04 06:01:34 PM: node_terminate_session (30614): Start terminating session "host-1004-DAD0C12D4D64A595EA43304AA6CC5B55" with status ""
  194. 30.04 06:01:34 PM: node_stop_services (30614): call node_cupsd_stop
  195. 30.04 06:01:34 PM: node_terminate_session (30614): Remove magic cookie information
  196. 30.04 06:01:34 PM: node_terminate_session (30614): Preserve or remove session information
  197. 30.04 06:01:34 PM: node_terminate_session (30614): Session terminated. Rename session directory from "/host-nas/home/xxxx/.nx/C-host-1004-DAD0C12D4D64A595EA43304AA6CC5B55/" to "/host-nas/home/xxxx/.nx/T-C-host-1004-DAD0C12D4D64A595EA43304AA6CC5B55"
  198. 30.04 06:01:34 PM: node_start_agent (30614):remove /tmp/.X1004-lock
  199. 30.04 06:01:34 PM: node_start_agent (30614): remove /tmp/.X11-unix/X1004
  200. 30.04 06:01:34 PM: node_terminate_session (30614): end
  201. 30.04 06:01:34 PM: node_start_monitor_2_0_0 (30614): call node_stop_services
  202. 30.04 06:01:34 PM: node_stop_services (30614): starting
  203. 30.04 06:01:34 PM: node_stop_services (30614): call node_cupsd_stop
  204. 30.04 06:01:34 PM: node_umount_smb (30614): starting with ENABLE_SHARE_MULTIMOUNT == 0
  205. 30.04 06:01:34 PM: node_stop_services (30614): end
  206. 30.04 06:01:34 PM: node_umount_smb (30614): File scripts/mpoint not present. Abort umounting...
  207. 30.04 06:01:34 PM: node_stop_services (30614): call node_umount_smb
  208. 30.04 06:01:34 PM: node_start_monitor_2_0_0 (30614): end
  209.  
  210. 30.04 04:14:07 PM: startsession (32187): starting with args ""
  211. 30.04 04:14:07 PM: startsession (32187): generate "/host-nas/home/xxxx/.nx/C-host-1004-79691E83AC7EE7BE3010050157C59440/options"
  212. 30.04 04:14:07 PM: startsession (32187): write xauth script file
  213. 30.04 04:14:07 PM: startsession (32187): If we have a shadow cookie, we add it to xauth session authority file as well
  214. 30.04 04:14:07 PM: node_start_agent (32187): env end
  215. 30.04 04:14:07 PM: startsession (32187): call 'node_start_applications'
  216. 30.04 04:14:07 PM: node_start_agent (32187): starting
  217. 30.04 04:14:07 PM: node_start_monitor (32187): call 'node_start_monitor_2_0_0 ""'
  218. 30.04 04:14:07 PM: node_start_applications (32187): source bash profile
  219. 30.04 04:14:07 PM: node_start_applications (32187): source profile
  220. 30.04 04:14:07 PM: node_start_agent (32187): Type "shadow". Add some args to nxagent
  221. 30.04 04:14:07 PM: node_start_monitor (32187): staring
  222. 30.04 04:14:07 PM: node_start_agent (32187): source bash profile
  223. 30.04 04:14:07 PM: node_start_agent (32187): source profile
  224. 30.04 04:14:07 PM: node_start_monitor_2_0_0 (32187): starting
  225. 30.04 04:14:08 PM: node_start_agent (32187): close session
  226. 30.04 04:14:07 PM: startsession (32187): call 'node_start_agent'
  227. 30.04 04:14:08 PM: node_start_agent (32187): Wait for NODE_AGENT_PID (32500)
  228. 30.04 04:14:08 PM: node_start_agent (32187): env start SSH_AGENT_PID=30215
  229. NX_CLIENT=/usr/lib/nx/nxdialog
  230. SHELL=/bin/bash
  231. XDG_SESSION_COOKIE=60ff19e9e10c08100d4214104e25bbb4-1335820442.468288-602337452
  232. SSH_CLIENT=127.0.0.1 33160 1209
  233. USER=xxxx
  234. LD_LIBRARY_PATH=/host-nas/share/lib:/host-nas/openmpi/openmpi-psm/lib:/usr/local/sage/lib64:/home/vizuser/tacc-mc/lib64:/opt/lib:/lib:/lib64:/lib32:/usr/lib:/usr/lib64:/usr/lib32:/usr/local/cglX/lib:/usr/local/cuda/lib:/usr/local/cuda/lib64:/host-nas/openmpi/openmpi-psm/lib:/usr/local/sage/lib
  235. MPI_DIRECTORY=/host-nas/openmpi/openmpi-psm
  236. SSH_AUTH_SOCK=/tmp/ssh-OLzZp30214/agent.30214
  237. SAGE_DIRECTORY=/usr/local/sage
  238. SHARE_DIRECTORY=/host-nas/share
  239. NXSESSIONID=host-1004-79691E83AC7EE7BE3010050157C59440
  240. MAIL=/var/mail/xxxx
  241. PATH=/host-nas/share/bin:/host-nas/share/bin:/host-nas/openmpi/openmpi-psm:/opt/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/cglX/bin:/usr/local/cuda/bin:/host-nas/openmpi/openmpi-psm/bin:/usr/local/sage/bin
  242. SHADOW_XAUTHORITY=/host-nas/home/xxxx/.nx/C-host-1004-79691E83AC7EE7BE3010050157C59440/authority
  243. PWD=/host-nas/home/xxxx
  244. LANG=en_US.UTF-8
  245. SLAVE_PID=31798
  246. SPEECHD_PORT=8560
  247. SHLVL=3
  248. HOME=/host-nas/home/xxxx
  249. LOGNAME=xxxx
  250. CUDA_DIRECTORY=/usr/local/cuda
  251. SSH_CONNECTION=127.0.0.1 33160 127.0.0.1 1209
  252. CGLX_DIRECTORY=/usr/local/cglX
  253. DISPLAY=nx/nx,options=/host-nas/home/xxxx/.nx/C-host-1004-79691E83AC7EE7BE3010050157C59440/options:1004
  254. XAUTHORITY=/host-nas/home/xxxx/.nx/C-host-1004-79691E83AC7EE7BE3010050157C59440/authority
  255. _=/usr/bin/env
  256. 30.04 04:14:08 PM: node_find_application (32187): starting with args "shadow"
  257. 30.04 04:14:08 PM: node_start_applications (32187): DISPLAY is 1004
  258. 30.04 04:14:08 PM: node_start_applications (32187): starting
  259. 30.04 04:14:08 PM: node_start_agent (32187): NXAgent session type
  260. 30.04 04:14:08 PM: node_find_application (32187): end
  261. 30.04 04:14:08 PM: node_start_agent (32187): NODE_FAILED = "failed"
  262. 30.04 04:14:08 PM: node_start_agent (32187): remove agent pidfile -- '/host-nas/home/xxxx/.nx/C-host-1004-79691E83AC7EE7BE3010050157C59440/pids/agent'
  263. 30.04 04:14:08 PM: node_stop_services (32187): call node_cupsd_stop
  264. 30.04 04:14:08 PM: node_find_application (32187): return NODE_STARTX=""
  265. 30.04 04:14:08 PM: node_start_agent (32187): cleanup session information 'host-1004-79691E83AC7EE7BE3010050157C59440'
  266. 30.04 04:14:08 PM: node_start_agent (32187): NODE_AGENT_EXIT_STATUS = "1"
  267. 30.04 04:14:08 PM: node_terminate_session (32187): starting
  268. 30.04 04:14:08 PM: node_umount_smb (32187): starting with ENABLE_SHARE_MULTIMOUNT == 0
  269. 30.04 04:14:08 PM: node_terminate_session (32187): Remove display information
  270. 30.04 04:14:08 PM: node_terminate_session (32187): Remove magic cookie information
  271. 30.04 04:14:08 PM: node_umount_smb (32187): File scripts/mpoint not present. Abort umounting...
  272. 30.04 04:14:08 PM: node_start_agent (32187): Start nxagent by command: '/usr/bin/nxagent -nopersistent -S -shadow :1004 -shadowmode 1 -name "NX - xxxx@host:1004 - hostshadow (GPL Edition)" -option "/host-nas/home/xxxx/.nx/C-host-1004-79691E83AC7EE7BE3010050157C59440/options" -nolisten tcp -dpi 96 :1004'
  273. 30.04 04:14:08 PM: node_stop_services (32187): end
  274. 30.04 04:14:08 PM: node_terminate_session (32187): Start terminating session "host-1004-79691E83AC7EE7BE3010050157C59440" with status "failed"
  275. 30.04 04:14:08 PM: node_start_agent (32187): call 'node_terminate_session "host-1004-79691E83AC7EE7BE3010050157C59440" "failed"'
  276. 30.04 04:14:08 PM: node_stop_services (32187): starting
  277. 30.04 04:14:08 PM: node_terminate_session (32187): call node_stop_services
  278. 30.04 04:14:08 PM: node_stop_services (32187): call node_umount_smb
  279. 30.04 04:14:08 PM: node_terminate_session (32187): Session failed. Rename session directory from "/host-nas/home/xxxx/.nx/C-host-1004-79691E83AC7EE7BE3010050157C59440/" to "/host-nas/home/xxxx/.nx/F-C-host-1004-79691E83AC7EE7BE3010050157C59440"
  280. 30.04 04:14:08 PM: node_terminate_session (32187): Preserve or remove session information
  281. 30.04 04:14:08 PM: node_terminate_session (32187): end
  282. 30.04 04:14:08 PM: node_start_agent (32187):remove /tmp/.X1004-lock
  283. 30.04 04:14:08 PM: node_start_agent (32187): remove /tmp/.X11-unix/X1004
  284. 30.04 04:14:08 PM: node_start_applications (32187): NODE_APPLICATION is empty
  285. 30.04 04:14:08 PM: node_stop_services (32187): starting
  286. 30.04 04:14:08 PM: node_umount_smb (32187): starting with ENABLE_SHARE_MULTIMOUNT == 0
  287. 30.04 04:14:08 PM: node_start_monitor_2_0_0 (32187): call node_stop_services
  288. 30.04 04:14:08 PM: startsession (32187): end
  289. 30.04 04:14:08 PM: node_stop_services (32187): call node_cupsd_stop
  290. 30.04 04:14:08 PM: node_start_monitor_2_0_0 (32187): end
  291. 30.04 04:14:08 PM: node_umount_smb (32187): File scripts/mpoint not present. Abort umounting...
  292. 30.04 04:14:08 PM: node_stop_services (32187): end
  293. 30.04 04:14:08 PM: node_stop_services (32187): call node_umount_smb
  294.  
  295. getparam()
  296. {
  297. stringinstring "&$1=" "$CMDLINE" || return 1
  298. echo "$CMDLINE" | tr "&" "n" | egrep "^"$1"=" | awk -F= '{ VAL=$2 } END { print VAL }' | sed 's|%24|$|'
  299. return 0
  300. }
  301.  
  302. == fix-getparam-url-decode.patch ==
  303. Add handling of '=' in the CMDLINE.
  304. This was an issue when we were passing a command line for unix type of
  305. gnome-session --session=2d-unity
  306. The '=' was not getting decoded and gnome-session would die.
  307. --- a/nxnode
  308. +++ b/nxnode
  309. @@ -72,9 +72,11 @@
  310.  
  311. getparam()
  312. {
  313. - stringinstring "&$1=" "$CMDLINE" || return 1
  314. - echo "$CMDLINE" | tr "&" "n" | egrep "^"$1"=" | awk -F= '{ VAL=$2 } END { print VAL }' | sed 's|%24|$|'
  315. - return 0
  316. + python -c "
  317. +import sys; from urlparse import parse_qs;
  318. +v=parse_qs(sys.argv[2]).get(sys.argv[1],[None])[0];
  319. +if (v==None): sys.exit(1);
  320. +print v;" "$1" "${CMDLINE}"
  321. }
  322.  
  323. find_app()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement