Multiple Skype clients on Mac OS X?

38

32

How can I run multiple Skype clients on Mac OS X?

Sultan Saadat

Posted 2011-04-16T13:44:50.167

Reputation:

Answers

49

Here's a solution that doesn't require sudo or have any of the other issues described elsewhere:

open -na /Applications/Skype.app --args -DataPath /Users/$(whoami)/Library/Application\ Support/Skype2

Replace "Skype2" with as many numbers as you need instances of skype and go nuts.

Matthew Scharley

Posted 2011-04-16T13:44:50.167

Reputation: 4 083

1I don't know why you answer is not the accepted, but still - it seems the proper solution for me. Everything is is one user context and without sudo. – Jevgeni Smirnov – 2014-09-17T06:45:36.287

2@JevgeniSmirnov It's not accepted because I was about 3 years late to the party. Feel free to tell your friends though! – Matthew Scharley – 2014-09-18T09:01:38.133

2This is the best, the cleanest and the proper elegant solution that avoids any race conditions. +1 – KoCMoHaBTa – 2014-12-02T10:16:50.723

1I urge everyone to upvote this answer. Comparing to sudo/su solutions, it has copy-n-paste working correctly. – alx – 2015-10-05T12:43:49.940

Still using it as of today. Is there a shortcut to do this without having to paste it in the terminal? – JohnnyQ – 2015-12-10T01:32:05.277

1@JohnnyQ You can save the command line in a text file with the 'command' extension – RioTera – 2016-01-04T13:17:00.223

Another good solution which is what I used is adding this as an alias such as skype2 to your .bashrc file, though that's a slightly more advanced solution. – Matthew Scharley – 2016-08-09T12:21:25.193

I have to run this command every time I need another skype? – Omer – 2017-06-09T07:15:07.573

Confirmed working on High Sierra, as of Nov. '17 – Kanuj Bhatnagar – 2017-11-16T06:54:26.200

7stopped working after latest Skype update :( – a4arpan – 2017-12-03T02:23:29.150

in newer version of Mac OSX this above command is not working , try this latest command , its working fine with sudo /Applications/Skype.app/Contents/MacOS/Skype /secondary – nivritgupta – 2018-06-10T06:01:41.067

44

Run Skype.app, then use this command in terminal:

sudo /Applications/Skype.app/Contents/MacOS/Skype /secondary

Tested on Mac OS X Lion 10.7.4 and Skype 5.8.0.865.

ZaaiM

Posted 2011-04-16T13:44:50.167

Reputation: 465

checked on Yosemite (10.10.1), working fine – Mani – 2014-12-03T13:15:56.320

4As stated below, it's not smart to run Skype as root. Use any the method suggested by Matthew Scharley instead. – t.mikael.d – 2014-12-31T19:27:56.933

Works on the latest skype! – Sparrowcide – 2017-12-19T08:22:05.330

@t.mikael.d I know it's not ideal to run Skype as root. Do you have another solution that works on the latest skype update? – Sparrowcide – 2017-12-19T08:25:20.477

5This is the real best answer. You retain your own sound settings and can copy an paste properly with this method. Not so on the other one. – wizonesolutions – 2012-09-18T16:33:54.420

Working fine on 10.8.4. Many thanks! – Sveatoslav – 2013-06-24T16:07:54.223

12

The command line switches have changed, I found the new ones on this page. Copying the format from Matthew's excellent answer, we have the following command:

open -na /Applications/Skype.app --args --secondary --datapath="/Users/$(whoami)/Library/Application\ Support/Skype2"

Replace "Skype2" with as many numbers as you need instances of skype and go nuts.

Ian

Posted 2011-04-16T13:44:50.167

Reputation: 822

Perfect solution. Thanks for sharing. Worked great with new skype – Faisal Sarfraz – 2018-06-26T16:49:41.683

10

It's not easy. Skype actively prevents opening additional instances using open -na Skype and /Applications/Skype.app/Contents/MacOS/Skype in Terminal.

enter image description here


You need to launch a Skype instance, then go to ~/Library/Application Support/Skype, and delete the files Skype.pid. Then open Terminal and execute one of the commands above (I recommend the open one).

Remember: The Skype developers actively work toward preventing you from doing that, so some things might go terribly wrong if you do this. But, I was able to log into my account twice. No idea about anything else.

Daniel Beck

Posted 2011-04-16T13:44:50.167

Reputation: 98 421

1This hack is working good but after some time, my two Skype instances are becoming mad and use all my proc !! I need to kill them manually to avoid damaging my proc ... "Things might go terribly wrong", it actually make sense for me ;) So I have still no idea how to run 2 Skype instance 'properly' ... Some precisions, I am using Mac OS Lion & Skype 5.4.0.1771. – paco – 2011-12-05T10:01:14.087

4

I have done the following workaround to run multiple instances of Skype on facebook.

Make sure you have more than one user created on Mac, if not then you can create one now. Open Terminal.app from Applications>utilites>terminal Type the following commands.

$ su username
Password:....
bash-3.2$

Note: Replace with the name second user on you Mac Now you are logged into second user via terminal. All we need is to start Skype APP for the second user, which can be done by typing the following set of commands

bash-3.2$ cd /Applications/Skype.app/Contents/MacOS
bash-3.2$ ./Skype

To see it live you can watch video explaining this on my blog post. Hope that helps.

Sachin Khosla

Posted 2011-04-16T13:44:50.167

