Ububtu 13.04 Rename Computer

Posted by Sourabh on Ask Ubuntu See other posts from Ask Ubuntu or by Sourabh
Published on 2013-06-30T21:08:48Z Indexed on 2013/06/30 22:27 UTC
Read the original article Hit count: 249

Filed under:
|
|

How can I rename my computer? Renaming it in /etc/hosts and /etc/hostname does something weird. Before renaming it, I am able to open these files via sublime using

sudo subl /etc/hosts

but when I rename my Computer (using nano) and open any of these files using subl, I get this message:

No protocol specified

(sublime_text:20071): Gtk-WARNING **: cannot open display: :0.0

So I guess renaming in the above files is not the only thing I have to do.

PS: If I rename using sublime, after renaming one of the files, I get same message when I try to open other file

© Ask Ubuntu or respective owner

Related posts about 13.04

Related posts about hosts