General :: Start Process Automatically?

Jul 7, 2010

I want to start process automatically For Ex:- To start snort it need the root user, So here I need a script which will start snort automatically without asking the root user or password.So that I can start snort from anywhere as same as root

View 3 Replies


ADVERTISEMENT

General :: Triggered Process - Start Automatically When The Desktop Finishes Loading

Jun 29, 2011

I am running Debian Squeeze with icewm as desktop environment. I am trying to start feh automatically when the desktop finishes loading. I have tried crontab -e with @reboot /usr/bin/feh /home/user/photos/ & I think that the best way to do this would be to monitor for the x-session-manag process. The reason I think this would be a good solution is that I killed x-session-manag and it killed my x-session and straight to command line interface.

View 2 Replies View Related

Applications :: TCPdump Setup To Automatically Start Process Again

Jul 1, 2010

We are having a Linux box with Tcpdump continuously running on it to monitor bunch of sources. Separate Tcpdump process runs in a background for each host for monitoring traffic. I use -w option with it to save the capture in the pcap format to analyze it later. Now what I need is, if the Linux machine gets rebooted amidst of its packet capturing activity, I want tcpdump to automatically start the process again for every host without overwriting previous captures.

Remember: Without overwriting previous captures . . .
Basically, I will be keeping all the tcpdump commands in the shell script and will load the script at startup during the linux boot. Is there any way to achieve this case, where by on rebooting, Tcpdump does not overwrite previous captures?

View 2 Replies View Related

Slackware :: Process To Automatically Start Bittorrent Download?

Apr 26, 2010

this is not specifically a slackware related question, but since done on 2 slackware boxes... the situation is, i have one box for browsing and other desktop activities and another box acting as router/local server. what i want to achieve is that the router box would look on a nfs mounted folder for new *.torrent files (which i put there from the desktop box) and if there is a new file, it would start downloading it automatically. also a good thing would be if it would notify me when finished.so how would you go about itwhat torrent client would you use and so on? maybe someone has already done something like this?

View 4 Replies View Related

General :: Slackware 13 Automatically Lock - Ktorrent Start Automatically?

Jan 25, 2010

what to do for lock automatically slackware 13 if not used for n minutes ?What can i do to start automatically the ktorrent (a bittorrent program for linux) on system starts on slackware 13 ?

View 2 Replies View Related

General :: How To Get Conky Start Automatically When Start Fvwm

Sep 22, 2009

I use Opensuse 11 with fvwm. How can I get conky start automatically when I start fvwm?

I setup the conky under fvwm session for my Opensuse 11 but it won't start automatically. I am wondering how to write some kind of scripts to force it to start automatically and with a delay about 10 seconds after fvwm starts.

View 10 Replies View Related

General :: Automatically Restart A Process Every Few Hours?

Dec 30, 2010

I'm having a VPS using Ubuntu 10.4 and i would like a guide on how to restart apache2 process every few hours (a time determined by me).

View 11 Replies View Related

General :: Start A Machine Automatically?

Nov 4, 2010

I am using fedora 13. I need to start machine at 9 am and shut-down or hibernate it on 9 pm automatically. Is their is any way.In windows i found this way

View 6 Replies View Related

General :: Getting Program To Start Up Automatically?

Jun 14, 2011

If I need certain programs such as ktorrent to start automatically on bootup, how do I do it?

View 1 Replies View Related

General :: Start New Installed XFCE4 AUTOMATICALLY?

Jul 8, 2010

I just removed the gnome from the ubuntu 9.10.then i reninstall the xfce4.i am invoking the xfce4 by typing#startxi want to start the xfce4 as usual like the gnome did automatically by asking login window.

View 2 Replies View Related

General :: Automatically Start An Application After Login In Kde4?

May 28, 2010

I am using Kde 4.4 and I would like to start one of the applications automatically after every login to the system. How can I configure it? I remember I managed to find a dialog window in one of the previous versions, but I can't find it now.

View 1 Replies View Related

General :: How To Start Postgresql Server Automatically When Boot?

Aug 5, 2010

I'm wondering how I start it automatically when I boot up the ubuntu 10.04? especially, when I created the user "postgres", I set a password to it. every time I issued "su - postgres" command, I need to give it a password.

View 2 Replies View Related

General :: KDE Screen Saver Box To Start Automatically After 1 Minute

Apr 24, 2011

My KDE scrn-saver box to, Start automatically after 1 minute is left un-checked and my power mangement options are set to, Do nothing when idle, but every ten minutes my screen powers down?

View 4 Replies View Related

General :: Start Up Script Permissions Automatically Changed

Jun 21, 2010

One of our client was complaining that their server was down and mysql and apache services were down. The server is Ubuntu 8.04. When we checked, the permissions of /etc/init.d/mysql and /etc/init.d/apache2 were changed to 644 from 755. How could this be possible?I need your valuable suggestions on how can i monitor whether any malicious intrusions or scripts are running.

View 2 Replies View Related

General :: Reboot The Server The Process Doesn't Start?

Mar 5, 2011

I need help adding a nohup command in this command line: su - rhx12 -c "/rhythx/rhythx/bin start /rhythx/rhyth" When I execute the script using root on the command line it works fine. But, when I reboot the server the process doesn't start. This script will go into the etc/init.d and rc2.d directory.

#!/bin/bash
case $i in
start)
su - rhx12 -c "/rhythx/rhythx/bin start /rhythx/rhythx"
;;

[Code]...

View 2 Replies View Related

General :: Make Openbox Automatically Start To Use A Specific Gtk Profile?

Jul 7, 2010

I have switched to openbox from Gnome and would now like to stop using Metacity altogether. When I was using metacity I had both a control theme (e.g. gtk theme) and fonts set up how I liked them in gnome-appearance-proporties. When Openbox starts, it gets my window borders up properly (ofc.) but fails to render my fonts properly and uses the wrong gtk theme. I can't find anywhere to specify which gtk theme to use or what method to render my text with. After Openbox is finished doing it's thing, and I run gnome-apperance-properties manually, it will automatically set everything to it's proper value, but I don't want to have to do this as it takes several seconds to preform and I'd rather not have it jury rigged like this.

View 2 Replies View Related

General :: Start/stop Recording Automatically When There Is Someone Starts Talking?

Dec 24, 2010

I want to start recording when someone starts talking, and stop recording when it becomes silent. I guess if there is stream audio processing tool like ImageMagick, so I can strip away blank sections like this:

$ rec -t wav - | wavefilter -strip-blank=3sec | lame - >record1.mp3

EDIT This question is resolved by using:

$ rec -t wav - silence 1 0.1 3% -1 1.0 3% | lame - >record1.mp3

View 1 Replies View Related

Ubuntu :: Start Synergy On Startup Wont Start Automatically On Server

Oct 13, 2010

Im trying to run synergy on startup. This works fine on the client, but it wont start automatically on the server. I put this line in an entry in startup applications:

[code]...

but still no dice.

View 9 Replies View Related

General :: Bash Script - Check Process Is Running, If Not Start?

Feb 7, 2010

I am using Sphinx search on my webserver and it quits after a certain amount of time leaving my search page broken.Here is a bash script that I want to run every 10mins via cron:

Code:
#!/bin/bash
if pgrep searchd | grep "[0-9]"

[code]...

View 24 Replies View Related

General :: Make Windows 7 Start Automatically With Dual Boot Fedora 14?

May 25, 2011

I have Windows 7 and Fedora 14 both on my laptop in dual boot configuration. When my computer starts up it shows a screen that says press any button to select another operating system to start, then I can make Windows 7 start. But after 2 seconds, if I DON'T press any button then Fedora starts automatically. How can I change this so Windows starts automatically when I don't press any button?

View 4 Replies View Related

Fedora :: Schedule A Process To Start At A Specific Time (not On Start Up)?

Jan 19, 2010

I'm trying to find how to schedule a process to start at a specific time (not on start up). How would I schedule a process/application to start at a specific time (if it matters, it will be a background process). For instance, have process abc start every weekday at 5am. I've done this for windows many times though have only been using linux regularly for a few months and haven't figured out the best way of doing this.

So far the best solution I have is to create a program that will start on boot and have it check the time and sleep until the required time and then start the required process(es) at the required time(s). But this seems more of a hack since I'd expect there to be a proper way of doing this.

