How do we save this? As .sh/.exe? And we write this in notepad?
Save this in a with extension .sh and run it as below:
hi, it is will be wonderful if you also add tutor to run this script on startup :D
Oh, and I notice after 1 hour it will kill the firefox and not start the firefox again.
root@01:~# sh firefox.sh
sterilz It will restart it, just try giving it a smaller time interval, you'll see it will kill firefox and open it again.
In your case, firefox or the script itself got killed by another application or command, or who knows maybe by a drunk driver ;)
you have any guide for dummis, first time using Linux :S
Kloud51 Hi, I found the centos rdp is very satisfying.. can you also create a restarter script for centos? many thanks!
sterilz Glad you liked it, the script it same for all the GNU/Linux distors, you can use it on all of them.
how to copy and paste to linux vps
cuongqua113 Please have a look at: http://bfy.tw/3QT8
Hi I've been using this script, but the only thing is, after the script restart firefox, the previous tabs are still open, so as it go, tabs are increasing causing heavy ram usage.
ernk @sterilz have a solution for it here: http://forum.kloud51.com/d/10-introducing-centos-5-x86-desktop-remote-desktop-ready/10
pleasea help me
i google and nothing to know.
can u give me a good link?
how to copy and paste into vps?
cuongqua113 Please open another thread and tagged with #Question so we can answer you there.
Can I open few tabs with that script?
(I mean if I need to launch 2 (or more) TEs)
Arvet Yes it's possible, just search how to open multiple URL from command line with your browser.
I tried this for chromium.. but it's not working as expected...
is it valid for chromium also..
Basically I running chromium through the script that shared here.
it just closes the browser after some time and stops.
In the console also I could see some error like.. sandbox error or something ...
wisdomwins Could you please provide more information?
OS - ArchLinux Desktop (Super Fast) [Remote Desktop Ready]
VPS Plan - 1024 GB
Your script file name - it was a random filename dot sh (chromium-restarter.sh) [different file name in different VPS- I have 3 VPS]
Also are you login via admin or root ? - Admin login
wisdomwins Change your script name to: browser_runner.sh, try it and let us know the result.