SOLVED? Re: X - after some time can't lauch new windows, Error: Can't open display
On Thu, Sep 24, 2009 at 04:49:02PM +0100, Anton Shterenlikht wrote: > After some time I cannot open any new windows in X, > I get > No protocol specified > Error: Can't open display: :0.0 > > This is on i386 9.0-current with > agp0: on vgapci0 > > I've xorg-7.4_2, xorg-server-1.6.1,1, xf86-video-intel-2.7.1 > and latest hal and dbus. > > My window manager is mwm (part of open-motif-2.2.3_6). > > After logging into X via xdm I can launch new windows fine. > But after a while, probably several hours, an attempt to > launch a new window, i.e. any program that opens a new window, > like xterm or xpdf, results in the error message above. > > The only solution I've found is to logout of xdm and login again. > But would be great to solve this properly. I realised that rsync from another box was overwriting $HOME/.Xauthority every time I sinchronised the two machines. After that connection to X server is refused because the data in .Xauthority doesn't match what the X server is expecting (is that so? not sure..). Logging out and on again creates a new .Xauthority file, and all is fine after that. Or perhaps the mechanism I described is not correct.. Anyway it seems to have helped. -- Anton Shterenlikht Room 2.6, Queen's Building Mech Eng Dept Bristol University University Walk, Bristol BS8 1TR, UK Tel: +44 (0)117 331 5944 Fax: +44 (0)117 929 4423 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: X - after some time can't lauch new windows, Error: Can't open display
Anton Shterenlikht wrote: > After some time I cannot open any new windows in X, > I get > No protocol specified > Error: Can't open display: :0.0 > > This is on i386 9.0-current with ... xorg-7.4_2, > xorg-server-1.6.1,1, xf86-video-intel-2.7.1 ... > After logging into X via xdm I can launch new windows fine. > But after a while, probably several hours, an attempt to > launch a new window, i.e. any program that opens a new window, > like xterm or xpdf, results in the error message above. I have not seen this with local clients, but I _have_ seen something similar from time to time with remote (ssh tunneled) clients. IIRC there was also some kind of squawk about display permissions, as if something related to xauth had gotten messed up. I'm running FreeBSD 6.1 with Xorg 6.9.0; remotes are various Linux and Solaris boxes (and I haven't made note of their versions, nor if the problem happens with some remote versions and not others). Point being that, if we're both seeing the same issue or closely related, it's not of recent origin. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
X - after some time can't lauch new windows, Error: Can't open display
After some time I cannot open any new windows in X, I get No protocol specified Error: Can't open display: :0.0 This is on i386 9.0-current with agp0: on vgapci0 I've xorg-7.4_2, xorg-server-1.6.1,1, xf86-video-intel-2.7.1 and latest hal and dbus. My window manager is mwm (part of open-motif-2.2.3_6). After logging into X via xdm I can launch new windows fine. But after a while, probably several hours, an attempt to launch a new window, i.e. any program that opens a new window, like xterm or xpdf, results in the error message above. The only solution I've found is to logout of xdm and login again. But would be great to solve this properly. Please advise many thanks -- Anton Shterenlikht Room 2.6, Queen's Building Mech Eng Dept Bristol University University Walk, Bristol BS8 1TR, UK Tel: +44 (0)117 331 5944 Fax: +44 (0)117 929 4423 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"