Reputation: 141

Welcome to Super User - We generally prefer you include details and not just links. Could you EDIT your answer to add more information from the link? – Simon Sheehan – 2011-12-19T20:36:23.053

That's done, please check :) – Sachin Khosla – 2011-12-20T06:24:43.237

2

I recommend to use Daniel Beck method.

Using sudo is asking you to run Skype as an administrator. If something happens to your Skype package like it was disassembled by some hacker, running as an administrator or super user is not a good idea. Deleting the .pid file actually works and has no problem. Skype runs by checking multiple instances by checking the .pid file under ~/Library/Application Support/Skype/Skype.pid (as the file).

Also, if you're a developer, you might be wondering why port 80 is not working, that's because Skype is using it when calling your port 80 from localhost or using your IP v4 address. Skype somehow blocks it since it's running via administrator or super user account.

The above works, though it won't allow you to run simultaneous account at the same time, same machine, same user account but that's fine, obviously.

So to make up the command, this can be done by,

  1. Click your Skype somehow in Dock or using Finder
  2. open your terminal and type, "cd ~/Library/Application Support/Skype"
  3. remove the .pid file by, "unlink Skype.pid"
  4. run, in your terminal, "open -nW '/Application/Skype.app' &"

using the command "/Application/Skype.app/Contents/MacOS/Skype &" works too but if you close your terminal, the Skype too will exist, as the session will be hold by the current session of your terminal. So using "open" command is perfect.

toytoy

Posted 2011-04-16T13:44:50.167

Reputation: 121

1

Matthew Scharley provided the best answer. With his method, you keep the same account but separated settings for the 2 accounts, so auto-login will work fine. This is not the case with the .pid file delete method.

If you're using the terminal, the following 2 aliases will help you start the 2 skype instances in any order:

alias skype='open -n "/Applications/Skype.app"'
alias skype2='open -na "/Applications/Skype.app" --args -DataPath /Users/$(whoami)/Library/Application\ Support/Skype2'

You can also create 2 automator scripts if you want to start these commands from spotlight.

jaguarondi

Posted 2011-04-16T13:44:50.167

Reputation: 11

0

Since the latest Skype update (8.12.0.14) I had to merge 3 steps from others users to work (I don't know if is the best solution because the steps are kind of tricky (special the last one) but...it is working. If you have/know a better solution please say)

  1. Create Application from Script Editor (steps Daniel Mettler) but you must change the content to the command line above (from ZaaiM)

do shell script "sudo /Applications/Skype.app/Contents/MacOS/Skype /secondary"

(also you can close the script application after skype launch)

tell application "Application_Script_Editor_Name"

quit

end tell

  1. To remove the error "sudo: no tty present and no askpass program specified' error?", you must grant the user to use the application without prompting for the password (from nicdaniau)

sudo visudo

(add at the end but replace "add_your_username")

"add_your_username" ALL = NOPASSWD: /Applications/Skype.app/Contents/MacOS/Skype /secondary

  1. (Optional) Add as Startup Item

System Preferences > User & Groups > Login Items tab > + (plus) button

silvaric

Posted 2011-04-16T13:44:50.167

Reputation: 101

0

I'm currently using a slight variation of the accepted answer (on Mac):

open -na Skype --args --secondary --datapath="/Users/$(whoami)/Library/Application Support/Microsoft/Skype for Desktop/Profile1"

Source: https://answers.microsoft.com/en-us/skype/forum/skype_windesk-skype_startms-skype_signms/how-can-i-run-multiple-skype-812014-accounts-at/c64540e4-20b5-4a78-a039-fd8ab2c59624

deblike

Posted 2011-04-16T13:44:50.167

Reputation: 1

And what happens after you use that variation, does it work? Also, this question has no accepted answer, so which answer is it? – Pierre.Vriens – 2018-09-17T16:27:18.037

Yes, it does work very well. I'm currently using my personal Skype account and this second work only Skype account with this method. Also, you're right, there's no accepted answer but it should (at least at the time it was written), I'm referring to #48 by Matthew Scharley. – deblike – 2018-09-19T16:08:45.897

0

I use this command:

skype --dbpath=~/.Skype-other/

This works for me on linux; I assume the option is also available on OS X.

daniel kullmann

Posted 2011-04-16T13:44:50.167

Reputation: 585

0

Now there is a new way:

  1. Install FluidApp (search for it your self)
  2. (Optional) Get a license from FluidApp if you want to run more than one fluid Skype Apps
  3. Create a fluid app
  4. Open the newly created Skype@YourOrg app
  5. (if you did 2) Preferences → Securities → Cookie Storage → Separate from Safari. This will allow you to create Skype@OtherOrg fluid apps.
  6. Login to Skype, now you can start to chat
  7. If you want A/V conference, flow the instruction install Skype for Web plugin

Miao ZhiCheng

Posted 2011-04-16T13:44:50.167

Reputation: 101

This is not going to help what OP is trying to do – pun – 2015-10-12T18:36:06.423

But it achieves the same thing with better security. – Miao ZhiCheng – 2015-10-12T21:51:24.930

-2

use https://web.skype.com/ - the easiest way as for me

beebop

Posted 2011-04-16T13:44:50.167

Reputation: 1

2We know web.skype is the web version on Skype but can you please specify more about that approach (say it's cross-platform, etc)? – CaldeiraG – 2019-05-09T10:56:12.247