You have been subscribed to a public bug:

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 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.

** Affects: xorg (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: display hostname precise protocol
-- 
hostname: No protocol specified and Can't open display errors.
https://bugs.launchpad.net/bugs/1168139
You received this bug notification because you are a member of Ubuntu-X, which 
is subscribed to xorg in Ubuntu.

_______________________________________________
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

Reply via email to