title: Failing to reconnect to an NX session with the error: "error in locking authority file"
body: <p>I am able to start an NX session without any issues. But, when I 'disconnect' (leaving a persistent connection, as opposed to 'terminate'), I am unable to reconnect. Here is the error from /var/log/messages:</p>
  
  <pre><code>    Aug  5 19:05:41 praveen NXNODE-3.5.0-3[20703]: ERROR: NX&gt; 596 ERROR: NXNODE Ver. 3.5.0-3  (Error id e77ECD3) [e77ECD3] Logger::log nxnode 2963
      Aug  5 19:05:41 praveen NXNODE-3.5.0-3[20703]: ERROR: NX&gt; 596 ERROR: create session: run commands [e77ECD3] Logger::log nxnode 2963
      Aug  5 19:05:41 praveen NXNODE-3.5.0-3[20703]: ERROR: NX&gt; 596 ERROR: execution of last command failed [e77ECD3] Logger::log nxnode 2963
      Aug  5 19:05:41 praveen NXNODE-3.5.0-3[20703]: ERROR: NX&gt; 596 last command: /usr/bin/xauth -v source /home/pmohandas/.nx/C-praveen-1003-707A5CF0D1B5184E1EBEDC07BB4981EF/scripts/authority [e77ECD3] Logger::log nxnode 2963
      Aug  5 19:05:41 praveen NXNODE-3.5.0-3[20703]: ERROR: NX&gt; 596 exit value: 1 [e77ECD3] Logger::log nxnode 2963
      Aug  5 19:05:41 praveen NXNODE-3.5.0-3[20703]: ERROR: NX&gt; 596 stdout:  [e77ECD3] Logger::log nxnode 2963
      Aug  5 19:05:41 praveen NXNODE-3.5.0-3[20703]: ERROR: NX&gt; 596 stderr: /usr/bin/xauth:  error in locking authority file /home/pmohandas/.Xauthority [e77ECD3] Logger::log nxnode 2963
  </code></pre>
  
  <p>I am on a RHEL6.1 x86_64 machine. </p>
  
  <p>I tried running <code>xauth -b quit</code> prior to reconnecting to the NX session. No luck with that either. </p>
  
  <p>Does anyone know how I could get rid of this error? I find NX to be much snappier than VNC and would love to get this to work :) Thanks in advance!</p>