help-guix
[Top][All Lists]
Advanced

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

Re: networkmanager hostname woes


From: Christopher Baines
Subject: Re: networkmanager hostname woes
Date: Thu, 14 Sep 2017 07:38:26 +0100

On Thu, 14 Sep 2017 04:57:05 +0530
Arun Isaac <address@hidden> wrote:

> Thomas Danckaert writes:
> 
> > Hi Guix,
> >
> > since the change to networkmanager, I've been running into the 
> > following problem: when I connect to a wireless network using 
> > networkmanager, I can no longer start graphical applications 
> > (starting any program fails with “cannot open display :0.0” and 
> > similar messages).
> >
> > AFAIU, the cause is that networkmanager changes my hostname (after 
> > DHCP?), in my case to “new-host2” or something similar, and this 
> > seems to break the X session.  When I manually restore the hostname 
> > with “sudo hostname <original-hostname>”, the problem is solved.
> > Is there anyway to disable this behaviour for networkmanager?  
> 
> I have the exact same problem too. If somebody has a solution, I'd
> like to hear about it.

I created /etc/hostname and put the machines hostname in it, and I
don't think I've had the issue since. Perhaps try that?

Attachment: pgpyDrEvjGCVY.pgp
Description: OpenPGP digital signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]