View Full Version : [ubuntu] chrootkit scripting help

May 1st, 2009, 05:36 PM
i have added the following script to the startup apps file however it runs silently how do i modify the script so it will run in the terminal when it starts/tks

sudo chkrootkit
sleep 3

May 1st, 2009, 05:38 PM
just to clarify i want to see the output run when it starts

May 1st, 2009, 05:47 PM
try putting

xterm -e nameOfYourScript.sh

in your list of startup programs. Or if you prefer to modify the script itself,

xterm -e sudo chkrootkit
sleep 3

In either case, the magic you want is 'xterm -e' (run xterm and execute the following commands)

May 1st, 2009, 06:29 PM
deco, what did i do wrong
left script the same
add the following to startup
run chkrootkit
xterm -e run chkrootkit.sh

and get the following error message when i login

xterm: Can't execvp run:No such file or directory

May 1st, 2009, 06:34 PM
note the script is on my desktop

May 1st, 2009, 06:51 PM
note the script is on my desktop

Use the full path /home/username/Desktop/scriptname