I used this command sudo rm /tmp/digilent-* found on this link https://support.xilinx.com/s/question/0D54U00006CULagSAH/possible-bug-locks-of-jtag-created-by-a-hwserver-are-not-removed-on-exit?language=en_US . It fixed the problem for me. This issue showed up after installing adept 2.