Sign up ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free.

When i try to login it takes about 2 to 4 minutes and after that it shows an error that says:

P2P connect failed.

Note that Skype was working with me yesterday.

Thanks in advance

share|improve this question
Type the following in your terminal rm -rf ~/.Skype,this will delete all your settings but then it works. – karthick87 Dec 22 '10 at 18:06

5 Answers 5

up vote 1 down vote accepted

The Skype server takes the IP addresses of all logged in users and exchanges them to those wishing to connect. If the Skype program had the ability to either accept an IP address or loads the last used IP address, the Skype server need not be invoked for a simple P2P connection unless a dynamically assigned IP address changes. If the Skype server is down, the new IP address may be manually input when Skype programs the function into the next revision of Skype.

share|improve this answer

This actually isn't Ubuntu related, they've had outages all day.

share|improve this answer

It is not a Ubuntu specific issue. Skype got a problem in their network. Now things are retuning to normal. You can find more updates on skype's twitter page:

share|improve this answer

Try removing shared.xml from ~/.Skype/ and restarting Skype.

Here's a kludge of a script that does it for you. Just copy it into, run chmod +x and then ./

if [ -e ~/.Skype/shared.xml ]  
    echo "Stopping Skype"  
    killall -HUP skype  
    echo "Moving shared.xml"  
    mv ~/.Skype/shared.xml ~/.Skype/shared.xml.bk  
    echo "Restarting Skype"  
    skype &  
    echo "Can't find shared.xml - this solution will not work"  

If the problem recurs, run the script again.

share|improve this answer

Found my solution here:

In short, you should delete the ~/.Skype/shared.xml file.

Glad I checked there as a ton of other sites just told me to delete the entire skype directory

share|improve this answer
Welcome to Ask Ubuntu! Whilst this may theoretically answer the question, it would be preferable to include the essential parts of the answer here, and provide the link for reference. – Peachy Nov 8 '12 at 1:37

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.