In xterm go to /home/user/.nethackdir and remove all *.lock.* files. I had the same issue and this fixes it.