Re: "connection to ":1.0" refused by server
Re: "connection to ":1.0" refused by server
- Subject: Re: "connection to ":1.0" refused by server
- From: Jeremy Huddleston <email@hidden>
- Date: Thu, 25 Sep 2008 12:20:23 -0700
You shouldn't be connecting to :0 or :1. Your DISPLAY variable should
be to a launchd socket. I'm guessing you are setting DISPLAY in your
~/.profile or ~/.bashrc. Remove that, and you should be good.
This answer is in the list FAQ on xquartz.macosforge.org, so you might
look there (click on mailing lists) for specifics if the above was not
helpful enough.
--Jeremy
On Sep 25, 2008, at 10:07, Ronald Cohen wrote:
I'm having a problem which I occasionally had under Tiger which
seems to be much worse on Leopard. On my laptop (Macbook Pro), when
I have been running X11 at one physical location and move my Mac to
another network (from one where the address is assigned by DHCP, to
one where I have a fixed IP address, or vice versa), I frequently
find that I cannot launch new X applications; I get messages like:
Xlib: connection to "1.0" refused by sever
Xlib: No protocol specified
X server not responding
It used to be that if I disconnected the network cable I could then
open up an xwindow, and then once the cable was reconnected all was
well -- as if the X server figured out who I was while the cable is
disconnected. NOW I can still get an xwindow to open up with the
cable disconnected, but when I reconnect the cable, the problem
(some of the time) returns.
It seems I can always fix things by shutting down X11 and
restarting, but that is something I don't want to do if I am in the
midst of a project.
Is there a fix for this? Maybe some shell script that fixes
ownership of the X11 server process?
Also -- what is the best place to search for answers to questions
like this? Searching xquartz.macosforge.org seems to be too small a
universe, and a general Google search seems to be too broad.
Thanks,
Ron Cohen
_______________________________________________
Do not post admin requests to the list. They will be ignored.
X11-users mailing list (email@hidden)
This email sent to email@hidden
Attachment:
smime.p7s
Description: S/MIME cryptographic signature
_______________________________________________
Do not post admin requests to the list. They will be ignored.
X11-users mailing list (email@hidden)
This email sent to email@hidden