From mboxrd@z Thu Jan 1 00:00:00 1970 From: Arun Isaac Subject: Re: networkmanager hostname woes Date: Thu, 14 Sep 2017 04:57:05 +0530 Message-ID: <204ebc50.AEMAP_-w0oEAAAAAAAAAAAPHPkIAAAACwQwAAAAAAAW9WABZub7T@mailjet.com> References: <20170913.120529.1808480687765633530.thomas.danckaert@aeronomie.be> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:33490) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from <204ebc50.AEMAP_-w0oEAAAAAAAAAAAPHPkIAAAACwQwAAAAAAAW9WABZub7T@bnc3.mailjet.com>) id 1dsH4N-0005yL-Cw for help-guix@gnu.org; Wed, 13 Sep 2017 19:27:51 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from <204ebc50.AEMAP_-w0oEAAAAAAAAAAAPHPkIAAAACwQwAAAAAAAW9WABZub7T@bnc3.mailjet.com>) id 1dsH4I-0004W6-Fk for help-guix@gnu.org; Wed, 13 Sep 2017 19:27:47 -0400 Received: from o136.p8.mailjet.com ([87.253.233.136]:40034) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from <204ebc50.AEMAP_-w0oEAAAAAAAAAAAPHPkIAAAACwQwAAAAAAAW9WABZub7T@bnc3.mailjet.com>) id 1dsH4I-0004Uz-71 for help-guix@gnu.org; Wed, 13 Sep 2017 19:27:42 -0400 In-reply-to: <20170913.120529.1808480687765633530.thomas.danckaert@aeronomie.be> List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-guix-bounces+gcggh-help-guix=m.gmane.org@gnu.org Sender: "Help-Guix" To: Thomas Danckaert Cc: help-guix@gnu.org Thomas Danckaert writes: > Hi Guix, > > since the change to networkmanager, I've been running into the=20 > following problem: when I connect to a wireless network using=20 > networkmanager, I can no longer start graphical applications=20 > (starting any program fails with =E2=80=9Ccannot open display :0.0=E2=80= =9D and=20 > similar messages). > > AFAIU, the cause is that networkmanager changes my hostname (after=20 > DHCP?), in my case to =E2=80=9Cnew-host2=E2=80=9D or something similar,= and this=20 > seems to break the X session. When I manually restore the hostname=20 > with =E2=80=9Csudo hostname =E2=80=9D, the problem i= s solved. Is=20 > 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.