You are not logged in.

#1 2014-07-07 16:49:34

encrator
Member
Registered: 2014-06-09
Posts: 8

[SOLVED] Terminal shows "username@unknownc8f733a9cb03" not localhost

I  would say about 75% of the time, I am not logged in as local host and instead @unknownc8f733a9cb0. On seemingly random times, it WILL log me in as localhost.

I first noticed this when Google Chrome / Chromium would refuse to open. I tried opening them in the terminal and got this error message:

-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

[25787:25787:0707/114022:ERROR:process_singleton_linux.cc(309)] The profile appears to be in use by another Chromium process (4311) on another computer (localhost).
 Chromium has locked the profile so that it doesn't get corrupted. If you are sure no other processes are using this profile, you can unlock the profile and relaunch Chromium.
[25787:25787:0707/114022:ERROR:simple_message_box_views.cc(208)] Unable to show a dialog outside the UI thread message loop: Chromium - 
The profile appears to be in use by another Chromium process (4311) on another computer (localhost). Chromium has locked the profile so that it doesn't get corrupted. 
If you are sure no other processes are using this profile, you can unlock the profile and relaunch Chromium.

-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

Chrome works on the (random) times I am localhost.

If it helps, the "@unknownc8f733a9cb0" started happening after accidentally deleting my Microsoft reserved Partition (another problem for another day...), but Chrome not starting up happened before that. I didn't think to try terminal until after I noticed "@unknownc8f733a9cb0"

P.S --> Newie, how do I get output code inside quote boxes. It's been a while since I've reviewed HTML tags, and <quote></quote> doesn't seem to work.

Last edited by encrator (2014-07-07 18:44:29)

Offline

#2 2014-07-07 17:19:41

alphaniner
Member
From: Ancapistan
Registered: 2010-07-12
Posts: 2,810

Re: [SOLVED] Terminal shows "username@unknownc8f733a9cb03" not localhost

Re: tags, see the page on BBCode. You'll want to use code tags for terminal output and such. Quote tags are for 'normal text' ie from other posts.


But whether the Constitution really be one thing, or another, this much is certain - that it has either authorized such a government as we have had, or has been powerless to prevent it. In either case, it is unfit to exist.
-Lysander Spooner

Offline

#3 2014-07-07 17:22:24

encrator
Member
Registered: 2014-06-09
Posts: 8

Re: [SOLVED] Terminal shows "username@unknownc8f733a9cb03" not localhost

thank you, I've fixed it accordingly

Offline

#4 2014-07-07 17:23:43

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: [SOLVED] Terminal shows "username@unknownc8f733a9cb03" not localhost

What's the output of 'hostnamectl'?
https://bbs.archlinux.org/viewtopic.php?id=181710

Offline

#5 2014-07-07 17:52:50

encrator
Member
Registered: 2014-06-09
Posts: 8

Re: [SOLVED] Terminal shows "username@unknownc8f733a9cb03" not localhost

   Static hostname: n/a
Transient hostname: unknownc8f733a9cb03.attlocal.net
         Icon name: computer-laptop
           Chassis: laptop
        Machine ID: ee2069b445df403cb353e02809df2d77
           Boot ID: 77811237de14450789b8e94f45029140
  Operating System: Arch Linux
            Kernel: Linux 3.15.3-1-ARCH
      Architecture: x86-64

Offline

#6 2014-07-07 18:12:53

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: [SOLVED] Terminal shows "username@unknownc8f733a9cb03" not localhost

Where are you setting your hostname? What's the output of

cat /etc/hostname

Offline

#7 2014-07-07 18:19:09

encrator
Member
Registered: 2014-06-09
Posts: 8

Re: [SOLVED] Terminal shows "username@unknownc8f733a9cb03" not localhost

Sorry, here's the output of that:

cat: /etc/hostname: No such file or directory

If relevant, cat: /etc/hosts produces this:

#
# /etc/hosts: static lookup table for host names
#

#<ip-address>	<hostname.domain.org>	<hostname>
127.0.0.1	localhost.localdomain	localhost
::1		localhost.localdomain	localhost

# End of file

Offline

#8 2014-07-07 18:24:05

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 30,426
Website

Re: [SOLVED] Terminal shows "username@unknownc8f733a9cb03" not localhost


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

#9 2014-07-07 18:25:26

ugjka
Member
From: Latvia
Registered: 2014-04-01
Posts: 1,952
Website

Re: [SOLVED] Terminal shows "username@unknownc8f733a9cb03" not localhost

I think you forgot to set your hostname during install
https://wiki.archlinux.org/index.php/beginners'_guide#Hostname

Offline

#10 2014-07-07 18:30:09

encrator
Member
Registered: 2014-06-09
Posts: 8

Re: [SOLVED] Terminal shows "username@unknownc8f733a9cb03" not localhost

Thank you, I've set my hostname to laptop, I still get the error of being unable to open chromium though. The process is still being used by localhost.

EDIT:
I realized I should probablt delete the lock. Looking for that now

Last edited by encrator (2014-07-07 18:34:14)

Offline

#11 2014-07-07 18:31:50

ugjka
Member
From: Latvia
Registered: 2014-04-01
Posts: 1,952
Website

Re: [SOLVED] Terminal shows "username@unknownc8f733a9cb03" not localhost

Did you reboot?

Offline

#12 2014-07-07 18:32:38

alphaniner
Member
From: Ancapistan
Registered: 2010-07-12
Posts: 2,810

Re: [SOLVED] Terminal shows "username@unknownc8f733a9cb03" not localhost

Did you reboot after writing your hostname to /etc/hostname ? Or at least log out and back in?


But whether the Constitution really be one thing, or another, this much is certain - that it has either authorized such a government as we have had, or has been powerless to prevent it. In either case, it is unfit to exist.
-Lysander Spooner

Offline

#13 2014-07-07 18:38:45

encrator
Member
Registered: 2014-06-09
Posts: 8

Re: [SOLVED] Terminal shows "username@unknownc8f733a9cb03" not localhost

yes.

Offline

#14 2014-07-07 18:41:48

encrator
Member
Registered: 2014-06-09
Posts: 8

Re: [SOLVED] Terminal shows "username@unknownc8f733a9cb03" not localhost

I found the path to the config file here (http://askubuntu.com/questions/476918/g … g-hostname)

rm rf worked, and chrome starts. Thank you everyone who helped. I'm still confused as to why my computer might randomly log in to localhost instead of my new hostname, but I'll see if that still happens.

Offline

Board footer

Powered by FluxBB