Arun Isaac transcribed 0.8K bytes: > > 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 ”, 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 don't understand your problem. This is public documented behavior of NM. Assuming that we build networkmanager with dhclient option/configure: add to /etc/dhcp/dhclient.conf: send host-name "yourhostname"; This always worked for me on Gentoo. -- ng0 GnuPG: A88C8ADD129828D7EAC02E52E22F9BBFEE348588 GnuPG: https://krosos.org/dist/keys/ https://www.infotropique.org https://www.krosos.org