function setHostname() { $("#hostname-label").textContent = lightdm.hostname; }