Hi Guys,
I'm looking for help on how to change my laptops hostname.
For some reason it's got the same hostname as my netbook which also has linux lite; I installed it on both of them at the same time.
Thank's in advance for your help.
Hello!
Changing the hostname involves editing the /etc/hostname file. In a terminal window [CTRL-ALT-T], type the following:
Code:
sudo leafpad /etc/hostname
When prompted, enter the root password. This will open the file you need to edit in the text editor, Leafpad.
Change the hostname to what you want it to be, save the new file, and reboot. When you open the terminal window again, you should see the new hostname displayed...
73 DE N4RPS
Rob
Thanks Rob!!!
However, now that I've changed my hostname google chrome has stopped working.
Tried un-installing/re-installing it but it still won't start.
Also, I've noticed when I run
Code:
sudo apt-get autoclean
I getÂ
Code:
sudo: unable to resolve host
Thanks,
Hostname needs to be changed in 2 places, /etc/hostname and in
/etc/hosts - change the line:
Code:
127.0.1.1 oldhostname
to
Code:
127.0.1.1 newhostname
Thanks, that worked!!! But unfortunately google chrome still won't start up
Open a terminal and do: google-chrome-stable
and press Enter, then paste the entire output here.
Thanks Valtam, managed to google the error message from the output and resolve it.
Sent from my HTC One X using Tapatalk
Would you mind sharing with us how you fixed it? Thank you.
Sure thing, after running google-chrome-stable in the terminal. I received an error message stating thatÂ
The profile appears to be in use by another Google Chrome process on another computer.
After googling it I found out that it was a known bug
https://code.google.com/p/chromium/issue...?id=367048
and to resolve you need to type in the following code:
Code:
rm -rf ~/.config/google-chrome/Singleton*