Sending xauthority and display to n4d method to export and import images.