Cannot connect to already running IDE instance. Exception: Process 2 is still running


Guys, apparently this problem is solved by deleting the lock file. 

There it more or less tells us where to find it. 

If, like me, you use ZorinOS, I recommend activating the view hidden files and then searching for the pycharm folder. 

Otherwise use this address in the terminal: ~/.var/app/com.jetbrains.PyCharm-Community/config/JetBrains/PyCharmCE2023.2$ 

I hope you find it useful

1 comment

Yes, deleting the lock file and killing the IDE process are the two solutions to the problem, which is already fixed for the latest versions of the IDE. See


Please sign in to leave a comment.