23

I get the following message when trying to sign into skype after my Ubuntu machine hasn't been shut down properly and skype was running:

"We can't open Skype. You are already signed in on this computer. Please sign out and try again."

Donal M
  • 1,305
  • 2
  • 11
  • 23
  • Off-topic, belongs to http://superuser.com – Alexandros Dec 21 '13 at 13:30
  • 2
    Worth mentioning that this problem happened to me on Ubuntu 14.04 x86_64 after I ran Skype for the first time and then minimized it. After it minimized, it didn't add an icon to the top right corner of the screen, so I had no way to re-open it. When I tried to re-open it from the launcher I got the above error. To fix, I installed: `sudo apt-get install sni-qt:i386`, killed the Skype process, removed the .lck file from .Skype (see answers below), and then re-opened from the launcher. The icon then appeared at the top right. – Will Keeling Jan 12 '16 at 09:46
  • terminal -> `pkill Skype` – jeet.chanchawat Feb 24 '16 at 18:11
  • Funny, the same happened to me and the fixes below did not work for me. I just realized, skype was active in the status bar on top. I just had to navigate from there. – alex351 Mar 17 '17 at 12:52

4 Answers4

45

To fix the problem you will need to manually delete the lock files in your .Skype directory.

To do this, run these commands in terminal:

cd ~/.Skype
find ./  -name "*.lock" | xargs rm
find ./  -name "*.lck" | xargs rm
Donal M
  • 1,305
  • 2
  • 11
  • 23
19

If nothing works, do this:

cd ~
rm -rf .Skype     

This deletes the complete Skype-Configuration and you're existing and faulty session. .Skype will be recreated when you restart skype.

danilodeveloper
  • 3,840
  • 2
  • 36
  • 56
dfostic
  • 1,608
  • 15
  • 8
6

As Donal points out you need to get rid of the lock files in the ~/.Skype dir. I like this cmd better than Donal's merely because it's a one liner. I'd add this as comment to Donal's answer except I can't add code blocks in comments.

find ~/.Skype -regex ".*\.lo?ck" -exec rm {} \;
demented hedgehog
  • 7,007
  • 4
  • 42
  • 49
  • This does not provide an answer to the question. To critique or request clarification from an author, leave a comment below their post. – matiash May 20 '14 at 00:55
  • 1
    I think I understand the question just fine. I've edited my answer to provide a complete answer to the question. I think it's a bit petty though cause I see this as an addition to Donal's answer not an answer in its own right - I just can't format it correctly as such. – demented hedgehog May 20 '14 at 01:36
4

The above did not resolve it here on an Ubunto 12.04 installation. But what helped was removing the entire ~/.Skype subdirectory : sudo rm -R ~/.Skype It is remade by the Skype application the next login.

senora
  • 41
  • 1