i want to run my program and when it starts up shows an option to say : do you want to start this program at start up? and then if yes copy this program at start up how i can do this?
First of all I'm using Ubuntu 9.10.I have tried using System/Preferences/StartupApplicationsI added:java -Xint -cp /home/Edgar/dist/Edagr.jar:/home/Edgar/dist/Annotator.jar com.ionetrics.edgar.EdgarI don't know if I am calling this incorrectly or not. I know that I can call this from a terminal and it will run correctly.However it will not run at startup. I have added Teamviewer to startup and it runs properly.
I need to start firestarter at starup, but the application need root credentials, I use "Startup Applications" when I need a program to start upon login, but firestarter need input the su password... how could I get around this?
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.
I'm trying to think of the best way to have a job start up on it's own when a system (running CentOS 5) boots up. The job is a simple python script. However, there are some interesting conditions that need to be met:
- As stated, script needs to start and run in the background when the system boots up, but without anyone logging in.
- This script needs to be readable only by root, which means it will need to be run as root
- Only 1 person will have root access, meaning nobody else will have access to see this script or it's status.
The entire point is to have this thing running all the time, even if the system reboots, but to make it so nobody can see the script or view it's source, unless they have root access, which only 1 person will have.
I can think of plenty of ways to have things start up automatically when a system comes up, but they all involve having the user log in as part of it. How can I have a listening python script start up, at boot up, on it's own, without root actually logging in?
Pidgin auto starts with the computer, I've closed out of it and killed the process and restarted to make sure it wasn't saving the session, it still starts, theres no option in any of the settings for pidgin to turn it off, is there a way to?
This machine has a combined key/indicator light to turn the wireless networking on/off The change of state of the switch is detected by software with the switch off iwconfig shows
I'd like to reconfigure vsftpd so that it does not start on boot (and I can enable/disable it using service vsftpd start/stop).
Though I've seen posts in the forums that stated that upstart jobs can be disabled by moving the /etc/init/job.conf file, other sites commented that the original file will be recreated on updates.
The other two suggestions were to alter the upstart script such that either the process starts on never:
Code: start on (never and filesystem and net-device-up IFACE!=lo) stop on runlevel [!2345]
I currently got Ubuntu 10.0.4 server edition running on my server. I got 2 network cards in it. One for (eth0) the pppoe connection and the other one (eth1) for dhcp and network.
When i installed dhcpd3 server a couple of days ago, it wouldn't start. So i searched the web and came on the conclusion that i have to do " sudo ifconfig eth1 down sudo ifconfig eth1 up 192.168.0.1"
Problem is i don't have connection with this pc all the time. So if i have to restart it, the dhcp server won't start.
I had a hard drive failure and have recovered (rsync) my backup root filesystem onto a new drive. This all seems to be fine, except that at least two services no longer start: mysql and apache2.I can start successfully both through
although mysql throws a warning about Upstart. Neither start automatically.My system is Ubuntu 10.04.1 LTS x86_64. Part of my reolution actions has involved a kernel update to 2.6.32-27-generic.I have tried to resolve the mysql issue first:
Code:
sudo update-rc.d -f mysql remove sudo update-rc.d mysql defaults
Code:
sudo apt-get remove --purge mysql-server sudo apt-get install mysql-server adding them /etc/init.d/... start commands to /etc/init.d/rc.local script and to a session startup script
checking the services are in rcX.d (using bum and sysv-rc-conf) Ensuring there's a .conf file in /etc/init (which there is).I can't see anything in syslog which would suggest if the system has tried to start these but failed, but then I may be looking in the wrong place. I think they're not starting at all. I wonder if it's something to do with the restore, perhaps symlinks?
I'm not very sure when this issue started. Anyway, the system finally boots and I haven't had any further problems, but I somehow notice the booting to be a bit slower since this error appeared and I don't like watching the red letters that say "failed" every time I switch the computer on. I googled this before posting it, and other users have had this issue, but the solutions that worked for them didn't work for me.
This is the content of my /etc/network/interfaces file: # This file describes the network interfaces available on your system # and how to activate them. For more information, see interfaces(5). # The loopback network interface auto lo iface lo inet loopback
So basically, for my research I need to use Gadget2. The only problem is, I have no idea how to "install" it, I guess. I've looked in the user help guide but I think it was written more or less for those that actually know what they're doing, hence why my research professor doubted my abilities to get it running.
So, I've downloaded all that .tar.gz files and gotten rid of the .gz part and now I have a bunch of .tar files (Gadget2.0.7, gsl-1.15, fftw-3.2.2, openmpi-1.4.3 and hdf5-1.8.7-freebsd-static). I've also done the whole tar -xvf thing to just extract the files and now I have 5 folders. I looked in their help guides and I think I might've done something right 'cause now I have some lib folders and some etc and some share ones.
I think my message passing interface is operational because every time I shut down my computer now there's this weird screen about some pretty harmless looking stuff like my computer is openly passing messages so I think I'm fine there. But how do I make sure all the other stuff is good? I've tried installing and configuring (maybe not in that order, mind you) but I'm still kinda lost.
I have a dual-monitor setup. I have some programs which I would like to start automatically. I each one to start up full screen on a particular monitor, in a particular workspace. Then I can use the workspace facilities to easily switch between the programs, and they will always appear on the correct monitor, in the correct workspace. (At least one of the programs (VMWare Workstation) does not seem to be startable using the facilities to save the current session on logout.)
A server like Lighttpd or Apache starts automatically at boot after you install it. How do I stop it from auto starting? I'd prefer to manually start it when I need it.
I have matlab installed on a network (I am not the administrator) and we usually start the program by typing "matlab", then choosing one of the version options from the menu i.e. typing "n". So because of this, trying to run matlab programs or commands directly like this... matlab -r ProgramName
...does not work. I just get the menu as usual and everything else is ignored. I assume the admin has overridden the matlab command with their own custom script. So my question is can I start a specific version of the program by specifying the folder that the version is in? I thought it might be something like /opt/matlab/version -r programname
this might look foolish, but I am a bit of a linux noob. Let me know if I should just ask my administrator but I thought there might be something easy I am missing.
i wanted to know how can I make my programs or script automatically start at boot time ,for example if I restart my server at any time they start at boot time automatically with no need to any body to start them.
I am planning to start a new business where I will get satellite internet as my backbone @ however I need have some questions since my company will be "fully open source" or " Linux-ish" first of all I would like to know which billing software is the best for the job , I came a cross "Optigold isp " and it seems awsome in its features especially the affiliate programs (eg. customer forward 5 more customer and get free month of internet access).
second , I would like to know how the network should be created @ because I will start in one city first and then I will extend to another cities basically in every city there will be one ground station to receive the satellite signal @ but I want to make the billing server and the router in one city only @ what router should I consider @ I dont have that much of knowldge to decide (gentoo , centos , ubuntu ....) even redhat is ok I wold just like to know if there are any pre-packaged solutions , I would like to know
Suddenly within the last 4-5 days my mail-notification program stopped starting.Googling the error really doesn't give much help, it sounds like the same error message is in tens of libraries.Anyone know what might be going on?Running Ubuntu Jaunty, and already tried reinstalling the program. It's the normal mail-notification from the Add/Remove Programs thing.
Apparently it only does this when it tries to connect to the internet. It runs fine when I'm not connected, but crashes as soon as I hit refresh. (And also crashes at startup when I'm already connected to the internet.)
After running for a while, often after starting a program that displays graphics, such as Shutter, Gimp, Ocular, or maybe simply having previews in Dolphin (as some of my folders default to large previews)most menus, and some windows will go completely black. Some simply grey out (only ksystemlog does this that I have noticed so far)Blindly clicking anywhere on top title bar has no effect (would expect minimize/maximize etc to work if hitAlt-leftmouse or alt-middlemouse will allow window move/resize - black actively conforms to new window size/shape.
Often this blackening is preceded by a loss of all global hotkeys, which may not be related.With no visible menus or buttons, and with no hotkeys I am forced to hit the PC power button and allow kubuntu to shutdown.If I am lucky and hotkeys still work i can simply log out with ctrl-alt-shitft-del and logging in again fixes the issue.Linux betlogbox 2.6.32-23-generic #37-Ubuntu SMP Fri Jun 11 08:03:28 UTC 2010 x86_64 GNU/Linux
I have connected my TV (and my regular screen) to my Ubuntu 9.10. I use TwinView, and that works just fine. I have also installed Moovida (I love that program). And I would like my PC to open Moovida on startup, but I need it to be on the TV screen.
I would like to know whether there is a way of running a console program at startup. That means even before user login. My guess was that it would have to be run like a service but this idea comes from my ... windows" experience.
Will a program (created using Real Studio) that's placed in the startup queue run? I tried just this, and while there was no error at startup it appears the program had no effect. It is a shell execution to set my screen-blanking time. The program does work once I am up and running though. I am using Linux Mint 8 on a T30 Thinkpad.
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?