** Description changed: - Hi. During trying to change hostname with 'sudo hostname daniel1' - command and after re enable console (hostname is changed), I can not - open any application or edit any files, because of this error; + Hi. During trying to change hostname with 'sudo hostname example_name' + command and after re-enabled console (hostname is changed in a bash + prompt), I can not open any application or edit any files, because of + this error; ,-----[ hostname error ] | No protocol specified | Can't open display: %s `----- But if I return to the old hostname everything works. I've tried: 'gksudo gedit /etc/hostname' command, edit '/etc/hosts' file etc. Nothing works. Generally, I've tried everything, what I found on the web and what concerns to the hostname changes. ,----- [lsb_release -a ] | No LSB modules are available. | Distributor ID: Ubuntu | Description: Ubuntu 12.04.2 LTS | Release: 12.04 | Codename: precise | ----- | Xubuntu 12.04.2 | hostname 3.06ubuntu1 `----- Log files such as '/var/log/syslog', or '/var/log/kern.log' and '.xsession.errors' does not contains any valuable informations. Best regards.
** Description changed: Hi. During trying to change hostname with 'sudo hostname example_name' command and after re-enabled console (hostname is changed in a bash prompt), I can not open any application or edit any files, because of this error; ,-----[ hostname error ] | No protocol specified | Can't open display: %s `----- - But if I return to the old hostname everything works. I've tried: + But if I return to a previous hostname, everything works. I've tried: 'gksudo gedit /etc/hostname' command, edit '/etc/hosts' file etc. Nothing works. Generally, I've tried everything, what I found on the web and what concerns to the hostname changes. ,----- [lsb_release -a ] | No LSB modules are available. | Distributor ID: Ubuntu | Description: Ubuntu 12.04.2 LTS | Release: 12.04 | Codename: precise | ----- | Xubuntu 12.04.2 | hostname 3.06ubuntu1 `----- Log files such as '/var/log/syslog', or '/var/log/kern.log' and '.xsession.errors' does not contains any valuable informations. Best regards. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1168139 Title: Changing hostname: *No protocol specified* and *Can't open display* errors. To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+bug/1168139/+subscriptions -- ubuntu-bugs mailing list [email protected] https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
