【问题记录】【Ubuntu】更改主机账户名,打不开谷歌浏览器Chrome

 OS:Ubuntu 20.04.6 LTS

1、问题现象

  • 双击google chrome 图标后,加载一会儿就结束了;
  • 在终端输入 google-chrome 后提示错误。
$ google-chrome
---
[4019:4019:1219/151902.697728:ERROR:process_singleton_posix.cc(353)] The profile appears to be in use by another Google Chrome process (4294) on another computer (gpt).  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.
[4019:4019:1219/151902.697779:ERROR:message_box_dialog.cc(146)] 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 (4294) on another computer (gpt).  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.
---

2、调查原因

根据提示gpt,想起来我更改了账户的名称为gpt后,就再也打不开google chrome。

3、解决问题

清除加锁文件及缓存文件,google-chrome被正常启动了。

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

  • 4
    点赞
  • 2
    收藏
    觉得还不错? 一键收藏
  • 3
    评论
评论 3
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值