View 4 Replies View Related

General :: Automatically Start A "vi" At Start Up?

Jan 7, 2011

I'm new to this linux.I installed "fedora 14" on my desktop.I just changeed text mode.(etc/inttab -> id:3:initdefaultSo, when my pc powers on, I want automatically start "vi" program.

View 6 Replies View Related

General :: Bash Shell Script To Check / If Empty Files Are Being Created & Start Process

Jun 25, 2010

I have an Ubuntu server in which a file is dumped every hour and a new file for the next hour and the process continues. If there is any problem due to which the creation of file stops then empty files are created every minute till the process is killed & started again. I need help to make a shell script to check if the empty files are being created and then kill the process and start it again.It would be a great help if anyone can help me regarding this.

View 9 Replies View Related

Software :: Zombiee Process + Postfix Stops Automatically?

May 12, 2010

i have around 15 zombiee process on my linux ubuntu server 9.10 and i am unable to login I get the system details after i login but the shell promot comes back to login prompt again.My postfix server also stops in between and i have to reboot the entire system.

View 4 Replies View Related

Ubuntu :: GEdit Process Won't Automatically Stop When Window Is Closed?

Jan 24, 2011

I recently upgraded to Ubuntu version 10.10 64-bit and since then closing GEdit won't stop the process automatically when the window is closed and I have to kill it manually. I didn't have this problem with version 10.04 (also 64-bit) and I didn't change any settings after the upgrade.

View 2 Replies View Related

Networking :: Create A Script Which Checks For The 2 Process And Restart It Automatically?

Mar 11, 2010

There are two host agent process ( hprsmha -WD and RSMHA ) running on my SLES 10 server suddenly hangs which is critical for my daily scheduled backup jobs.I want to create a script which checks for the 2 process and restart it automatically.so i can put it to daily cron job.My knowledge with scripting is so poor. Following are the commands i am running manually to stop and start the process.

cd /etc/init.d
./hprmsha stop
./hprsmha_wd stop
./hprsmha_wd start
./hprsmha start

View 4 Replies View Related

Ubuntu :: Automatically Run A Process In A Screen Session And Then Detach And Quit Terminal

Jul 24, 2010

There are often times when the best way to launch an application is from the terminal, but it is a graphical application and after it is launched the terminal is useless.

Examples of places where a terminal is convenient are when a process starts lots of child processes and is also unstable; you can be sure to kill all of its children simply by using Ctrl-C at the terminal. Also it allows me to read program output and to set up the terminal environment to be optimal for the application (for example "unset LIBGL_ALWAYS_INDIRECT")

With GNU screen, I can get around the hassle of having a terminal window open by using something like the following in a terminal window:

Code:
screen
my_command
Ctrl-A d

and then I can close the terminal and the program will keep running. Then I just type "screen -r <Tab>" (the tab will get me my screen session if there is only one such session) in any terminal window, even a tty, and I can get the screen session back and use Ctrl-c or something.

So my question is, is there a way to do this automatically so that a launcher or script will start a screen session, inside that screen session start a process, and then detach from that screen session without me having to manually open and close a terminal and type the commands?

View 2 Replies View Related

General :: Make A DRBD Node Start Itself As A Primary Node Automatically?

Jan 28, 2010

I've set up DRBD on 2 machines, 1 of them is the master, another is the slave.

After each bootup, I need to run the following on the master machine:

Code:
drbdadm -- --overwrite-data-of-peer primary all

Do we need to specify which machine should be the primary node every time? Is there any method to make the machine "know" it's itself the primary node?

View 1 Replies View Related

General :: Start Truecrypt Automatically And Use The Same Password As Login Password?

Sep 13, 2009

Ubuntu 8.4 Just installed Truecrypt yesterday. Would like to be able to start Truecrypt automatically and use the same password as my login password.

View 1 Replies View Related

Ubuntu Servers :: BASH Scripts For Websites - Automatically Download And Process Data

Sep 1, 2011

set up BASH scripts on the server to automatically download and process data, and then upload it to my website. Is it even possible? Do servers allow website owners to place BASH scripts that can run automatically, or keep running indefinitely?

View 5 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved