09-15-2009, 02:41 PM #1
tcl scripts in leopard do not function remotely
- Member Since
- Sep 15, 2009
We have tcl scripts that we run remotely via ssh. These scripts run great between tiger to tiger macs and tiger to leopard macs but not between leopard 10.5.? macs. If you are running leopard and ssh into another mac running leopard with, ssh -X user@mac and then type xcalc, xclock, or xeyes, all display fine. However if I try to run my tcl script which again I repeat ran fine on previous mac operating systems, I get the following error:
_RegisterApplication(), FAILED TO establish the default connection to the WindowServer, _CGSDefaultConnection() is NULL.
couldn't allocate new Mac window
/usr/bin/wish: line 2: 87765 Abort trap "$(dirname $0)/../../System/Library/Frameworks/Tk.framework/Versions/8.4/Resources/Wish Shell.app/Contents/MacOS/Wish Shell" "$@"
I don't know why it is trying to connect to a window server as the mac is not configured to connect to a window server.
Any help would be greatly appreciated. Thanks.
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)
By schwine1 in forum OS X - Apps and GamesReplies: 1Last Post: 04-02-2010, 03:17 AM
By wpbdude in forum OS X - Operating SystemReplies: 11Last Post: 03-04-2010, 05:28 AM
By Shadylady in forum Other Hardware and PeripheralsReplies: 6Last Post: 01-12-2010, 02:29 PM
By T-Town in forum OS X - Apps and GamesReplies: 2Last Post: 12-04-2009, 11:28 AM
By mscoxoh in forum OS X - Development and DarwinReplies: 4Last Post: 05-10-2008, 02:56 PM