Odd problem with Duality

davidbrit2

Licensed Computer Geek
Here's a weird one:

Duality (the popular theme changer for OS X) seems to have a problem changing themes on my iBook. When I tell it to apply the theme or to preview it, it asks for my password (not surprisingly,) so I enter it. It then asks for it again, and again, and again... It does this when I have it set to remember my password and when I don't. Has anyone else seen this problem?
 
Yeah, I'm using the same password that I use to login as Admin and root, and to use su and sudo. It never gives me any invalid password messages even when I do enter it incorrectly, though... What does a working copy of Duality to when the wrong password is given?
 
Yep, that's what Duality has always done for me. The only way I've gotten it to work is to log completely out of the gui, and log back in as root.

Since you mention su, I'd imagine you have a defined root password, as do I. I wonder if that might be part of the problem? I've tried the passwords for both the root account and my admin user account, with the same effect.
 
I tried running it as root, too, but I did it with a 'sudo open' sort of method. Duality crashed rather ungracefully, so that's not going to fix it. I'll try logging in as root and see what happens...
 
"sudo open" will always do the same thing as "open". The open command sends an event to your current login session, asking it to open the specified thing. So sudo'ing it will very nicely send an event from root... to your current login, and it'll still run as you.

To run things as root, you need to execute the actual binary, buried in the bundle. For example:

/Applications/System\ Preferences.app/Contents/MacOS/System\ Preferences


Not that that seemed to help me with Duality itself, but just in general....
 
Yeah, I tried running the actual binary, but for some reason, Duality just started spitting out errors to the terminal. At least it works when I'm logged in as root, so it's better than nothing.
 
Back
Top