How to kill chromium command line over ssh?
To exit Chromium gracefully use the following command:
pkill -o chromium
If you do not specify the "-o" ("--oldest") flag you might see the "Chromium didn't shut down correctly" pop-up next time you start Chromium. Because signal will be received by all chromium processes instead of just the main one.
Based on this answer.
pkill chromium
did the trick .