I just tried to launch an application as root with
but it doesn't work anymore. It used to work because I had scripted my own workflow in Yosemite, and now in El Capitan it stopped working somewhere along the update line (currently on 10.11.6). In the Console I get the following:
26/08/16 13:44:04,508 sudo: USER : TTY=ttys000 ; PWD=/Users/USER ; USER=root ; COMMAND=/Applications/Calculator.app/Contents/MacOS/Calculator
26/08/16 13:44:04,521 secinitd: com.apple.secinitd.connection-from.3207: registration request failed: (0x13, 0xd) Incoming message euid does not match xpcd uid (0 != 501).
I tried to do it with the 3rd-party XtraFinder "Launch as Root" function, but that doesn't work either.
SIP is completely disabled; root user is enabled; trying this in my admin space (501).
Does anyone else have the same problem? What could be the reason? Thanks for your help.