public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
From: Mick <michaelkintzios@gmail.com>
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] cannot open display
Date: Sun, 01 Sep 2019 12:16:43 +0100	[thread overview]
Message-ID: <7960114.kDe5N4FQCV@localhost> (raw)
In-Reply-To: <7036be2a-b9c3-cbdf-66ed-53009bfd9787@googlemail.com>

[-- Attachment #1: Type: text/plain, Size: 1098 bytes --]

On Saturday, 31 August 2019 23:41:13 BST Tamer Higazi wrote:
> Hi people,
> 
> For a specific time I have a very strange behaviour on gentoo.
> I cannot start any applicaion on xfce, just logout or shutdown the machine.
> 
> When I try through an existing open shell to execute a program I get
> this error:
> 
> tamer@tux / $ firefox-bin
> No protocol specified
> Error: cannot open display: :0.0
> 
> Can somebody tell me what's wrong here?
> 
> 
> best, Tamer

It may be related to an obscure old networkmanager bug, whereby it changes the 
hostname in /etc/hosts.  I don't use networkmanager and I don't use xfce to 
comment on particulars, but here's some generic things to check:

1. Have a look at the 'Host and domain information' section and at the 'The 
hosts file' section in the handbook and configure them accordingly:

 https://wiki.gentoo.org/wiki/Handbook:AMD64/Installation/System

2. Does 'echo $HOSTNAME' show what you have configured in your system, after 
you restart networkmanager, or reboot?

3. Have you added /etc/init.d/hostname to your boot runlevel?

-- 
Regards,

Mick

[-- Attachment #2: This is a digitally signed message part. --]
[-- Type: application/pgp-signature, Size: 833 bytes --]

  reply	other threads:[~2019-09-01 11:16 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-08-31 22:41 [gentoo-user] cannot open display Tamer Higazi
2019-09-01 11:16 ` Mick [this message]
2019-09-03 19:41   ` [EXTERNAL] " Laurence Perkins

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=7960114.kDe5N4FQCV@localhost \
    --to=michaelkintzios@gmail.com \
    --cc=gentoo-user@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox