Could not start chrome. Exit code: 1 (General error). Error output: cannot join mount namespace of pid 1: Operation not permitted.

Updated: Feb 14, 2025

Could not start chrome. Exit code: 1 (General error). Error output: cannot join mount namespace of pid 1: Operation not permitted.

This error message typically appears when you try to run Google Chrome or any other application that requires certain Linux permissions. The error message "cannot join mount namespace of pid 1: Operation not permitted" indicates that the application is trying to perform an operation that is not permitted in the current user context.

To resolve this issue, you can try the following steps:

  1. Update Google Chrome: Make sure you have the latest version of Google Chrome installed. You can check for updates by opening Google Chrome, clicking on the three dots in the top right corner, and selecting "Help" > "About Google Chrome." If an update is available, follow the prompts to install it.

  2. Run Google Chrome as root user: You can try running Google Chrome as the root user to bypass the permissions issue. However, this is not recommended as it poses a security risk. To run Google Chrome as root, open a terminal window, type "sudo google-chrome-stable" (without quotes), and enter your password when prompted.

  3. Create a new user: If you don't want to run Google Chrome as the root user, you can create a new user account and try running Google Chrome from that account. To create a new user, open a terminal window, type "sudo useradd -m newuser" (without quotes), and enter a strong password when prompted. Then, log out of your current user account and log in to the new user account. Try running Google Chrome from this account to see if the issue is resolved.

  4. Install necessary libraries: Google Chrome requires certain libraries to run properly. You can try installing these libraries to see if that resolves the issue. Open a terminal window, type "sudo apt-get install libfontconfig1 libx11-6 libx11-xcb1 libxrender1" (without quotes), and press Enter.

  5. Disable sandboxing: Google Chrome uses sandboxing to improve security, but it can also cause compatibility issues. You can try disabling sandboxing to see if that resolves the issue. Open a terminal window, type "sudo -H gconftool-2 --config-source xml:readwrite:/etc/gconf/gconf.xml.mandatory --set /apps/google-chrome/disable_sandbox true" (without quotes), and press Enter. Then, restart Google Chrome to see if the issue is resolved.

  6. Reinstall Google Chrome: If none of the above steps work, you can try uninstalling and reinstalling Google Chrome. Open a terminal window, type "sudo apt-get remove google-chrome-stable" (without quotes), and press Enter. Then, download the latest version of Google Chrome from the official website, extract the downloaded file, and run the installer.

If none of the above steps work, you may need to consult with a Linux expert or contact Google Chrome support for further assistance.