GNU/Linux >> Tutoriels Linux >  >> Ubuntu

Comment exécuter Google Chrome en tant que root – Ubuntu 11.10 / Linux Mint 12

Dans mon dernier article, je vous ai montré comment installer Google Chrome sur Ubuntu 11.10 / Linux Mint 12 ; J'ai installé Google Chrome en tant qu'utilisateur root et lorsque j'ai essayé de démarrer Google Chrome, l'erreur suivante s'est produite.

je cherchais la solution; en cherchant sur Google, j'ai trouvé un moyen simple d'autoriser l'utilisateur root à exécuter Google Chrome.

Suivez les étapes pour exécuter Google Chrome en tant qu'utilisateur root dans Ubuntu 11.10 / Linux Mint 12.

Ouvrir le terminal ( Ctrl + Alt + T ).

Modifiez le /usr/bin/google-chrome et ajoutez le "–user-data-dir" à la fin de la dernière ligne (Ligne No :42).

raj@geeksite~/$ sudo gedit /usr/bin/google-chrome

Avant

export LD_LIBRARY_PATH

export CHROME_VERSION_EXTRA="stable"

# We don't want bug-buddy intercepting our crashes. http://crbug.com/24120
export GNOME_DISABLE_CRASH_DIALOG=SET_BY_GOOGLE_CHROME

exec -a "$0" "$HERE/chrome" "$@"

Après

export LD_LIBRARY_PATH

export CHROME_VERSION_EXTRA="stable"

# We don't want bug-buddy intercepting our crashes. http://crbug.com/24120
export GNOME_DISABLE_CRASH_DIALOG=SET_BY_GOOGLE_CHROME

exec -a "$0" "$HERE/chrome" "$@" --user-data-dir

C'est tout. Vous pouvez maintenant démarrer Google Chrome à partir du menu en tant que root.


Ubuntu
  1. Comment installer le navigateur Google Chrome sur Ubuntu 16.04 Xenial Xerus Linux

  2. Comment installer le navigateur Chrome sur Ubuntu Linux

  3. Comment installer Google Chrome sur Ubuntu

  4. Installez Google Chrome 26 sur Ubuntu 12.10 / Linux Mint 14

  5. Comment exécuter Google Chrome en tant que root sur openSUSE 12.1

Comment installer Google Chrome sur Ubuntu

Comment installer Google Chrome sur Linux Mint 20 / Linux Mint 20.1

Comment installer Google Chrome sur Ubuntu 16.04

Comment installer Google Chrome sur Linux Mint 19

Comment installer Google Chrome sur Linux Mint 20

Comment installer Google Chrome sur Ubuntu 20.04