Welcome to the Second Life Forums Archive

These forums are CLOSED. Please visit the new forums HERE

Multiple Viewers

Todd6209 Kawashima
Registered User
Join date: 2 Oct 2007
Posts: 1
03-12-2008 16:44
This may have been addressed before, but how do you set a Mac for multiple vierwers?

I have a PC but a friend wants to do this so she can camp while doing other things.
Aeval Okelly
Registered User
Join date: 13 Feb 2008
Posts: 73
03-12-2008 17:33
go to the terminal window and type in

/Applications/Second\ Life.app/Contents/MacOS/Second\ Life -multiple

or put it in a text file and chmod the permissions to 755 then start it in the terminal like ./YOURFILENAME

hope that helps ;)

With UNIX anything is possible SMOOCH
Aeval Okelly
Registered User
Join date: 13 Feb 2008
Posts: 73
03-12-2008 17:34
Oh one note, you can't open one account on two different computers though. You can't do this on a pc, can you?
Boreal Latte
Registered User
Join date: 15 Nov 2007
Posts: 104
03-13-2008 23:19
From: Aeval Okelly
go to the terminal window and type in

/Applications/Second\ Life.app/Contents/MacOS/Second\ Life -multiple

or put it in a text file and chmod the permissions to 755 then start it in the terminal like ./YOURFILENAME

hope that helps ;)

With UNIX anything is possible SMOOCH

Hmm, I am not certain what SMOOCH means, but this is my result of doing it:

'2008-03-14T06:08:21Z WARNING: parseXml: Bone without position
2008-03-14T06:08:21Z WARNING: parseXml: Error parsing bone in skeleton file
2008-03-14T06:08:21Z newview/llvoavatar.cpp(1417) : error
2008-03-14T06:08:21Z ERROR: initClass: Error parsing skeleton XML file: /Applications/Second Life.app/Contents/Resources/character/avatar_skeleton.xml
LogLock::LogLock: failed to get mutex for log
LogLock::LogLock: failed to get mutex for log
LogLock::LogLock: failed to get mutex for log
LogLock::LogLock: failed to get mutex for log
LogLock::LogLock: failed to get mutex for log
LogLock::LogLock: failed to get mutex for log
Bus error'
:-(

I would really like to get the -multiple to work. I used to work in an earlier version.
(The one crashing is the 1.19.0.(5) release, but I get the same error on the latest release candidate - exactly)

At some point someone released a small applescript what worked for a while, but it too breaks for now.

Also it has been suggested to edit the "arguments.txt" file in the resources of the app, but that too does not work.

My Mac is a MacBook Pro, 10.5.2, fully "Software updated" as per 13mar2008.

Any help?
Usagi Musashi
UM ™®
Join date: 24 Oct 2004
Posts: 6,083
Here you go
03-14-2008 00:45
On Mac:
1.)Open Script Editor
1.1)Open the Applications folder
1.2)Open the AppleScript folder
1.3)Double-click the Script Editor icon
2.)Paste the following bit of code into the editor:

tell application "Terminal"
do script "nohup \"/Applications/Second Life.app/Contents/MacOS/Second Life\" -multiple &"delay 1
quit
end tell

3.)Save as "Second Life - Multiple", choose your Applications folder. The File Format should be "application" and for the Options, you should have "Run Only" checked and not the others.
A Second Life - Multiple icon will now be available within your Applications folder. Run it as many times as you like for a new instance of Second Life.



Further ideas for using command line options

