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: signature.asc
Description: This is a digitally signed message part

Reply via email to