Shaikh Mohsin 0 Newbie Poster

Hello every one i have small shell script code i want to load it as system boots up,how to do it and where to put that code in new kernel that can take effect as soon as i start my pc.....
i have tryed some steps
1] create .sh file in /etc/init.d

2] chmod 755 myscript.sh

3] if i run ./myscript.sh there it runs perfectly.

4] then update-rc.d myscript.sh default

5] it gives all the updates that it have been loaded

but when i restart my system i cant able to see my output the graphical startup start...how to see my output..i am using ubuntu 9.10
and i want this new thing in my new kernel...how to do it.

and can shell script provide me to use rdesktop from booting as all init program get loaded after that......my script get run and allow me to use rdesktop with windows or linux.

if i cant explain properly....plz ask again thanks...