You can see a comprehensive listing of these client parameters. Following similar steps to the above, at your own discretion, try different options, substituting or adding to -multiple with something else. For example, if you want to hide the Library folder in your Inventory, use -noinvlib.
Boreal Latte
Registered User
Join date: 15 Nov 2007
Posts: 104
:-(
03-14-2008 01:51
Making it a script does not help.
The error I described happens even without "-multiple". It happens after I have my log in verified, but before I am fully logged in. Anybody know what log file it cannot lock?
Any ideas?

Running the SL viewer by "clicking it from the finder" works just fine.
Haravikk Mistral
Registered User
Join date: 8 Oct 2005
Posts: 2,482
03-14-2008 03:46
From: Usagi Musashi
tell application "Terminal"
do script "nohup \"/Applications/Second Life.app/Contents/MacOS/Second Life\" -multiple" & delay 1
quit
end tell


Are you sure that this script is correct? For me it quits Second Life after starting the log-in process. Removing the nohup command gives a huge output, but I can't figure out what the error is or why it's occurring within the script and not during normal operation.
_____________________
Computer (Mac Pro):
2 x Quad Core 3.2ghz Xeon
10gb DDR2 800mhz FB-DIMMS
4 x 750gb, 32mb cache hard-drives (RAID-0/striped)
NVidia GeForce 8800GT (512mb)
Usagi Musashi
UM ™®
Join date: 24 Oct 2004
Posts: 6,083
03-14-2008 07:37
This is taken directly from LLABS data base..................It wasnt made up by me.

read it for yourself

https://support.secondlife.com/ics/support/security.asp
Boreal Latte
Registered User
Join date: 15 Nov 2007
Posts: 104
;-((
03-14-2008 08:04
From: Usagi Musashi
This is taken directly from LLABS data base..................It wasnt made up by me.

read it for yourself

https://support.secondlife.com/ics/support/security.asp

Yes, as I said, this script used to work for me too, but now it no longer works.

Usagi: Does this script work for you, and what OS and Viewer are you using?
Usagi Musashi
UM ™®
Join date: 24 Oct 2004
Posts: 6,083
03-14-2008 09:14
From: Boreal Latte
Yes, as I said, this script used to work for me too, but now it no longer works.

Usagi: Does this script work for you, and what OS and Viewer are you using?


I am sorry I am not using apple..........If your having concerns please file a support ticket.........I am sorry I confused you. I was just trying to help you gather information about it........Support will help you if there indeed is a problems with the script not working now.


How all goes well for you

Usagi :)
Missy Malaprop
♥Diaper Girl♥
Join date: 28 Oct 2005
Posts: 544
03-14-2008 15:38
wow, isn't that the hard way to do it? you can do it easy without using terminal at all.

Right click on the SL app file, and hit show package contents. Go to Contents -> Resources and edit the arguments.txt file. Depending on what version of SL your running different things might be in there, if there is just add on a -multiple on the end... if nothings there just type -multiple on the first line.... save the file and just normal double clicking the app will always call for multiple.... should be able to re-double click the same app file again for it to run another instance.
Haravikk Mistral
Registered User
Join date: 8 Oct 2005
Posts: 2,482
03-15-2008 04:49
From: Missy Malaprop
Right click on the SL app file, and hit show package contents. Go to Contents -> Resources and edit the arguments.txt file. Depending on what version of SL your running different things might be in there, if there is just add on a -multiple on the end... if nothings there just type -multiple on the first line.... save the file and just normal double clicking the app will always call for multiple.... should be able to re-double click the same app file again for it to run another instance.

The problem with that method is that if you update SL you have to do it again every time as the arguments.txt files isn't retained during an update. If you use a script then it won't be affected so long as SL's command-line arguments don't change.
_____________________
Computer (Mac Pro):
2 x Quad Core 3.2ghz Xeon
10gb DDR2 800mhz FB-DIMMS
4 x 750gb, 32mb cache hard-drives (RAID-0/striped)
NVidia GeForce 8800GT (512mb)
Boreal Latte
Registered User
Join date: 15 Nov 2007
Posts: 104
Hmm, this works for me
03-15-2008 05:19
Thanks for all the advice. The status is the following:
a) Calling second life (candidate as well as regular) using commandline results in a bus error.
b) Using the apple script has no effect, only one viewer shows up
c) editing the arguments.txt file has no effect

However, editing the arguments.txt file, and making two copies of the "second life.app" works.

so, edit the arguments.txt file as mentioned, and then clone the app.

Software used: SL release 1.19.0(5)
Mac OS 10.5.2
Macbook Pro

/Boreal
Boreal Latte
Registered User
Join date: 15 Nov 2007
Posts: 104
Hmm, this works for me
03-15-2008 05:30
Thanks for all the advice. The status is the following:
a) Calling second life (candidate as well as regular) using commandline results in a bus error.
b) Using the apple script has no effect, only one viewer shows up
c) editing the arguments.txt file has no effect

However, editing the arguments.txt file, and making two copies of the "second life.app" works.

so, edit the arguments.txt file as mentioned, and then clone the app.

Software used: SL release 1.19.0(5)
Mac OS 10.5.2
Macbook Pro

/Boreal
Haravikk Mistral
Registered User
Join date: 8 Oct 2005
Posts: 2,482
03-25-2008 14:43
I've refined the apple-script a bit, here is the finished result:

CODE
do shell script "\"/Applications/Second Life.app/Contents/MacOS/Second Life\" -multiple -login <first-name> <last-name> <password>"


Just open Script Editor in the Applescript folder within Applications, paste the above text into it, change <first-name>, <last-name>, and <password> as appropriate, and save as an application somewhere. Set it to run-only if you're paranoid about someone opening it up and looking at your password.

However, I'd like to note that this method of logging in fails if the SL terms of service change, or a new viewer version becomes available, for some reason under these circumstances the viewer just closes without warning while attempting to log you in.

I've posted a JIRA about this if you want to vote on it as it can be annoying when it does happen:
http://jira.secondlife.com/browse/VWR-5835
_____________________
Computer (Mac Pro):
2 x Quad Core 3.2ghz Xeon
10gb DDR2 800mhz FB-DIMMS
4 x 750gb, 32mb cache hard-drives (RAID-0/striped)
NVidia GeForce 8800GT (512mb)
Boreal Latte
Registered User
Join date: 15 Nov 2007
Posts: 104
So Sorry Haravikk
03-26-2008 12:23
You new script proposal fails in the same way as earlier (my post of 14 mar 2008 in this thread). My strategy of cloning the Second Life app is crude, but survived the change in terms of conditions you are talking about.

Do not misunderstand me, I really would prefer something alike to your script to copying the whole app.
Priscilla Pennington
Registered User
Join date: 26 Mar 2008
Posts: 1
Hi Everyone I just tried this
03-26-2008 22:34
I've been having this prob with my new macbook pro too. But after doing what Missy suggested and what is suggested in the wiki:
Right click on the SL app file, and hit show package contents. Go to Contents -> Resources and edit the arguments.txt file. Depending on what version of SL your running different things might be in there, if there is just add on a -multiple on the end... if nothings there just type -multiple on the first line.... save the file and just normal double clicking the app will always call for multiple.... should be able to re-double click the same app file again for it to run another instance.

it still didnt work :(

BUT the I went:
1. Right click on Sl / open package contents
2. OPened Contents Folder
3.opened MAC OSX Folder
4. Ran the Second Life exe

and presto I have two windows running.

Hope this helps
LadyMuse Gray
Registered User
Join date: 15 Oct 2006
Posts: 14
07-21-2008 01:27
All I did was copy the program and left it with the copy at the end and run two that way, its stable as far as SL goes in general .. don't must it much .. mostly to test stuff I'm putting up for sale, etc t make sure no bugs are there.
Missy Malaprop
♥Diaper Girl♥
Join date: 28 Oct 2005
Posts: 544
08-17-2008 14:25
I messed with this the other day after a discussion in the mac users group in SL....

You dont need to make a copy of SL, you can either do it all command line with -multiple, or add -multiple int he arguments.txt file, and launch a second version from the actual Second Life executable within the .app file ... just double clicking the .app wont work. I found the easiest way is just to make an alias to it and put it by the .app
Haravikk Mistral
Registered User
Join date: 8 Oct 2005
Posts: 2,482
08-18-2008 03:52
I still say an Applescript is the way to go, I've added instructions for it to the client-parameters page on the SL wiki:
https://wiki.secondlife.com/wiki/Client_parameters

I have two, one for each of my accounts, and just double-click the one I want (or both) to launch a copy of SL for each one. I can download updates without having to change the arguments.txt files, and I only need one copy of SL.
_____________________
Computer (Mac Pro):
2 x Quad Core 3.2ghz Xeon
10gb DDR2 800mhz FB-DIMMS
4 x 750gb, 32mb cache hard-drives (RAID-0/striped)
NVidia GeForce 8800GT (512mb)
Stormy Pixelmaid
Registered User
Join date: 13 Apr 2009
Posts: 70
Yay!!!
04-28-2009 19:52
From: Boreal Latte
Thanks for all the advice. The status is the following:
a) Calling second life (candidate as well as regular) using commandline results in a bus error.
b) Using the apple script has no effect, only one viewer shows up
c) editing the arguments.txt file has no effect

However, editing the arguments.txt file, and making two copies of the "second life.app" works.

so, edit the arguments.txt file as mentioned, and then clone the app.

Software used: SL release 1.19.0(5)
Mac OS 10.5.2
Macbook Pro

/Boreal

Yes!!! This works.

Stormy
IMac, OS X 10.5.6
buckwheat Unplugged
Registered User
Join date: 15 Jan 2009
Posts: 1
Dates are confusing
04-28-2009 22:48
It says, and I quote, that I last visited this forum on 12-31-1969 that isn't right.

one of the posters here says they are using Mac 10.5.3. As far as I know it didn't exist in 2008.

I just bought this imac last Friday. Is there up to date info?
Tori Liebling
Registered User
Join date: 13 Jul 2008
Posts: 30
05-06-2009 11:39
all i did was went into sl, opened the debug menu and set "allowmultipleviewer" to true.
exited, started the second client (the RC in my case) and did the same.
now i can open both rc and standard viewers