After changing hostname in ubuntu 22.04 desktop OS unable to launch google-chrome browser

I’ll provide specific steps tailored to your Ubuntu 22.04 setup:

  1. Check and Terminate Chrome Processes:
    • Open a terminal window (Ctrl+Alt+T).
    • Use the command ps aux | grep chrome to list Chrome processes.
    • If any are running, terminate them using kill -9 <process_id>, replacing <process_id> with the actual process ID.
  2. Remove the Lock File:
    • Navigate to the Chrome profile folder: cd ~/.config/google-chrome
    • Delete the lock file: rm -rf SingletonLock
  3. Relaunch Chrome:
    • Type google-chrome in the terminal to launch Chrome.

The above steps worked for me.

If the issue persists:

  • Consider Reverting Hostname Change: If possible, temporarily revert to the previous hostname to see if it resolves the issue.
  • Reset Chrome Profile (if necessary): As a last resort, create a new Chrome profile to start fresh

Leave a comment