Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.user > #265767

Re: Temporary failure in name resolution

Path csiph.com!fu-berlin.de!bofh.it!news.nic.it!robomod
From Max Nikulin <manikulin@gmail.com>
Newsgroups linux.debian.user
Subject Re: Temporary failure in name resolution
Date Thu, 11 Jan 2024 04:20:01 +0100
Message-ID <HUTLP-2gSH-1@gated-at.bofh.it> (permalink)
References <HULlg-2b8e-1@gated-at.bofh.it> <HULuV-2bbJ-11@gated-at.bofh.it> <HULEC-2bf6-13@gated-at.bofh.it> <HULOh-2biw-1@gated-at.bofh.it> <HUMqZ-2bLR-1@gated-at.bofh.it> <HUNn3-2ckY-11@gated-at.bofh.it>
X-Mailbox-Line From debian-user-request@lists.debian.org Thu Jan 11 03:11:14 2024
Old-Return-Path <gldu-debian-user-2@m.gmane-mx.org>
X-Amavis-Spam-Status No, score=-2.299 tagged_above=-10000 required=5.3 tests=[BAYES_00=-2, DKIM_ADSP_CUSTOM_MED=0.001, FORGED_GMAIL_RCVD=1, FORGED_MUA_MOZILLA=2.309, FREEMAIL_FORGED_FROMDOMAIN=0.25, FREEMAIL_FROM=0.001, HEADER_FROM_DIFFERENT_DOMAINS=0.25, LDO_WHITELIST=-5, NML_ADSP_CUSTOM_MED=0.9, T_SCC_BODY_TEXT_LINE=-0.01] autolearn=no autolearn_force=no
X-Policyd-Weight using cached result; rate:hard: -4.6
X-Injected-Via-Gmane http://gmane.org/
MIME-Version 1.0
Content-Type text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding 7bit
User-Agent Mozilla Thunderbird
Content-Language en-US, ru-RU
X-Mailing-List <debian-user@lists.debian.org> archive/latest/807589
List-ID <debian-user.lists.debian.org>
List-URL <https://lists.debian.org/debian-user/>
List-Archive https://lists.debian.org/msgid-search/unnm7k$vme$1@ciao.gmane.io
Approved robomod@news.nic.it
Lines 42
Organization linux.* mail to news gateway
Sender robomod@news.nic.it
X-Original-Date Thu, 11 Jan 2024 10:10:43 +0700
X-Original-Message-ID <unnm7k$vme$1@ciao.gmane.io>
X-Original-References <87ply912fw.fsf@lenovo> <ZZ7g7AOW+bKh+2FT@tuxteam.de> <87jzoh11gy.fsf@lenovo> <ZZ7k32aRNNdbWNNv@wooledge.org> <87a5pd0zea.fsf@lenovo> <ZZ79JqJCYxLdxTDB@wooledge.org>
Xref csiph.com linux.debian.user:265767

Show key headers only | View raw


On 11/01/2024 03:25, Greg Wooledge wrote:
> 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"?
>>
>>   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.

I would say that it is better to fix discrepancy between (likely) 
/etc/hostname and /etc/hosts and to use a consistent name. If "thinkpad" 
is the preferred one then update /etc/hosts otherwise check

      hostnamectl

and update (as root)

      hostnamectl hostname caterina-thinkpad

There was a thread that "home" as the top level domain might not be 
really safe (somebody might register it). A reserved domain is 
"home.arpa" so e.g. to have "thinkpad", the /etc/hosts entry should be

127.0.1.1       thinkpad.home.arpa thinkpad

I have not tried it, but I expect that startx should have no issues with 
output redirection, so to capture its messages to a file

      startx |& tee /tmp/startx-messages.txt

Another places to look for errors are ~/.xsession-errors and

     journalctl -b --user

Back to linux.debian.user | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

Temporary failure in name resolution Rodolfo Medina <rodolfo.medina@gmail.com> - 2024-01-10 19:20 +0100
  Re: Temporary failure in name resolution <tomas@tuxteam.de> - 2024-01-10 19:30 +0100
    Re: Temporary failure in name resolution Rodolfo Medina <rodolfo.medina@gmail.com> - 2024-01-10 19:40 +0100
      Re: Temporary failure in name resolution Greg Wooledge <greg@wooledge.org> - 2024-01-10 19:50 +0100
        Re: Temporary failure in name resolution Rodolfo Medina <rodolfo.medina@gmail.com> - 2024-01-10 20:30 +0100
          Re: Temporary failure in name resolution Marco Moock <mm@dorfdsl.de> - 2024-01-10 20:30 +0100
          Re: Temporary failure in name resolution Greg Wooledge <greg@wooledge.org> - 2024-01-10 21:30 +0100
            Re: Temporary failure in name resolution Max Nikulin <manikulin@gmail.com> - 2024-01-11 04:20 +0100
              Re: Temporary failure in name resolution Greg Wooledge <greg@wooledge.org> - 2024-01-11 04:30 +0100
                Re: Temporary failure in name resolution Max Nikulin <manikulin@gmail.com> - 2024-01-12 04:10 +0100
              Re: Temporary failure in name resolution David Wright <deblis@lionunicorn.co.uk> - 2024-01-11 06:00 +0100
              Re: Temporary failure in name resolution Curt <curty@free.fr> - 2024-01-11 17:40 +0100
                Re: Temporary failure in name resolution Marco Moock <mm@dorfdsl.de> - 2024-01-11 18:10 +0100
                Re: Temporary failure in name resolution debian-user@howorth.org.uk - 2024-01-12 12:30 +0100
                Re: Temporary failure in name resolution Byung-Hee HWANG <soyeomul@doraji.xyz> - 2024-01-12 14:10 +0100
                Re: Temporary failure in name resolution Curt <curty@free.fr> - 2024-01-12 17:10 +0100
                Re: Temporary failure in name resolution Jeffrey Walton <noloader@gmail.com> - 2024-01-12 17:30 +0100
                Re: Temporary failure in name resolution Jeffrey Walton <noloader@gmail.com> - 2024-01-12 18:40 +0100
                Re: Temporary failure in name resolution debian-user@howorth.org.uk - 2024-01-12 18:40 +0100
                Re: Temporary failure in name resolution John Hasler <john@sugarbit.com> - 2024-01-12 20:50 +0100
                Re: Temporary failure in name resolution debian-user@howorth.org.uk - 2024-01-12 19:20 +0100
          Re: Temporary failure in name resolution <tomas@tuxteam.de> - 2024-01-11 06:30 +0100

csiph-web