Connection Refused to local user (Was: Re:X server problems)
Paul King
pking123-rieW9WUcm8FFJ04o6PK0Fg at public.gmane.org
Tue Dec 21 02:14:35 UTC 2004
To many of you, this sounds like an simple fix, but as to the last problem:
I could get gdm to work, but I could not log on, due to an error something to
the effect of "Connection refused on :0.0". I had recently changed my hostname,
and thought that maybe there was something in X that wasn't smart enough to
look in /etc/hostname or simply run hostname to get my new hostname.
I decided to reconfigure gdm to allow root logins. I successfully logged in
that way, so X must have known my new hostname. Then could it be something in
my dot-files? I wasn't going to go there, since those files were more numerous
than my user files.
Instead, I did something very simple. I copied my home directory from user to
user_broken and then remade a user directory with the same ownerships and all
that. I copied my .bashrc and .functions files containing my own shell
configurations. I then logged on as myself, and all was clear.
I am slowly copying files back to my home directory. We'll see which file
breaks my account again.
Paul King
> Looks like a bad Clocks line that caused X to crash. Yes, I recall adding the
> line, because I didn't like the default behaviour of X, which was to make an
> 1168x864 screen with half-inch borders. I obtained a valid Modeline from
> XVidtune, but forgetting, I used it as a Clocks line.
>
> Is there a "Debian" way of changing the hostname of the machine? It appears as
> though editing /etc/hostname and /etc/hosts isn't enough. That is probably what
> is causing the "connection refused" error.
>
> Paul King
>
> > Hello
> >
> > Thanks to Fraser for helping out with the distro I had been using (Debian
> > Woody). I tried to upgrade it to Sarge, but there were too many package
> > problems, so I decided to install Sarge fresh on newly-formatted /usr and root
> > directories.
> >
> > I have a new problem, however. It has to do with the X server. I thought I
> > fixed a "no screens found" problem, and had been using X for several hours
> > yesterday, but then I had a problem starting new xterms from the GNOME menus.
> > Then, when I tried to start an xterm from an existing xterm, I got the error
> > "connection to :0.0 refused". And that was starting it as the same user that
> > owns the X session. Even the command "xhost +" generated the same error.
> >
> > I thought I should log off and restart the server. So, I logged off, and
> > restarted the server. I found that not only would the server not restart, but
> > the dialog (a Debconf dialog, if I recall) it led me to gave a "no screens
> > found" error again from the X server. Debconf said it will "disable" the
> > server until the problem is fixed. Great.
> >
> > <opining>
> > Whatever happened to the days when you just ran an X server to test your
> > XF86Config and then looked at the error messages? I can't understand what
> > problem adding this extra layer of techno-bureaucracy is supposed to solve in
> > order to supposedly make my life easier. By that, I mean I fail to see what
> > problem I am being helped with when a script disables a server because it
> > doesn't like my configuration. I would much rather have the thing crash so I
> > can check things out on my own. </opining>
> >
> > Paul King=========================================================
> > Paul King http://www3.sympatico.ca/pking123/
> >
> >
> > --
> > The Toronto Linux Users Group. Meetings: http://tlug.ss.org
> > TLUG requests: Linux topics, No HTML, wrap text below 80 columns
> > How to UNSUBSCRIBE: http://tlug.ss.org/subscribe.shtml
>
> =========================================================
> Paul King http://www3.sympatico.ca/pking123/
>
>
> --
> The Toronto Linux Users Group. Meetings: http://tlug.ss.org
> TLUG requests: Linux topics, No HTML, wrap text below 80 columns
> How to UNSUBSCRIBE: http://tlug.ss.org/subscribe.shtml
=========================================================
Paul King http://www3.sympatico.ca/pking123/
--
The Toronto Linux Users Group. Meetings: http://tlug.ss.org
TLUG requests: Linux topics, No HTML, wrap text below 80 columns
How to UNSUBSCRIBE: http://tlug.ss.org/subscribe.shtml
More information about the Legacy
mailing list