[Python-bugs-list] [ python-Bugs-474919 ] 2.2b1 cannot start remotely (ssh)

noreply@sourceforge.net noreply@sourceforge.net
Fri, 16 Nov 2001 15:25:07 -0800


Bugs item #474919, was opened at 2001-10-25 08:52
You can respond by visiting: 
http://sourceforge.net/tracker/?func=detail&atid=105470&aid=474919&group_id=5470

Category: Macintosh
Group: Python 2.2
Status: Closed
Resolution: Duplicate
Priority: 5
Submitted By: Greg Welch (gregwelch)
Assigned to: Jack Jansen (jackjansen)
Summary: 2.2b1 cannot start remotely (ssh)

Initial Comment:
Seems possibly related to #466907

This does not seem to occur with 2.2a4, but does 
with 2.2b1.

I tried this on three different Macs, each/all OS X 
10.1 (relatively clean installs) with the 10-19-2001 
security (and MS IE) patch. All are G4 machines w/ 
lots of memory.

2.2b1seems to build (configure --with-suffix=.exe), 
install, and run just fine on all machines when 
working from a local terminal window. However I 
see strange behavior when trying to run remotely.

1. If I connect to one of the machines remotely 
using ssh (e.g. ssh to my dual G4, which is faster 
than my home machine) and try and start python, I 
see the following errors:

	[mac-welch:~/proj/python] welch% python
	kCGErrorIllegalArgument : CGSNewConnection 
cannot get connection port
	kCGErrorIllegalArgument : CGSNewConnection 
cannot get connection port
	kCGErrorInvalidConnection : CGSGetEventPort: 
Invalid connection
	[mac-welch:~/proj/python] welch%

2. If I su to root in the same remote session, 
python starts just fine!

If I revert to 2.2a4 it seems to work fine.

Thanks (in advance) folks.


----------------------------------------------------------------------

Comment By: Nobody/Anonymous (nobody)
Date: 2001-11-16 15:25

Message:
Logged In: NO 

I have not tried logging in remotely but it seems that the 
same error comes up when using python through CGI.

The circumstances are the same python runs fine 
when executed via the terminal but if i try to use it via cgi 
the following error messages come up on the console 

Nov 17 00:18:52 localhost WindowServer[67]: 
_CGXNewConnectionPort: Unauthorized user

Nov 17 00:18:52 localhost python2.2.exe: 
kCGErrorIllegalArgument : CGSNewConnection cannot 
get connection port

Nov 17 00:18:52 localhost WindowServer[67]: 
_CGXNewConnectionPort: Unauthorized user

Nov 17 00:18:52 localhost python2.2.exe: 
kCGErrorIllegalArgument : CGSNewConnection cannot 
get connection port

Nov 17 00:18:52 localhost python2.2.exe: 
kCGErrorInvalidConnection : CGSGetEventPort: Invalid 
connection

I cannont confirm this but i think this only happened 
after updating from a clean install of 10.0.3 to 10.1 i had 
a working version of 2.2a4 on 10.0.3 and after the 
update neither nor the b1 are working as CGI scripts

----------------------------------------------------------------------

Comment By: Greg Welch (gregwelch)
Date: 2001-10-27 06:31

Message:
Logged In: YES 
user_id=324637

I was wrong - apparently this happens w/ 2.2a4 also. 
There must be some other variable/condition I am 
missing.

While perhaps a "duplicate" of #466907 (same root 
cause perhaps) running python remotely is probably 
more likely than running in console mode. I.e. perhaps 
a slightly higher priority.

----------------------------------------------------------------------

Comment By: Jack Jansen (jackjansen)
Date: 2001-10-26 05:37

Message:
Logged In: YES 
user_id=45365

This is indeed a duplicate of #466907.

----------------------------------------------------------------------

You can respond by visiting: 
http://sourceforge.net/tracker/?func=detail&atid=105470&aid=474919&group_id=5470