public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-user] cannot open display
@ 2019-08-31 22:41 Tamer Higazi
  2019-09-01 11:16 ` Mick
  0 siblings, 1 reply; 3+ messages in thread
From: Tamer Higazi @ 2019-08-31 22:41 UTC (permalink / raw
  To: Gentoo

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



^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [gentoo-user] cannot open display
  2019-08-31 22:41 [gentoo-user] cannot open display Tamer Higazi
@ 2019-09-01 11:16 ` Mick
  2019-09-03 19:41   ` [EXTERNAL] " Laurence Perkins
  0 siblings, 1 reply; 3+ messages in thread
From: Mick @ 2019-09-01 11:16 UTC (permalink / raw
  To: gentoo-user

[-- 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 --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [EXTERNAL] Re: [gentoo-user] cannot open display
  2019-09-01 11:16 ` Mick
@ 2019-09-03 19:41   ` Laurence Perkins
  0 siblings, 0 replies; 3+ messages in thread
From: Laurence Perkins @ 2019-09-03 19:41 UTC (permalink / raw
  To: gentoo-user@lists.gentoo.org

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



On Sun, 2019-09-01 at 12:16 +0100, Mick wrote:
> 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?
> 

Also check if your system is actually running the X server on :0.  If
it's running on :1 or higher for some reason then you'll need to update
your DISPLAY variable.

Just how you would have gotten it into such a state I wouldn't care to
guess at without more information.

LMP

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

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2019-09-03 19:42 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-08-31 22:41 [gentoo-user] cannot open display Tamer Higazi
2019-09-01 11:16 ` Mick
2019-09-03 19:41   ` [EXTERNAL] " Laurence Perkins

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox