Hello all,
I was just looking thru the commandline switch options and noticed that the -rt switch "needs root privledges". Well, if this is true, I did try a couple of examples (from Adam Lindsay, in conjunction with Paradiddle) that used the -rt switch, but it did not ask me for a password.
Does this just ignore the -rt switch? Or is it that because my user is the main (and only) user, does it automatically get root access? I am currently running my Mac with a "rootless" system (no password for root), and all the times I have entered a password for root, I end up entering my user password in its place. Do I need to "enable" my root user (give it a password) and run PD as root to get the best realtime performance?
Or, is the -rt switch even implemented on Mac OS X?
Thanks,
Mike
did you try:
sudo ./pd -rt
cgc
ps you get the Chicago Max Group mail?
Hello all,
I was just looking thru the commandline switch options and noticed that the -rt switch "needs root privledges". Well, if this is true, I did try a couple of examples (from Adam Lindsay, in conjunction with Paradiddle) that used the -rt switch, but it did not ask me for a password.
Does this just ignore the -rt switch? Or is it that because my user is the main (and only) user, does it automatically get root access? I am currently running my Mac with a "rootless" system (no password for root), and all the times I have entered a password for root, I end up entering my user password in its place. Do I need to "enable" my root user (give it a password) and run PD as root to get the best realtime performance?
Or, is the -rt switch even implemented on Mac OS X?
Thanks,
Mike
PD-list mailing list PD-list@iem.kug.ac.at http://iem.kug.ac.at/cgi-bin/mailman/listinfo/pd-list
ps you get the Chicago Max Group mail?
I should pay more attention to where these mails are going.
Here's an announcement for the next Chicago Max group, which despite it's name actually caters to all things concerning Max/MSP, jMax and Pd.
Monday, Feb 3rd at splinter group Audio Studio 450 North Leavitt St. - south of Grand and between Western and Damen Chicago IL
7:30pm - 9:30pm
There will be a presentation on OSX and all the fun toys like Pd/GEM, SuperCollider, etc
cgc
I believe Michael McGonagle said this around Tue, 28 Jan 2003:
Does this just ignore the -rt switch? Or is it that because my user is the main (and only) user, does it automatically get root access? I am currently running my Mac with a "rootless" system (no password for root), and all the times I have entered a password for root, I end up entering my user password in its place. Do I need to "enable" my root user (give it a password) and run PD as root to get the best realtime performance?
Hi Mike,
If you request -rt and it fails, Pd complains.
Or, is the -rt switch even implemented on Mac OS X?
I suspect Miller implemented it on the Mac to overcome some performance issues.
Better unix hackers can explain why this is so, but the pd executable is owned by root, and it has the 4000 bit set, "set-user-ID-on-execution." (See 'man chmod' for more info.) That's what enables the -rt setting.
Although you can't log on as root from the login screen (i.e. root doesn't have a password), the "root" user indeed is present on your MacOSX system. No more mucking about needed there.
And my installers set the proper permissions to enable the -rt switch as part of their postinstall script. So nothing needed there, either.
Cheers, adam
Adam Lindsay +44(0)1524 594 537 atl@comp.lancs.ac.uk http://www.comp.lancs.ac.uk/computing/users/atl/ -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
Adam Lindsay wrote:
Hi Mike,
If you request -rt and it fails, Pd complains.
Hi Adam and Chris,
When I run pd with (and without) -rt I get it running under my user and not root. Not that I have tried any "intense" things yet, but I did not notice any sputtering either (I have noticed some without -rt) when running the Paradiddle examples...
I did try Chris' suggestion of running with 'sudo', and it does run as root. I checked these things by looking at the user for each process as listed under 'ps -alx'.
Thanks,
Mike
I was just looking thru the commandline switch options and noticed that the -rt switch "needs root privledges". Well, if this is true, I did try a couple of examples (from Adam Lindsay, in conjunction with Paradiddle) that used the -rt switch, but it did not ask me for a password.
Well, it's just guessing, but doesn't the default user under OSX have root privileges anyhow (even if she/he is not "root")?
T
lol that's funny.. i think there's an 'enable root' [or similar] function that mac kindly supplies.. then from there you can change the privedges available to you as <user> from the term, which i would seriously advise doing.. in this way you won't accidently *totally destroy* your system during day-to-day operations as <user>. eg with a typo like 'rm -fr /' [don't try that] . .
apple are a weird bunch ;)
julian oliver
On Wed, 29 Jan 2003 10:26:59 +0100 "Thomas Grill" t.grill@gmx.net wrote:
//> I was just looking thru the commandline switch options and noticed that //> the -rt switch "needs root privledges". Well, if this is true, I did try //> a couple of examples (from Adam Lindsay, in conjunction with Paradiddle) //> that used the -rt switch, but it did not ask me for a password. // //Well, it's just guessing, but doesn't the default user under OSX have root //privileges anyhow (even if she/he is not "root")? // //T // // //_______________________________________________ //PD-list mailing list //PD-list@iem.kug.ac.at //http://iem.kug.ac.at/cgi-bin/mailman/listinfo/pd-list // //