Skip to main content
2 events
when toggle format what by license comment
May 16, 2024 at 18:35 comment added eyoung100 Any Desktop environment sits on top of the XOrg Server, and the XOrg Server looks at the hostname in /etc/hosts or elsewhere, i.e hostnamectl to set your hostname before launching, to ensure it's launching the local copy, and not a request from a remote/ssh/vpn. Changing it while the XOrg Server is active breaks as you've found (The current running XOrg hostname is compared with the new hostname and since the hostnames aren't equal, reauthorization is required to "approve" the new location of $SISPLAY). Perhaps the real question should be why are you changing your hostname
May 16, 2024 at 12:24 history asked alexanderzhirov CC BY-SA 4.0