(SOLVED) Can't kill Vivaldi with the killall command



  • I am running Linux Mint MATE 18.1.
    If I run the killall command in the terminal and enter 'killall firefox',
    it will shutdown firefox if firefox is running. The same holds true for
    other applications, like caja or chromium for example.
    Not so with vivaldi. I have tried 'killall vivaldi', 'killall vivaldi-stable',
    'killall /usr/bin/vivaldi', 'killall /usr/bin/vivaldi-stable'.
    The terminal always returns 'no process found'.

    Anyone know why ?
    Thanks, Arky


  • Moderator

    @jim217 said in Can't kill Vivaldi with the killall command:

    I am running Linux Mint MATE 18.1.
    If I run the killall command in the terminal and enter 'killall firefox',
    it will shutdown firefox if firefox is running. The same holds true for
    other applications, like caja or chromium for example.
    Not so with vivaldi. I have tried 'killall vivaldi', 'killall vivaldi-stable',
    'killall /usr/bin/vivaldi', 'killall /usr/bin/vivaldi-stable'.
    The terminal always returns 'no process found'.

    Anyone know why ?
    Thanks, Arky

    Vivaldi has multiples instances, That's why the killall command does not work.
    Try:
    kill -9 PID



  • @lamarca

    Ok, but how do I find the PID of vivaldi ?
    If I enter pidof caja, it returns a number.
    If I enter pidof xed, it returns a number.
    On vivaldi, it returns nothing.
    And even if it did return the PID,
    how could you do that and use the number
    in a script ? You would have to have the
    PID # be put into a varible and the variable
    used with the kill command.
    Is that possible ?

    Also, I was reading about how to use the killall command,
    and in several places, they all say the killall command
    will kill all instances of the process; and that you don't
    need to know the pid's, just the process name.

    Thanks,
    Arky



  • It runs as vivaldi-bin.


  • Moderator

    @jim217 said in Can't kill Vivaldi with the killall command:

    Ok, but how do I find the PID of vivaldi ?

    The ps command line shows you.

    ps -eo pid,comm,etime | grep -v grep | grep -i vivaldi

    0_1494632088817_pid.png



  • killall vivaldi-bin will do it. No PID needed.


  • Moderator

    @andyf and don't forget the vivaldi-sandbox.



  • @andyf I don't know what you mean by that.
    If I have Vivaldi running and I want to kill it from a script,
    then what would be the command line in the script ?

    Arky



  • @jim217 The original question is about using the killall command.


  • Moderator

    @jim217 I posted the command line and its output above



  • @lamarca I don't have a vivaldi-sandbox running, just ten instances of vivaldi-bin.

    pidof vivaldi-bin returns the PIDs only if Jim just wants PIDs for a script.

    In answer to the original question, killall vivaldi-bin kills vivaldi just fine on my system.



  • @lamarca Ok, thank you very much!
    The command 'killall vivaldi-bin' does work for me.

    When I enter 'killall vivaldi-sandbox', however,
    it returns 'no process found'.
    It does that whether I enter it before 'killall vivaldi-bin'
    or after.

    When I enter 'vivaldi://sandbox in the address bar of vivaldi,
    it shows 'yes' to everything except 'SUID sandbox'.
    Yet, it says at the bottom 'You are adequately sandboxed.'
    Is that normal, or should it also say 'yes' to 'SUID sandbox'.
    And is that why when I enter 'killall vivaldi-sandbox', as
    Lamarca suggested I also do, that it
    returns 'no process found' ?

    Thanks, Arky


  • Moderator

    @andyf said in Can't kill Vivaldi with the killall command:

    @lamarca I don't have a vivaldi-sandbox running, just ten instances of vivaldi-bin.

    What is your platform?



  • I'm running Linux Mint 18.1 MATE.

    Since vivaldi://sandbox shows that there is no
    SUID sandbox, should I be using firejail with
    vivaldi ?

    I've tried firejail with vivaldi in the past but
    it doesn't work; there seems to be something
    amiss in the firejail vivaldi profile.



  • @jim217

    @Lamarca
    When I run that command 'ps -eo pid,comm,etime | grep -v grep | grep -i vivaldi',
    it shows 13 instances of vivaldi-bin, but no vivaldi-sandbox.

    Arky


  • Moderator

    @jim217 said in Can't kill Vivaldi with the killall command:

    Since vivaldi://sandbox shows that there is no
    SUID sandbox, should I be using firejail with
    vivaldi ?

    It's your decision.
    What about the command line to kill all Vivaldi instances, is it solved?



  • @lamarca Yes, 'killall vivaldi-bin' kills all the instances of vivaldi.

    Thank you !



  • @jim217 I run V-SS, V-Stable, all my other browsers, & lots of other pgms, in FJ fine [albeit i find that sometimes new FJ versions break launcher options that used to work, & fix l/o that used to play up]. These days, since discovering & adopting FJ, i feel positively "undressed" if i run pgms "natively".
    ..............................................................................................
    Tower & Lappy = Maui Linux 17.03 x64 Plasma 5.9.3.
    Vivaldi 1.10.838.7 (Official Build) dev (64-bit)

    ..............................................................................................



  • I am on Debian (basis for ubuntu->mint) and, if there is a need, I use "pkill vivaldi" which kills whatever "vivaldi*" (vivaldi-bin, vivaldi-snapshot) is running.


Log in to reply
 

Looks like your connection to Vivaldi Forum was lost, please wait while we try to reconnect.