How do I get processes to run as root during startup? I have a random script and a package which both need to run as root in the background, but I can't find a way to do this automatically.
And I would like to have the program "expfit_spifunc2" executed after the auto login. So, I have added "xterm_expfit.desktop" inside of /root/.config/autostart
I was under the impression that /etc/environment was the place to put variables if you wanted them to be available to all users at all times. But I just realized root which is running my service processes doesn't seem to load it.My /etc/environment:
I have 2 hard drives, one holds windows (160gb), another has three partitions, 15gb for ubuntu 10.04, 5gb for swap, and the remaining 480gb formatted as ntfs for files..
The 480gb space is drive D:, my files are located there and i point the apps to get their files from drive D:. For example, "My Music" folder is in drive D:, and so I tell SongBird to grab the music files from that directory.
It's not a big problem, but whenever I restart ubuntu, drive D: does not automatically open so SongBird initially cannot locate the files. What I want to happen is that when ubuntu starts, drive D: is already loaded, so that the applications can grab the files they need from that drive automatically without me having to manually open drive D: everytime ubuntu starts.
I have coldfusion installed on a guest ubuntu server in virtualbox, it is configured with apache2 & everything works great. But how do i get Coldfusion to autostart when i boot up the guest ubuntuserver ?
I have a java application that is in this path: java -jar /home/jbo10/.stuff/run.jar
If I type that command the gui comes up and it's ready to run. I want this program to autostart with ubuntu, so I went into gnome-session-properties and put that command in there.
But it's not starting. I'm not sure what I'm doing wrong or if there's another way to autostart programs?
how do i clear autostart? i've unchecked everything i don't need in "startup applications" but still after reboot i get everything running. i cleared ~./config/autostart but after reboot there appear all the default startup applicatons. What should i do?and is there a way to remove volume indicator from indicator menu?
I am using an Ubuntu VPS(Virtual private server) with SSH access. I run my applications(mangos-realmd & mangos-worldd) in SSH terminal and they start up fine. But when I close the SSH terminal they close! but I want it so that when I close my SSH terminal that those programs remain running, and also want them to start up each time I reboot my system. I am found out with rc.local this is now solved or what-not
I just installed a very basic kde with the kde window manager. but the network applet does not autostart, neither does it connect when started from terminal.
I have Ubuntu 10.04 with Gnome. Whenever I put in a blank CD/DVD an icon on the desktop appears named "Blank CD/DVD" and a window appears asking me what I want to do with it.How do I disable the window and the icon from the desktop?
When i log into to a non root(user) mode, i am always greeted by a small terminal window before the desktop starts up. Also, after desktop starts a new window opens which displays the contents of my windows desktop.
I am unable to stop this from happening. I am running Ubuntu 10.10(32 bit) along with Windows 7(64 bit) on different partitions.
I just installed Ubuntu 10.10 using the minimal CD. I then installed Openbox and everything is working so far, except for tint2. I tried to put it into the autostart.sh in /home/noneofthem/.config/openbox, but it doesn�t exist there. Instead I found another version in /etc/xdg/openbox/. Changes to that version don�t seem to work either.
I have been trying to stop some apps from starting up like bluetooth manager etc but everytime I untick it and then reopen the startup applications preferences it is still ticked!
I also have been trying to get Awn Dock to autostart so I add it and set the command as avant-window-navigator but the next time I reopen it is not there, I have also tried checking the tick under the Awn Dock Preferences - "Start Awn automatically" but this doesn't stick either - all the other setting do though. I have looked in the ~/.config/autostart folder and that has a Padlock on it with the owner as root - should this be the case or should I change permissions on it to myself?
What would be the best way to autostart mpd when I login? I guess it wont be necessary to run as root so it should only auto start when I login with my details either from cli or xfce?
Hardware: Toshiba Satellite A505D-S6958 Wireless: Realtek 8192e Ubuntu 10.04, x86
lspci
I was using ndsiwrapper with XP driver, but always prefer to Linux drivers if they are available. So, I emailed Realtek web support and they sent me latest drivers for Ubuntu 10.04. I followed their instructions and it works great! With, the exception of, I have to run ./wlan0up each time after I login to start the wireless.
I seem to remember having to modify a file some place, which was very easy to do, but for the life of me I cannot seem to remember what it was or what to put into it? and also, how do you tell if your wireless card is making use of the "n" speed, if the network your are on has it available?
I installed KDE for very limited uses. However, everytime I start up, it brings me to the KDE login screen. I want to revert it back to console login. How do I go about doing that? And if possible, prevent future GUI packages from autostarting. so this seemed to work:
Code: sudo mv -f /etc/init/kdm.conf /etc/init/kdm.conf-disabled That basically renames it so it doesn't start. And if you do need to use the GUI, just run startx
Here's a neat trick on how to get Evolution and Empathy to start up when you log into gnome. This also hides Evolution to the Indicator Applet, the way it should be.
Install alltray apt-get install alltray
then
Go to Systemreferences:Startup Applications and add the following
I am running a RAID 6 array via mdadm and I cannot make it autostart and automount at boot which is fairly imperative for a server config.I am running the latest build of regular Ubuntu and not server, mostly because I have some other tasks for it that kind of requires a GUI, amongst that virtualization that I have so far working correctly.Can anyone provide me with proper instructions on how to get the array running properly?I found a few guides, added some things to the mdadm.conf which was supposed to be the end of it, however the array still doesn't start and let alone automount.
Is it possible to make a personalized version of ubuntu livecd that autostart ssh after booting? I need to test if video card failure cause my computer to freeze.If that's too complicated or not possible, is there any other livecd that does that?
I installed 'Alarm Clock' from the Software Center and would like to have said app autostarts. There is an option in Alarm Clock to autostart with Gnome but that doesn't work so I assume the reason being I'm not root.
How to autostart Alarm Clock?
Also, in System > Preferences > Startup Applications, the 'Add' asks for a command. Is this like Windows whereas I simply point it to the app I want started? I don't even know where apps are installed. Who said ignorance is bliss?
I have a script that I need to run on boot which requires my network interfaces to be already setup when it runs. On an old P4 test machine (all machines in question are running server 10.10) I have to add "sleep 1" in front of my script to get this to work. My application is boot-speed sensitive but I'm alright with this.
What I'm not alright with, and don't understand, is when I move the script to my Atom D510 platform I have to bump up to "sleep 9" to get it to work reliably but even as low as "sleep 5" works on occasion. I have been using both /etc/init.d and an @reboot command inside /etc/crontab with similar results.I don't understand why I have to sleep so much longer on the Atom (everything else aside they both boot in about the same amount of time) and I don't understand why the duration I have to sleep on the Atom is not stable.Is there any way I can get a more fine grained control of when my script executes (ie as soon as possible after the network interfaces are started)?
How can I make a script file a runnable thread auto-start program. the script is: executable permission I add: #! bin/sh -e at the first of the code I add /home/sok/Scripts/check.sh at the end of /etc/rc.local before exit 0 I add /home/sok/Scripts/check.sh in Autostart as program. I restart the system. no effect.