Skip to content

Instantly share code, notes, and snippets.

@JudahSan
Created August 26, 2024 06:38
Show Gist options
  • Save JudahSan/adcedc6937cbffeea592a28fc906739d to your computer and use it in GitHub Desktop.
Save JudahSan/adcedc6937cbffeea592a28fc906739d to your computer and use it in GitHub Desktop.
Chrome not starting after changing hostname

Chrome version: Version 127.0.6533.119 (Official Build) (64-bit)

OS: Ubuntu 22.04

Steps to reproduce the problem

  1. Change the hostname of the machine
  2. Reboot
  3. Start chrome

Expected result

Chrome should start as usual

Actual result

... :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.

Solution

rm -rf ~/.config/google-chrome/Singleton*

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment