On Feb 14, 2007, at 8:14 pm, Norman Palardy wrote:

I built a console app and it runs on my local machine just fine

I copy it to an XServe, ssh to the XServe and run it under my user account and I get an odd message saying

kCGErrorRangeCheck : Window Server communications from outside of session allowed for root and console user only INIT_Processeses(), could not establish the default connection to the WindowServer.Abort trap

This is a console app that tries to connect to a database and if I comment out the connection to the database the message goes away but the app is useless

so I do

        sh-2.05b# sudo sh
        Password:
        sh-2.05b# whoami
        root
        sh-2.05b#

Now when I run it nothing appears to happen.
There a

        print "do stuff"

right at the beginning of the code that never shows up

WTF is going on here ?
Is OS X server THAT different from plain old OS X ?
Is there some way I can make this work ?


Is there a way for you to actually go to the machine and run your app from the terminal? To me this looks like the error indicates that the ssh connection thinks you are trying to connect to the Window handling framework (or at least the RB framework is).

Also, have you tried making a script which calls your app? I actually don't expect it to work, but I've seen strange behaviors like this under OS X Server (but as soon as apple reads this, a patch will probably come out ;) )

Greg
_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>

Search the archives:
<http://support.realsoftware.com/listarchives/lists.html>

Reply via email to