muggerid@midnight:~> emacs& [1] 480090 muggerid@midnight:~> emacs: Cannot connect to X server 16.176.234.1:0.0. Check the DISPLAY environment variable or use `-d'. Also use the `xhost' program to verify that it is set to permit connections from your machine. [1] Exit 1 emacs muggerid@midnight:~> setenv LD_LIBRARY_PATH ~/XlibDbg/ muggerid@midnight:~> emacs& [1] 480108 muggerid@midnight:~> TRANS(OpenCOTSClient) (tcp/16.176.234.1:0) TRANS(Open) (1,tcp/16.176.234.1:0) TRANS(SocketOpenCOTSClient) (tcp,16.176.234.1,0) TRANS(Connect) (5,tcp/16.176.234.1:0) TRANS(SocketINETConnect) (5,16.176.234.1,0) TRANS(SocketINETConnect) () can't connect: errno = 4 TRANS(Close) (5) TRANS(SocketINETClose) (401d0600,5) TRANS(OpenCOTSClient) (tcp/16.176.234.1:0) TRANS(Open) (1,tcp/16.176.234.1:0) TRANS(SocketOpenCOTSClient) (tcp,16.176.234.1,0) TRANS(Connect) (5,tcp/16.176.234.1:0) TRANS(SocketINETConnect) (5,16.176.234.1,0) TRANS(SocketINETConnect) () can't connect: errno = 4 TRANS(Close) (5) TRANS(SocketINETClose) (401d0a80,5) TRANS(OpenCOTSClient) (tcp/16.176.234.1:0) TRANS(Open) (1,tcp/16.176.234.1:0) TRANS(SocketOpenCOTSClient) (tcp,16.176.234.1,0) TRANS(Connect) (5,tcp/16.176.234.1:0) TRANS(SocketINETConnect) (5,16.176.234.1,0) TRANS(SocketINETConnect) () can't connect: errno = 4 TRANS(Close) (5) TRANS(SocketINETClose) (401d0600,5) TRANS(OpenCOTSClient) (tcp/16.176.234.1:0) TRANS(Open) (1,tcp/16.176.234.1:0) TRANS(SocketOpenCOTSClient) (tcp,16.176.234.1,0) TRANS(Connect) (5,tcp/16.176.234.1:0) TRANS(SocketINETConnect) (5,16.176.234.1,0) TRANS(SocketINETConnect) () can't connect: errno = 4 TRANS(Close) (5) TRANS(SocketINETClose) (401d0a80,5) TRANS(OpenCOTSClient) (tcp/16.176.234.1:0) TRANS(Open) (1,tcp/16.176.234.1:0) TRANS(SocketOpenCOTSClient) (tcp,16.176.234.1,0) TRANS(Connect) (5,tcp/16.176.234.1:0) TRANS(SocketINETConnect) (5,16.176.234.1,0) TRANS(SocketINETConnect) () can't connect: errno = 4 TRANS(Close) (5) TRANS(SocketINETClose) (401d0600,5) TRANS(OpenCOTSClient) (tcp/16.176.234.1:0) TRANS(Open) (1,tcp/16.176.234.1:0) TRANS(SocketOpenCOTSClient) (tcp,16.176.234.1,0) TRANS(Connect) (5,tcp/16.176.234.1:0) TRANS(SocketINETConnect) (5,16.176.234.1,0) TRANS(SocketINETConnect) () can't connect: errno = 4 TRANS(Close) (5) TRANS(SocketINETClose) (401d0a80,5) _X11TransConnectDisplay failed. emacs: Cannot connect to X server 16.176.234.1:0.0. Check the DISPLAY environment variable or use `-d'. Also use the `xhost' program to verify that it is set to permit connections from your machine. >-----Original Message----- >From: John Franzini [mailto:John.Franzini@hp.com] >Sent: Thursday, 12 September 2002 5:05 AM >To: Matt Muggeridge >Subject: Re: XtOpenDisplay() returns NULL - breaks emacs 21.2.2 > > >Matt, > >No, you don't need to reboot to pick up the new libX11 shared library. >After it is copied into /usr/shlib, any application that is started >will use the new copy. Applications that were started before the new >library was put out will continue to use the old library. > >And yes, you can reverse the steps to put it back as you indicated. > >However, it would not be a good idea to put the debug Xlib in >/usr/shlib >on a system that other people are using because the other users could >potentially see the debugging output which would be very confusing. > >So instead, you can put the debug Xlib in a private directory and point >emacs to it: > > cd /tmp/xxx > gunzip muggeridge.gz > chown bin:bin muggeridge > chmod 644 muggeridge > mv muggeridge libX11.so > > setenv LD_LIBRARY_PATH /tmp/xxx > emacs > unsetenv LD_LIBRARY_PATH > >That way you won't affect the other users on the system. > >John >