Stata The Stata listserver
[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]

st: running Stata remotely on OS X


From   Phil Schumm <pschumm@uchicago.edu>
To   statalist@hsphsun2.harvard.edu
Subject   st: running Stata remotely on OS X
Date   Fri, 22 Oct 2004 12:29:18 -0500

Has anyone had any luck running Stata remotely under OS X? I am trying to do so on a machine running 10.2.8 (tcsh shell):

[remotebox:~] pschumm% echo $REMOTEHOST
localbox.bsd.uchicago.edu
[remotebox:~] pschumm% /Applications/Stata/StataSE.app/Contents/MacOS/StataSE -e do foobar.do
kCGErrorIllegalArgument : initCGDisplayState: cannot map display interlocks.
kCGErrorIllegalArgument : CGSNewConnection cannot get connection port
kCGErrorInvalidConnection : CGSExtractEventRecordsFromMessage: Invalid connection
kCGErrorIllegalArgument : CGSNewConnection cannot get connection port
kCGErrorInvalidConnection : CGSSetRegisteredCursor: Invalid connection
kCGErrorIllegalArgument : CGSGetDisplayBounds (display 0)
kCGErrorIllegalArgument : CGSNewConnection cannot get connection port
kCGErrorIllegalArgument : CGSNewConnection cannot get connection port
INIT_Processeses(), could not establish the default connection to the WindowServer.Abort

As you can see, I have my REMOTEHOST environment variable set; my understanding was that Stata would look for this and, if it found it, not attempt to invoke the status indicator in the dock, menu bar, etc. It would seem that this is what is causing Stata to crash. I have also tried this under bash, and get the same problem.

I'd be interested to know if someone has done this successfully, and if so, if he or she had to do something special to get it to work. If not, I must be doing something wrong on my end and I'll keep trying.


-- Phil
*
* For searches and help try:
* http://www.stata.com/support/faqs/res/findit.html
* http://www.stata.com/support/statalist/faq
* http://www.ats.ucla.edu/stat/stata/




© Copyright 1996–2014 StataCorp LP   |   Terms of use   |   Privacy   |   Contact us   |   What's new   |   Site index