FROM : Mitchell Hashimoto
DATE : Tue Jan 29 07:20:26 2008
Really? I am basing a lot of my code off of this program called "The Cheat" at:
http://brokenzipper.com/software/
When I run that app as root it all works fine... and all its logic is
right into the GUI app.
What do you mean I can't access the window server?
Mitch
On Jan 28, 2008 11:17 PM, Kyle Sluder <kyle.sluder+<email_removed>> wrote:
> On Jan 29, 2008 1:03 AM, Mitchell Hashimoto <<email_removed>> wrote:
> > But I actually want to launch the same
> > program with root access, is there a special way to do this? As far as
> > I know I can't launch two instances of my same program so how would I
> > go about doing this?
>
> You're going to run into one fundamental problem very quickly: apps
> running as root cannot access the window server on 10.5. You're going
> to have to factor out the payload logic into a separate non-GUI tool
> and use some sort of IPC technique to communicate between the two
> modules.
>
> Sorry that this just got a lot more complicated.
>
> --Kyle Sluder
>
DATE : Tue Jan 29 07:20:26 2008
Really? I am basing a lot of my code off of this program called "The Cheat" at:
http://brokenzipper.com/software/
When I run that app as root it all works fine... and all its logic is
right into the GUI app.
What do you mean I can't access the window server?
Mitch
On Jan 28, 2008 11:17 PM, Kyle Sluder <kyle.sluder+<email_removed>> wrote:
> On Jan 29, 2008 1:03 AM, Mitchell Hashimoto <<email_removed>> wrote:
> > But I actually want to launch the same
> > program with root access, is there a special way to do this? As far as
> > I know I can't launch two instances of my same program so how would I
> > go about doing this?
>
> You're going to run into one fundamental problem very quickly: apps
> running as root cannot access the window server on 10.5. You're going
> to have to factor out the payload logic into a separate non-GUI tool
> and use some sort of IPC technique to communicate between the two
> modules.
>
> Sorry that this just got a lot more complicated.
>
> --Kyle Sluder
>
| Related mails | Author | Date |
|---|---|---|
| Mitchell Hashimoto | Jan 28, 18:17 | |
| Hamish Allan | Jan 28, 18:21 | |
| Nir Soffer | Jan 28, 22:48 | |
| Kyle Sluder | Jan 28, 22:55 | |
| Bill Bumgarner | Jan 28, 23:01 | |
| Mitchell Hashimoto | Jan 29, 06:07 | |
| Kyle Sluder | Jan 29, 06:59 | |
| Mitchell Hashimoto | Jan 29, 07:03 | |
| Kyle Sluder | Jan 29, 07:17 | |
| Mitchell Hashimoto | Jan 29, 07:20 | |
| Kyle Sluder | Jan 29, 07:27 | |
| Mitchell Hashimoto | Jan 29, 07:39 | |
| Chris Suter | Jan 29, 07:54 | |
| Torsten Curdt | Jan 29, 09:21 |






Cocoa mail archive

