Closing terminal window dosn't kill sudo'ed program

Ralf Mardorf ralf.mardorf at alice-dsl.net
Thu May 21 22:21:48 CEST 2015


On Thu, 21 May 2015 19:29:54 +0000 (UTC), Grant Edwards wrote:
>In the launcher, uncheck the "run in terminal" box 
                  ^^^^^^^ check the box ;) or use gksudo or pkexec
without a terminal emulation.
 
Execute the command using the -e option when you want to start it in a
terminal emulation.

sudo xfce4-terminal -e ./testit.sh

or better

sudo roxterm -e ./testit.sh

If the terminal emulation is unneeded, you also could use

gksudo ./something.sh
pkexec ./something.sh

-- 
It only looks like a tape-recorder. It's actually a pen.
So you can write with it and no one will know.


More information about the Xfce mailing list