How to make Chrome open in kiosk mode even if there's already another instance running?

31,690

Solution 1

According to this answer, you need to create a new directory and use it for the user-data-dir. This should get you started quickly:

chrome --user-data-dir=$(mktemp -d) --kiosk

That will launch an entirely new instance of Crome in kiosk mode. Note the use of mktemp above to make a temporary directory. Depending on your goals, you may want to save that to a variable and delete it after Chrome exits.

Solution 2

chrome.exe --chrome-frame -kiosk http://www.google.com

Share:
31,690

Related videos on Youtube

Jader Dias
Author by

Jader Dias

Perl, Javascript, C#, Go, Matlab and Python Developer

Updated on September 18, 2022

Comments

  • Jader Dias
    Jader Dias over 1 year

    I tried

    chrome url --kiosk
    

    but it works only when there's no instance running. I also tried

    chrome url --kiosk --new-window
    

    but it doesn't solve my problem neither.

  • vonbrand
    vonbrand about 11 years
    Give a bit more details what those flags mean, please