General :: Run Script At Startup?
Feb 4, 2010
I Need to run a specific command (pinging a particular machine). Which need to run every time i reboot the server till the time it shut down. What is the preferred way of doing this.
Will it impact my system performance.
My Operating system is as below.
Code:
[root@XYZ~]# lsb_release -a
LSB Version: :core-3.1-ia32:core-3.1-noarch:graphics-3.1-ia32:graphics-3.1-noarch
Distributor ID: OracleVMserver
Description: Oracle VM server release 2.2.0
Release: 2.2.0
Codename: n/a
[root@XYZ~]# uname -r
2.6.18-128.2.1.4.9.el5xen
View 6 Replies
ADVERTISEMENT
Feb 23, 2011
I have a problem with my keyboard on Kubuntu 10.10. The specifics of the problem are not really relevant right now. I can fix it by running 'setxkbmap br' on the command line. It's good for the entire session (KDE). But I often forgot to do that, so I want to have that done automatically. I tried adding it to my .tcshrc file, it didn't work. I tried adding it to /etc/rc.local, it didn't work. Where can I insert that line and have it run automatically? Please note that my login shell is tcsh, not Bash.
View 8 Replies
View Related
Feb 11, 2010
How do i log all startup text from when grub loads to when desktop appears?
View 2 Replies
View Related
Feb 11, 2010
i installed win xp2 in my c: drive as usual it deleted my grub startup I had fedora 10 installed before installing XP and when i put the fedora cd to get back the startup it shows the following : " An Unhandled Exception has occured..This is most likely a Bug" and the details i had deleted my swap partiton.
View 3 Replies
View Related
Sep 20, 2010
Is it possible to mount a partition on the hard drive that somehow is also scanned along with rc.local (or wherever the appropriate startup files go)? I want to boot a live image and have something automatically run but I can't change any files in the Live Image.
View 1 Replies
View Related
Mar 1, 2011
I've recently installed virtualenv + virtualenvwrapper on Linux Mint 10 LXDE. For convenience I've added the standard WORKON_HOME settings to my ~/.profile
export WORKON_HOME=$HOME/Envs
source /usr/local/bin/virtualenvwrapper.sh
Then I've noticed that workon does not work after login, which means the above commands were not run. If I source ~/.profile then it works. I'm really not sure what could cause .profile not being run? I've checked and I don't have .bash_profile or .
View 1 Replies
View Related
Mar 21, 2011
I am using Vetor Linux and I want to login automatically every system starpup instead ask for user and password. Vector linux is based in slackware and uses shell to ask user and password.
View 1 Replies
View Related
Jul 12, 2011
I put one script in /etc/init.d/abc.sh. Now I want it to run at startup.
How can I do that with chkconfig?
chkconfig --add abc.sh
But I am not sure how it works.
View 2 Replies
View Related
Feb 18, 2011
I need to startup a program automatically. What to do? I using kubuntu. In Windows, you go to the startup folder under program files(I think.)
View 1 Replies
View Related
Oct 27, 2010
I'm using Kubuntu 10.10 and since I don't need Bluetooth I've disable startup for BlueDevil. Can I also disable startup for obexftp, or is it require by other processes?
View 4 Replies
View Related
Mar 12, 2010
I want to measure the startup time of any GUI app (e.g. firefox) using the time(1) command. However, timing is measured until the app is closed, which has to be done manually by exiting it or clicking X.
How can I get the app to load, terminate immediately and give me the startup time?
View 2 Replies
View Related
Nov 2, 2010
my problem is that an application which I want to start at the startup is creating some problems if it is started at the startup. But if it is started after a few seconds or say a minute of the startup, it doesn't cause any trouble.
View 9 Replies
View Related
Jun 11, 2011
I have an embedded box on which I am developping a driver using a linux kernel. I frequently need to reboot it and relogin as root.
I wounder whether I can modify the boot sequence so that it directly boots into a bash belonging to user 'root'.
I know that this represents a security issue -- looking at my "use case" this is of concern.
View 6 Replies
View Related
May 1, 2010
I have an Acer Travelmate with an external Bluetoothswitch. Everytime I boot Linux Bluetooth is automatically activated. I'm running Kubuntu. How can I disable my Bluetooth so that it doesn't start on Startup?
View 8 Replies
View Related
Jan 26, 2010
I have been using Sabayon 5 64-bit edition , Everything has been going great . Last month I accidentally clicked on "automatically remember running application on logging out" option in startups applications preference box -> options tab.
After which some 5 applications incl. firefox and someothers running then start everytime i boot the computer.
Its annoyance increases day by day as it makes startup slow.
I could not find a file in which this information(Apps to startup) is written.I checked /etc/runlevels/default after some googling , but cant find anything interesting there , at last gave up
View 6 Replies
View Related
Mar 13, 2011
I've created a sample.sh file which I manually run on a terminal in Centos 5.5, I just want to know how can I make it run automatically hen the centos box starts?
View 2 Replies
View Related
Nov 1, 2009
How do i disable startup programs in fedora 11.
actually pulseaudio sound system starts up every time i log in. It interferes with the vlc media player running on wine 1.1.13(compiled from source). i killed the pulse audio process, and every thing works fine, but i have to do it every time i log in
View 4 Replies
View Related
Jul 30, 2010
I am using Ubuntu as my os.I have read that we can change the startup message.So i go to etc directory as root, and found file called "motd" and try to open it.But it says "The Link "motd" is Broken. Move it to Trash?"This link cannot be used, because its target "/var/run/motd" doesn't exist.So how can i make startup message.why i couldnt open that file
View 1 Replies
View Related
Oct 8, 2010
I had windows vista on one partition, xp on another documents on another and programs on another.When I installed ubuntu on a new partition it very kindly let me see all the other partitions and mount them as necessary. I would like all my ubuntu files, documents music downloads to go right on to the documents partition so when I back up that drive to an external I have it backs up the documents drive it has all the files I have created in vista or ubuntu. Eventually I want to leave windows completely but I would still want to store all the ubuntu files on the documents drive.
I can go to "places" and mount the documents drive but what I would like to do is when I fire up ubuntu that the documents drive mounts automatically.
View 2 Replies
View Related
Jun 21, 2011
Made a little c-program i want to start at boot and found out that i can do that through the rc.local script that runs once every time the computer boots. Say that i have a program called test in /home/user/Documents... what do i write rc.local?
View 10 Replies
View Related
May 14, 2011
As I tried to explain on the title, what i need is to run this command "NetworkManager --no-daemon" as root every time I start my arch+gnome so that the nm-applet would show on the panel.I need to know a way to do this automaticaly each time I start my pc
View 6 Replies
View Related
Aug 9, 2011
I have a program I have made, and I would like it to run as soon as the system is finished booting. I am using Ubuntu Mini Remix to recreate a LiveCD/USB stick. After booting, it drops me to a command line where I can enter "sudo qct" and it will run my program (which is called qct, and it has to be run as root).I want this to be automated.Instead of going to a command line, I want it to run the program itself at that point. How would I go about doing this? I have read many tutorials about scripting but I cannot seem to get it to work.
View 11 Replies
View Related
May 11, 2010
I want to start a service and a script SiteMonitor.sh at startup.
Here is brief working of SiteMonitor.sh(This script monitors the ip addresses of machines which are using http service of the host. This script checks this after every 5 seconds therefore i have run it at background.)
To start with i have modified /etc/rc.local file.
Here is the content of my /etc/rc.local file.
Code:
#!/bin/sh
#
# This script will be executed *after* all the other init scripts.
# You can put your own initialization stuff in here if you don't
# want to do the full Sys V style init stuff.
[Code]....
View 14 Replies
View Related
Mar 17, 2010
i use PCLINUXOS 2009.1 and in kde i installed superkaramba themes. but after i logoff and get back in not only karamba not starts;the themes when i took a look are gone.
if there is way to edit the kde startup also help me with that issue too.
my kde version is KDE version: 3.5.10
View 2 Replies
View Related
Jan 14, 2010
I'm running Ubuntu 9.10 inside VMWare Workstation on Windows XP (Yo dawg... I put an OS inside yo OS), and when I rebooted my virtual machine tonight it happened that I couldn't reach the login screen. I've rebooted several times and after going through the usual boot sequence and showing me the boot progress bars, Ubuntu hangs at what should be the login screen with the "busy" cursor spinning round and round.
I can press CTRL+ALT+F1 to get to a console, however, and then I can login and use my computer normally (albeit without a GUI). The only thing I can think of that I've changed recently was I installed a new window manager, XMonad -- but I don't see how that could affect the login screen.
View 1 Replies
View Related
Sep 21, 2010
I was going through a server hardening manual.t some interval it was mentioned that there should not be any alias for commands defined in roots startup files .
View 1 Replies
View Related
Mar 11, 2011
I had add this line to the /etc/rc.d/rc.local
/usr/bin/yakuake
when I restart the computer, the application won't run.what shall I do?
View 14 Replies
View Related
Mar 2, 2010
I'm using an Intel-based macbook, I made a new partition with BootCamp, after that I inserted debian installation CD, deleted the FAT32 partition that was made by BootCamp, made 3 new partitions:
/ ex3
/home ex3
and a swap partition,
after installing debian, I restarted macbook, but it couldn't recognize linux partitions, in Mac OSx I can't find any of these partitions as startup disks, and I can't mount them in Disk Utility, How can I access these partitions? how can I boot to debian?
View 3 Replies
View Related
Mar 31, 2010
I have create a script to start a server(my first question). Now I want it to run on the system boot and start the defined server. What should I do to get this done? My findings tell me put this file in /etc/init.d location and it will execute when the system will boot. But I am not able to understand how the first argument on the startup will be start? Is this predefined somewhere to use start as $1? If I want to have a case startall that will start all the servers in the script, then what are the options I can manage.
My Script is like this:
#!/bin/bash
case "$1" in
start)
start
[code]....
View 2 Replies
View Related
Apr 14, 2010
Is there a way I can run 'completely' one of my script when ubuntu's desktop appears no matter if root , administrator, desktop user or an unprivileged user logged in?
What does the script do? The script mounts a partition, looks for a file in that partition and finally on the basis of that file a decision of copying a partition to another partition is made. That copying is done via
[Code]...
View 5 Replies
View Related