Re: DISPLAY and using Perl's ptkdb to debug remote scripts
Re: DISPLAY and using Perl's ptkdb to debug remote scripts
- Subject: Re: DISPLAY and using Perl's ptkdb to debug remote scripts
- From: <email@hidden>
- Date: Tue, 27 Oct 2009 16:00:39 -0600
On Tue, 27 Oct 2009 14:42:44 -0700, Jeremy Huddleston <email@hidden>
> There are quite a few messages on this list (or maybe xquartz-dev)
> about this, but most of them are from early 2008. One issue is that
> your perl module doesn't understand the launchd style DISPLAY
> environment variable, so you won't be able to connect to the launchd
> DISPLAY from your perl script
>
> That being said, your perl script is remote, and you're not connecting
> to the launchd socket. You're trying to connect via TCP/IP. This
> issue has nothing to do with the launchd socket. You can either:
>
> 1) Relax your security settings in X11's preferences to allow this
> connection (not so good)
> 2) Use ssh and don't manually set DISPLAY
>
> Check out the list FAQ for more info on #2:
>
http://xquartz.macosforge.org/trac/wiki/X11-UsersFAQ#sshXforwardingdebugging
Thanks Jeremy. I already have the X11 preferences set to Allow connections
from network clients. But I hadn't turned off the Authenticate connections
preference.
Using ssh to connect isn't an option; I have to use the web browser to
connect to a form on the remote machine which then starts up the script so
I can work through the various input options.
Rich
_______________________________________________
Do not post admin requests to the list. They will be ignored.
X11-users mailing list (email@hidden)
This email sent to email@hidden