#Complete Name Change
23 messages · Page 1 of 1 (latest)
Run hostname <preferred hostname>.
That's for the right hand side.
That goes like hostname 0932VT
it should be sudo hostname <preferred hostname> ? but that didn't work either
nevermind, i just had to restart
Thanks btw
No worries, my pleasure.
A problem occurred, if I suspended my laptop and then opened again the terminal would again display the old hostname. Its like if my laptop sleeps and I open again
Run cat /etc/hostname.
Change that file with your preferred text editor of sorts.
ok but I changed it, but I dont see a option to "save" but only see "save as" and btw it says "read only"
Change it with sudo perms.
I dont need to change permissions as root(owner) there is write access, But I cant access somehow here:
What I mean is that use sudo when opening your editor smh 😭
Well, you already did...
yup
so any idea? xhost + local: somewhere in stackoverflow, they say to run that but also say its not secure
Try sudo hostnamectl set-hostname <preferred hostname>.
in home folder?
I edited it, I forgot about the sudo.