title: Run Jemmy Drag n Drop test on server
body: <p>I have some Jemmy DragnDrop junit tests. Below are some line of my code</p>
  
  <pre><code>Point p1 = SwingUtilities.convertPoint(portletOper.getUIComponent().getBasicComponent(), new Point(0, 0), displayOper.getUIComponent().getBasicComponent());
  getTestRootContainerOperator().getWindow().getFocusOwner();
  displayOper.getJemmyJComponentOperator().dragNDrop(p1.x + 10, p1.y + 10,
          p1.x + portletOper.getWidth() + 20, p1.y + portletOper.getHeight() / 4);
  </code></pre>
  
  <p>I run the test on local machine and it run perfectly.</p>
  
  <p>The PROBLEM is:</p>
  
  <p>I have a server (Windows server 2008) with Hudson installed. I create a hudson job to run the tests automatically.</p>
  
  <p>The Drag n Drop test PASS : when I have a Remote Desktop connection to the server. (I can see the test run OK)</p>
  
  <p>The Drag n Drop test FAIL : when there are no active sessions on the server.</p>
  
  <p>Do you have any solution for this problem? Thank you PROs</p>