2

My machine crashed with KDevelop running, and after rebooting it won't start, saying:

Failed to lock the session, probably it is already active in another running instance

However I definitely do not have it running anywhere.

How can I clear up whatever kind of lock it created and failed to clean up after itself?

Drew Noakes
  • 5,878

2 Answers2

1

You can manually remove any KDevelop lock files via:

sudo rm ~/.kde/share/apps/kdevelop/sessions/*/lock
Drew Noakes
  • 5,878
1

The accepted answer did nothing for me, however I didn't reboot my PC to try to fix the problem.

What worked for me was this:

killall -9 kdevelop

After killing all instances of kdevelop, I could start it again, and pick a session.

BЈовић
  • 4,662