44dc9ec Make new hostname take effect immediately

Authored and Committed by Robin Lee 4 years ago
    Make new hostname take effect immediately
    
    There was race condition between hostname taking effect and lightdm setting up
    Xorg service that X client would fail to find a proper xauth entry to connect
    the X server.
    
    hostnamectl will also rewrite /etc/hostname.
    
        
file modified
+1 -1