[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Temporary failure in name resolution



On Wed, Jan 10, 2024 at 07:19:41PM +0000, Rodolfo Medina wrote:
> Greg Wooledge <greg@wooledge.org> writes:
> > What is the output of the "hostname" command?
> 
> It's: `thinkpad'.
> 
> > What is the output of "grep -F $(hostname) /etc/hosts"?
> 
> It's:
> 
>  127.0.1.1       caterina-thinkpad.home  caterina-thinkpad

There's the problem, then.  You do not have "thinkpad" as an entry in
your /etc/hosts file, so the system is unable to lookup "the IP address"
for its own hostname.  X sessions tend to frown upon that.

Adding "thinkpad" to the 127.0.1.1 line should take care of this.  You
can retain the other fields, and simply use thinkpad as a second alias.


Reply to: