[Ubuntu] Unable to start after installing chrome

[Ubuntu] Unable to start after installing chrome

1. Problem description

Run from command line

google-chrome

Report an error

[5901:5901:0610/183033:ERROR:process_singleton_linux.cc(309)] 其他计算机 (money-Latitude-E5430-non-vPro) 的另一个 Google Chrome 进程 (7578) 好像正在使用此个人资料。Chrome 已锁定此个人资料以防止其受损。如果您确定其他进程目前未使用此个人资料,请为其解锁并重新启动 Chrome。

[5901:5901:0610/183033:ERROR:simple_message_box_views.cc(208)] Unable to show a dialog outside the UI thread message loop: Google Chrome - 其他计算机 (money-Latitude-E5430-non-vPro) 的另一个 Google Chrome 进程 (7578) 好像正在使用此个人资料。Chrome 已锁定此个人资料以防止其受损。如果您确定其他进程目前未使用此个人资料,请为其解锁并重新启动 Chrome

Note: Obviously, the above error message tells us that chrome will record our operation data on the computer locally, and then we修改主机名 will cause the old data to be locked. In this way, chrome under the new host name cannot obtain the user's corresponding browser data, so chrome cannot start normally, and related errors cannot be seen on the UI, resulting in suspended animation.

2.Solution

cd ~/.config
sudo rm -rf ./google-chrome

Reference

https://moneyslow.com/ubuntu%E8%87%AA%E5%AE%89%E8%A3%85%E7%9A%84chrome%E5%90%AF%E5%8A%A8%E5%A4%B1%E8%B4%A5%E8%A7%A3%E5%86%B3%E6%96%B9%E6%B3%95.html

Guess you like

Origin blog.csdn.net/qq_44940689/article/details/134218737