Warning: networkmanager 1.14.7dev+3+g353743b99-1 breaks X11
Hi,
the networkmanager 1.14.7dev+3+g353743b99-1 set the hostname from DHCP in a way that break X11 authentication.
Symptom: "Error: Can't open display: :0"
Diagnose: hostname and cat /etc/hostname are different
Hot Fix: revert hostname change:
sudo hostname -F /etc/hostname
or extend X11 authentication for new hostname
hostname
xhost +{YOUR NEW DHCP HOSTNAME}
cat /etc/NetworkManager/NetworkManager.conf
# Configuration file for NetworkManager.
# See "man 5 NetworkManager.conf" for details.
[main]
plugins=keyfile
[keyfile]
hostname-mode=none
may work too (not tested).