1
1

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

Brave on linuxが起動しない

Posted at

環境

$ neofetch
            .-/+oossssoo+/-.               rei@atl-main-lu 
        `:+ssssssssssssssssss+:`           --------------- 
      -+ssssssssssssssssssyyssss+-         OS: Ubuntu 22.04.4 LTS x86_64 
    .ossssssssssssssssssdMMMNysssso.       Host: B550M Pro4 
   /ssssssssssshdmmNNmmyNMMMMhssssss/      Kernel: 6.5.0-26-generic 
  +ssssssssshmydMMMMMMMNddddyssssssss+     Uptime: 16 mins 
 /sssssssshNMMMyhhyyyyhmNMMMNhssssssss/    Packages: 2980 (dpkg), 11 (flatpak), 
.ssssssssdMMMNhsssssssssshNMMMdssssssss.   Shell: bash 5.1.16 
+sssshhhyNMMNyssssssssssssyNMMMysssssss+   Resolution: 1360x768, 3440x1440, 192 
ossyNMMMNyMMhsssssssssssssshmmmhssssssso   DE: GNOME 42.9 
ossyNMMMNyMMhsssssssssssssshmmmhssssssso   WM: Mutter 
+sssshhhyNMMNyssssssssssssyNMMMysssssss+   WM Theme: Adwaita 
.ssssssssdMMMNhsssssssssshNMMMdssssssss.   Theme: Yaru-red-dark [GTK2/3] 
 /sssssssshNMMMyhhyyyyhdNMMMNhssssssss/    Icons: Yaru-red [GTK2/3] 
  +sssssssssdmydMMMMMMMMddddyssssssss+     Terminal: gnome-terminal 
   /ssssssssssshdmNNNNmyNMMMMhssssss/      CPU: AMD Ryzen 7 5800X3D (16) @ 3.40 
    .ossssssssssssssssssdMMMNysssso.       GPU: NVIDIA GeForce GTX 1080 Ti 
      -+sssssssssssssssssyyyssss+-         Memory: 5361MiB / 48085MiB 
        `:+ssssssssssssssssss+:`
            .-/+oossssoo+/-.                                       
                                                                   

現象

アイコンをクリックしても起動しない
ターミナルから起動すると

$ brave-browser
[3845:3845:0328/041010.700984:ERROR:process_singleton_posix.cc(353)] The profile appears to be in use by another Brave process (3426) on another computer (ATL-Rei-main-R75800X3D-LU). Brave 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 Brave.
[3845:3845:0328/041010.701055:ERROR:message_box_dialog.cc(146)] Unable to show a dialog outside the UI thread message loop: Brave - The profile appears to be in use by another Brave process (3426) on another computer (ATL-Rei-main-R75800X3D-LU). Brave 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 Brave.

と言われ,起動しない.

原因

PC名を変更後braveが強制終了してしまったことにより,プロファイルロックが残ってしまったため.

解決

ロックファイルを削除すれば良い.
~/.config/BraveSoftware/Brave-Browser/SingletonLock が問題のファイルなので

rm ~/.config/BraveSoftware/Brave-Browser/SingletonLock 

を実行する.

感想

強制終了でロックファイル周りが残っちゃうってlinuxあるあるですよね, むやみにしてはいけないね...(当たり前)

1
1
1

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
1
1

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?