Red Hat Bugzilla – Bug 20046
"connection refused" messages for X clients
Last modified: 2007-04-18 12:29:36 EDT
I know this is a little vague: I installed RedHat 7.0 in my Dell Precision
Workstation 420. I am the only non-root user on this system.
Intermittently, usually after the system has been running for a while and
I've logged off and back on several times, messages about "connection
refused on display :0" begin to appear on the system console. Often this
results in very weird things, like two overlapping copies of the icons on
my KDE desktop, apparently because kwm thinks it didn't run correctly the
first time and restarts itself. (I've verified with ps that two copies of
kwm are running in these situations.)
When I'm logged in, "ps -efw | grep X" reveals that /etc/X11/X is running
with the -auth switch specifying a file in /etc/X11/xdm/authdir. Comparing
with a 6.2 system without this problem and with mainly up-to-date patches,
I notice that /etc/X11/xdm/authdir is a real directory, mode 0600, owned by
root, while under 7.0 it is a symlink to /var/lib/xdm; the latter is mode
0644 by default. Otherwise (and I'm not an X guru) I can't offhand see
anything which would cause this.
Please attach an X server log from before and after this occurs.
This was such a long time ago that I honestly don't remember how I fixed it,
but it was probably an update. In any event, the system in question is now
running 7.1, so I can't really help with this problem any more.
Ok thanks, closing bug.