Re: [rt.cpan.org #40841] Bug: OS X 10.5.5 (Leopard) launchd DISPLAY format
Re: [rt.cpan.org #40841] Bug: OS X 10.5.5 (Leopard) launchd DISPLAY format
- Subject: Re: [rt.cpan.org #40841] Bug: OS X 10.5.5 (Leopard) launchd DISPLAY format
- From: Nathan <email@hidden>
- Date: Mon, 17 Nov 2008 16:36:29 -0700
Piotr, I added your email to the bug. Thanks!
http://rt.cpan.org/Public/Bug/Display.html?id=40841
On Mon, Nov 17, 2008 at 11:05 AM, Piotr Grzybowski <email@hidden> wrote:
> ehlo,
>
> just wondering, since the ''new format'' of the DISPLAY variable
> points to the socket in unix domain (right?), all you have to do is to
> make a link to it, and point the DISPLAY variable, then Protocol.pm
> instead of going into:
>
> 2269 require 'X11/Protocol/Connection/INETSocket.pm';
> 2270 $conn = X11::Protocol::Connection::INETSocket
> 2271 ->open($host, $dispnum);
>
> will stop the interpreter with error ;-)) earlier:
>
> 2262 if ($host eq 'unix') {
> 2263 require 'X11/Protocol/Connection/UNIXSocket.pm';
> 2264 $conn = X11::Protocol::Connection::UNIXSocket
> 2265 ->open($host, $dispnum);
>
> now we only need to know where are the unix domain sockets..
> Also, I guess that changing Protocol.pm:2262 to
>
> 2262 if ($host eq 'unix' || $host=~/\/tmp\//) {
>
> or something like this (it's been a while since i did perl)
> should do the trick..
>
> yours,
> pg
_______________________________________________
Do not post admin requests to the list. They will be ignored.
X11-users mailing list (email@hidden)
This email sent to email@hidden