40

I tried to start google chrome in terminal several times, and I keep receiving the following message:

... :ERROR:process_singleton_linux.cc(309)] The profile appears to be in use by another Google Chrome process (8629) on another computer ("previous name of the computer").  Chrome 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 Chrome.
... :ERROR:simple_message_box_views.cc(208)] Unable to show a dialog outside the UI thread message loop: Google Chrome - The profile appears to be in use by another Google Chrome process (8629) on another computer ("previous name of the computer").  Chrome 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 Chrome.

Any suggestions?

Thanks in advance.

bain
  • 11,260
user254473
  • 545
  • 1
  • 4
  • 6

4 Answers4

66

This looks like Chrome bug #367048 - Cannot start chrome after changing hostname, try:

rm -rf ~/.config/google-chrome/Singleton*
bain
  • 11,260
3

If you are using newer Ubuntu like 20.04, then you must delete files in different path because you probably using snap packages:

rm -rf ~/snap/chromium/common/chromium/Singleton*
Rohlik
  • 140
0

Had same issue on brave not launching after changing hostname on ubuntu 22.o4

Solution

Remove Profile Lock: Navigate to the directory where your Brave profile is stored. This location varies depending on your operating system:

On Windows: C:\Users\YourUsername\AppData\Local\BraveSoftware\Brave-Browser\User Data\
On macOS: ~/Library/Application Support/BraveSoftware/Brave-Browser/
On Linux: ~/.config/BraveSoftware/Brave-Browser/

Look for a file named LOCK or lockfile and delete it. This file is what Brave uses to lock the profile.

This worked for me rm -rf SingletonLock

Tu276
  • 1
  • 1
0

I tried rm and it didn't work, so I checked

ls into ~/.config/google 

and

ls ~/.config/google-chrome-beta/ 

and found no singleton files, but the following worked as it is a new system and ls found the file

rm -rf ~/snap/chromium/common/chromium/Singleton*
zx485
  • 2,426