Thanks for taking the time to report this issue and make Ubuntu better. To confirm, did you restart your machine after changing /etc/hostname and /etc/hosts? Generally speaking changing the hostname without a restart can cause the issues you're describing, because the previous hostname is cached in the running applications (such as the graphical display system).
** Package changed: ubuntu => xorg (Ubuntu) ** Changed in: xorg (Ubuntu) Status: New => Invalid ** Converted to question: https://answers.launchpad.net/ubuntu/+source/xorg/+question/236080 -- You received this bug notification because you are a member of Ubuntu-X, which is subscribed to xorg in Ubuntu. https://bugs.launchpad.net/bugs/1168139 Title: hostname: No protocol specified and Can't open display errors. To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/xorg/+bug/1168139/+subscriptions _______________________________________________ Mailing list: https://launchpad.net/~ubuntu-x-swat Post to : ubuntu-x-swat@lists.launchpad.net Unsubscribe : https://launchpad.net/~ubuntu-x-swat More help : https://help.launchpad.net/ListHelp