General :: Auto Run Script In Startup?
Mar 13, 2011I'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 RepliesI'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 RepliesI know this must be out there somewhere but I can't find the answer When I boot my computer there is a screen the lists all versions of Ubuntu and also a Windows partition. How can I have it auto select the latest version of Ubuntu?
View 2 Replies View RelatedIs there a way to set-up Virtualbox to auto-run upon startup.
I am working on my mothers computer and she has to have Windows for Internet Explorer. The websites she has to go on for work require IE6+, and there are a couple programs she has to run that only works with windows may work with Wine.
But she wants something more stable than windows... She has really bad luck when it comes to Windows, so I was talking to her about Ubuntu. After thinking everything over, If I could get her computer to startup with Virtualbox and run Win XP in it all her problems may be solved.She has 2 computers so I can play with one of them to figure it all out and she can play and learn Ubuntu.
how to set auto mount at startup. I have 3 partition how can i auto mount this partition at startup.
View 7 Replies View RelatedI am trying to configure Red Hat ES to automatically start WebSphere Application Server (WAS) automatically upon boot after DB2 services (which already start on boot) are loaded to avoid WAS errors. Note that WAS runs under the jvm so there are processes named WAS or WebSphere when it is running.
My question is, do any of you know a way to setup Linux to automatically start WAS after DB2 services have been successfully started? The web apps running under WAS will have errors if DB2 is not up and running when WAS starts up. I think a 30 - 60 min delay between startup of DB2 and startup of WAS would work perfectly. I am not sure which config file would need to be updated with the call to command to start WAS (I have the command, just don't know where to put it) nor do I know how to ensure DB2 is running before WAS starts in a config file. Right now, I have DB2 loading on boot and WAS starting after I login to xterm.
How can I let transmission startup automatically so that I can use the webinterface?
Now I always need to open the transmission GUI and then the webinterface is ready to use.
i reinstalled opensuse yesterday.when i turn on my system every time i need to enter my root password to mount my partitons.please see the following image.i want to automount all partitions on startup without giving root password(before reinstalling opensuse it didn't ask root password to mount my partitions)
View 9 Replies View RelatedI've been trying to unsuccessfully auto-mount my drives when starting up. I've made a script that sets me to the root using "sudo -s" and then mounts the drives. The commands to mount the drives work properly when entered into the command line, but when I try running them from an executable, they don't work. What might I be missing?
View 2 Replies View RelatedI was trying to automount a few NTFS partitions last night. Upon reboot, I got the following error messages.
/device/sda2 ... is not ready or present
/device/sdc2 ... is not ready or present
Then Ubuntu just freezes. I am using Ubuntu Natty, if that helps. I am currently unable to get into Ubuntu without a LiveCD.
How to auto start programs in startup time?
View 4 Replies View RelatedNautilus mounts NTFS partitions when I acces them, and before mounting, it asks for root password. Is there a method to auto-mount ntfs partitions on Debian startup, without requiring root password each time they are automatically mounted ? And without installing additional packages.
View 3 Replies View Relatedi am using fedora 14. Each time i login i have to manually mount my windows drives. Is there any script or system setting which will help me to auto mount my windows drive on startup.
View 3 Replies View RelatedI am using Ubuntu as the client machine operating system. I have a start up program to connect to a Windows terminal Server. I am needing assistance in how I can force the client to logoff if the terminal connection is terminated for any reason. This is more of a security issue as we do not want the students using the computer to access the loacl machine at all. The program works great on boot, but it shows the home screen when terminated.
View 1 Replies View RelatedI have edited my /etc/fstab file in order to have it automatically mount a windows network share at startup.
The problem is, that it isn't really working during startup. After I log in, in order to make it mount I have to open the terminal and enter "mount -a".
The following is my fstab file:
Code:
I suspect this has something to do with my laptop not having made a network connection when the entries are mounted, but I'm not sure. How would I go about finding out about any errors?
I have a Broadcom 4312 wireless chip. I have use the STA drivers that Ubuntu recommends. I can connect quite easily just by clicking on the icon, so this is more than a niggle than a problem.
My network isn't protected as we live in the middle of nowhere (quite literally) and network theft isn't a problem. We also run a self-catering cottage, and let guests have free access to our network anyway, so it is easier for guests to access our network without me having to give them all the key. When I did use wpa, it would start itself up with the laptop, so I kind of know that this might be the cause. Is there any way I can fix it without encrypting the network?
I've got an Acer 7736 and had quite a few issues with no sound after my install of 10.10. After quite a bit of fiddling I managed to get that sorted and I now how have sound. I believe I'm using alsa although pulse also does seem to be on here. The reason I say I believe I'm using alsa is that after startup, I have no sound on speakers unless I unmute it in alsamixer.
As I understand it alsa's supposed to save your settings on logout/shutdown/reboot but this doesn't appear to be the case, and I'm not able to find any asound.conf or the like in the places they're apparently supposed to be.
Is there a way to auto mount partitions or SATA HDDs on startup, using 10.10?
I have no problems reading the drives.
Dropbox will not start properly because my Lucid installation is on a SS HD (/dev/sdc) but my data, including my Dropbox folder is on an internal NTFS-formatted HD (/dev/sda), and I also have another internal HD for backups (/dev/sdb).
For some reason I can get the backups HD to auto-mount on startup, but not the data HD. My fstab file looks like this:
Does anyone know if there's a way to make nano support auto-complete and auto-bracket closing?
View 1 Replies View RelatedI code primarily in jQuery/JavaScript, and I'm looking for a text editor for Linux that has auto-indent and auto-outdent (seems to be tough to find that). Any suggestions? I've checked Gedit, Cream, vim, Bluefish.None of them seem to have this feature.
View 2 Replies View RelatedI recently installed 32bit maverick and wanted to make it login automatically. I tried enabling auto login from Admin > Login but that didnt work and I was still prompted for my password. Then I went to Users & Groups and changed the password option to Do Not ask for password at login now after I reboot, the user list is shown (only 1 user) and it doesnt ask for password after I click on my username.
However, then it gives a few errors (as i vaguely recall):
1. cannot load .ICE directory in my home directory
2. some error 256 about a gconf-sanity-2 file
3. nautilus cannot load my home directory etc
and then it gets stuck without loading anything (blank wallpaper). i ve tried navigating to my home directory using Alt F2, gksudo nautilus and my home dir contents are encrypted by the ecryptfs (there is a readme.txt file and a shortcut). i have tried to decrypt but it doesnt work... i ve also tried to start/stop gdm, and startx but nothing works. if i stop gdm, then the prompt doesnt recognize my password and keeps on rejecting the commands i enter... I think this has something to do with the home dir not being decrypted due to the dont ask for paswd option... how can i disable the dont ask for pwd without the gui (i can access my / by booting through an external usb).
I have noticed that a common issue to several distros is the fact that the networking subsystem doesn't automatically detect the link if an ethernet connection is disconnected and then re-connected to the NIC after boot. If the ethernet cable is connected after the system is up and running, nothing happens - ethtool eth0 shows link detected: no, and you have to restart the network service to let the NIC know that there is in fact a link, and actually connect. I have a Fedora14 (KDE) box with a brand new Asus motherboard with embedded NIC. Everything works great except the auto-detect of a freshly connected ethernet connection if the link is down to begin with.
Am I missing a ethernet link sentinel utility or something, or is this just the way linux works? I have done plenty of research on plenty of posts, and it seems this is a common problem, with no solution other than manually or programatically restarting the network service in a script to detect the link after a disconnect.
I press On-button, Debian boots, logs in and automatically connects to the Wireless network AND! to my local pc via LAN. It runs an ssh server, so I can ssh into debian over internet and communicate with the local pc (send a magic packet).Here are my problems:
1) I don't how to log in automatically. This and this doesn't work.
2) I need a network tool that can manage multiple connections and has a reconnect feature. With the default network manager I cannot even connect to more than one network simultaneously although I have two network devices of course.
And I guess I can run all that in console mode, right?
I would like to exec a script whenever a user mount a device. The device could be an internal device (for example a partition on a second hard disk) or a removable one (for example a usb hard disk). The script must have sudo capabilities even if the user is not included in the admin group. Is it possible?
The specific question:
I would like to add acl option to a device whenever it is mounted.
I tried fstab but it's changing the behaviour of nautilus see:
[URL]... so I would like to create a script with the command
Code:
sudo mount -o remount,acl /media/data
and auto execute it any time data is mounted.
I recently installed a server with Software RAID. I tested by powering it down, unplugging one drive and powering it up. Magically, it worked!I found out later that I have to manually add individual devices like md1 to sda2 md2 to sda4. I got all of them added and rebuilt but my question is: Is there a way to make it so that if I "removed" a drive and put it back, the system will senses the new drive and rebuilds based on some internal table?
View 1 Replies View RelatedI'm trying to move my bash configuration from Ubuntu to Mac OS X and it looks like ls is slightly different. For instance, it won't accept the --color option.How do I get this to work?
View 3 Replies View RelatedCan a Ubuntu (or any other distro) wake up from standby/hibernate at a preset time?
I actually don't want the PC to consume 200W all the time for just doing something every hour.
Before there was a way to use gdmsetup for auto-login. But now in Fedora 15 i cant do auto-login anymore. Anyone know how i can do this?
This is the problem i cant solve to not show any kind of login prompt (Tried this):
TimedLoginEnable=true
TimedLogin=user1
it shows still the user1/password login prompt and wait for few seconds and then auto login. But i want it straight goes to the desktop.
I am checking something out in my connection and I just wanted to ask, is there a way to auto-disconnect and connect from the internet.For example say I want to disconnect now and reconnect to the internet in 0.05 seconds, is there any program that does that on Fedora Linux?
View 1 Replies View Relatedi'm working with x86 small computer having 128 ram and 233MHz speed in processor nd i'm going to do a project which need auto mounting of a pen drive if you can post a url that I can download those OS.
View 5 Replies View Related