Ubuntu :: Running A Program After Boot?
Aug 9, 2011
I am using a small ubuntu command-line only distro (Ubuntu Mini Remix) to run off of a LiveCD or USB stick. I need it to run a program as root as soon as it is finished booting, automatically. I cannot for the life of me figure out how to make it run my program. I have tried putting a script into rc2.d (when I type runlevel at the command line, it tells me it is level 2) that simply contained:
Code:
#!/bin/bash
qct
(qct is the name of my program)
I did the chmod u+x on the script. It does not run my program, though. I have no idea if it was a naming issue or not. I do not understand the naming scheme.When it boots, and doesn't run my program, I can type sudo qct at the command prompt and it runs fine.
View 2 Replies
ADVERTISEMENT
Jul 26, 2010
I presume there is something in the JWM window manager - or Puppy Linux Lupu 5.01 itself that is conflicting with the normal loading of GMPLAYER....
I would like to know how to troubleshoot, and fix this problem if possible (even a workaround would be great).
View 1 Replies
View Related
Nov 4, 2010
I installed an RPG platform (Fantasy Grounds) on my system via Win7. Once installed, and known to be working, I logged off Win and back to Ubuntu and ran the program via Wine. Once it starts, I hear my PC rev up, see the system monitor crank up the CPU and see that "Fantasy Grounds" is running and using about 40% of my CPU usage... but I don't see it. There is no GUI, no nothing. I can end process and the CPU drops down to normal. Anyone have any idea as to why a program would be running, but I have no visible evidence that it is?
View 2 Replies
View Related
Jan 16, 2010
Here's the error message I get when trying to run Thunderbird 3.Thunderbird is already running, but is not responding. To open a new window, you must first close the existing Thunderbird process, or restart your system.I can't find it running anywhere.
View 9 Replies
View Related
Mar 25, 2010
I seem to be having a problem with cron. I have a python program that checks a specific directory for pending email scripts written in python.
Code:
#!/usr/bin/python
import os
emaildir = os.environ['HOME']+"/email/"
filelist = os.listdir(emaildir)
for pyfile in filelist:
if pyfile.find(".py") > -1:
execfile(emaildir+pyfile)
This code has been tested and works fine. The problem is that I need cron to run this code every 5 minutes but i can't tell if it is running: Here is my cron code:
5 * * * * /home/username/custom/CheckEmail.py >>/home/username/custom/email.log 2>&1
I activated the log (I think) but all i get is /var/log/cron.log and that only logs when I activate/deactivate or edit the cron file. is there anything else i need to set for this to work? I am running Ubuntu 9.10.
View 8 Replies
View Related
Jul 15, 2010
I downloaded The Witcher for windows from Wine and I'm trying to run it but it says I have to run it as the admin the first time the game is ran. I don't know how to run it as admin lol. I've only been using ubuntu for about a week now. If you can let me know how to do it from the terminal AND from shortcuts, that would be great because I'm trying to know what all I can do with ubuntu.
View 6 Replies
View Related
Jan 14, 2011
Is there a file that can be opened and a program name searched for? If it is there, the program is running, else it is not.
Something like that?
I have a program that stops periodically. If I could run a script every 30 minutes or so to check the hypothetical file, it could re-start the program if the program had stopped running.
View 2 Replies
View Related
Feb 20, 2011
I want to use a program, that runs windows and "linux with mono". I run Kubuntu 10.10.
Quote:
koen@Koen-Kubuntu:~/Documents/Software/SuperOneClick_1_6_5$ mono SuperOneClick.exe
** (SuperOneClick.exe:4191): WARNING **: The following assembly referenced from /home/koen/Documents/Software/SuperOneClick_1_6_5/SuperOneClick.exe could not be loaded:
[Code]....
View 1 Replies
View Related
Apr 10, 2011
i am trying to daemonize my (java) program on ubuntu. For that end i created a script based on /etc/init.d/skeleton script which obviously uses start-stop-daemon.
But I cannot make the process (java program) run on the background. it keeps running in the same terminal i start my daemon script. Trying --background option for start-stop-daemon does not help.
View 5 Replies
View Related
Feb 6, 2010
I've downloaded and installed WINE, works well with most windows programs I run. I recently downloaded a program called METT (micro expression training tool), and apparently it needs a disc to be ran. Well, I installed KISO and mounted the image there, but I still can't get it to run.
View 6 Replies
View Related
Mar 8, 2010
I'm trying to make a script that will copy over the settings file for firefox everytime firefox is closed. What would be the best way to go about doing this.
View 3 Replies
View Related
Apr 19, 2010
I'm looking for a way to time how long a program runs in the terminal. I didn't have any luck searching around but I'm sure it's possible. Does anyone know of the easiest way to do this?
View 2 Replies
View Related
May 31, 2010
I am a new ubuntu user but I used linux mint before ubuntu and I had the same problem there. My microphone only works when 1 program is running, but if I load a game or something my microphone stops working.
View 5 Replies
View Related
Sep 17, 2010
I amtrying to install a program and at the point when I am required to execute the command "make clean" and then after "make all" , I obtain the following eror message:
ndoheric@nen-laptop:/opt/WAVEFORPGM/distribute$ make clean
cd ./MyTime; make clean
make[1]: Entering directory `/opt/WAVEFORPGM/distribute/MyTime'
[code]...
View 4 Replies
View Related
Dec 9, 2010
I'm using the FortiClient SSL VPN free version provided by my University. I can't get tech support from the university OR Fortigate. I have it running on one system, but I have no idea what the sequence of libraries I installed was. I need it to run on a second machine. pstree is only telling me that the FortiClient ssl daemon depends on pppd. I need to know how to find out what else it's using: LibPKCS and the like.
View 1 Replies
View Related
Mar 11, 2010
how to run multiple instances of a command line app from the terminal?
View 2 Replies
View Related
Sep 25, 2010
Looking for my process monitor you see that I didn't run any program but my CPU01 100% overload and fax worked a lot,CPU02 just a bit.Ram's just 12%. So what I when wrong? I install Ubuntu 10.04 x64 - ram 4Gb - Nvidia quadro 140M.
Firefox6.6
View 5 Replies
View Related
Jan 19, 2009
It really bothers me that when I start a program through the terminal it takes up space with the terminal that's tied up with the program, and the program itself. I know how to keep it from tying up the terminal, but when it devotes the terminal, I like that it gives output if the program crashes. Is there a way I can set a terminal to completely hide itself (off the desktop and the taskbar) while it's running a program, then reappear once the program is closed?
View 4 Replies
View Related
Dec 3, 2010
I am running ubuntu-9 on i686 and cross compiled simple hello.c program with arm-linux-gcc (handheld/arm-linux-gcc-3.3.2.tar.bz2]) for arm , but unable to run it on openmoko neo free runner phone.
View 1 Replies
View Related
May 2, 2011
I am trying to run open a GUI program on a remote Ubuntu machine using ssh.
I want to open, lets say firefox or skype, on a machine I have connected to via ssh.
But when writing logging in with user2 and writing sudo -u user1 firefox I get an error message saying no display specified.
The machine is turned on and logged in with user1, it just appears that i cant get ubuntu to recognize that there is a GUI available.
View 1 Replies
View Related
May 9, 2010
I have a C program that can run disconnected ( like most ), is there a programmatical way to tel if the program is running without a terminal? Example:nohup my-program &What I want is to modify the program so it can be used as a HUB interface. It does Peer to Peer communication and I want to make it a server function with a command line option.Currently if I disconnect the program, it will loop on the read for stdin, I need to be able to detect that and go into 'HUB' mode.
View 4 Replies
View Related
Jan 25, 2011
For example, if different versions exist in /usr/bin/ and /usr/local/bin, how can I tell which one is actually being executed?'which xxxxx' simply lists the first instance found in $PATH, which is usually /usr/local/bin/, but this may not necessarily be the actual instance that is running.
View 3 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
Nov 17, 2008
I am trying to use perl to run a program using the eval command but the program runs infinitely, i just need it to run basically for one second, stop then give me the output. I tried using fork but it does not really work. The child process is not being killed.
my $pid = fork;
if ($pid == 0) {
my $results = `ngrep etc...`;
[code]...
View 6 Replies
View Related
Sep 18, 2010
i want to run c graphics program on linux for that i want to install[URL]but i dont know how to install this graphic file on linux to make it un.
View 1 Replies
View Related
Jan 3, 2011
I'm running Ubuntu 10.10 and I'm running Skype 2.1 (Beta). Whenever I "x" out of the Skype program, from what I can tell it's minimizing the Skype program and not actually terminating the thread (just as it does in Windows), however when I "x" out of Skype the icon is not showing up in the system tray (but it does in Windows). So one would think that it's not running, however if I try to re-launch Skype I get an error message stating: Another Skype Instance May Exist.
I confirm this by going to System > Administration > System Monitor and sure enough, Skype is running. So if I "x" out of the program, how do I switch back to it because it's not showing up in the system tray? One last thing : Alt+Tab does not work. It will list the other programs running, but not Skype, despite the fact that it is running.
View 3 Replies
View Related
Feb 12, 2011
Usually I open 5 terminals. And since each of those 5 terminals prints it's tile as: "username@username-laptop: ~" It becomes very hard to see what is what. So, I would like my terminal to always change it's title automatically to the program that I am currently using.
So, if I type "irssi", the title of my gnome-terminal-window, should change to: "irssi" for example.
View 2 Replies
View Related
May 17, 2011
I've used Ubuntu for a number of years now, and have enjoyed it. I'm in the process of selling my laptop, and the guy that is buying it wants nothing to do with Linux. Is there an easy way to uninstall Ubuntu? I've been looking for hours and all I can find is people using a Windows Recovery CD, which I don't have. A few years ago, I remember running across a program that made uninstallation a breeze. Does anybody know what it was or where I could find it?
View 4 Replies
View Related
May 23, 2011
I can't hide the launcher in unity 3D. In 2D, it works fine, hides when i open a program, looks normal, everything. In 3D, it stays on top of whatever program I'm running. What I've tried Reinstalled unity 2D. (apt-get remove, apt-get install) For whatever reason, when I log into 3D without 2D installed, it looks like gnome, but the screen is garbled, the images disappear, menus come up as plain black squares, i literally can't even open a program. Once I install unity 2D, 3D works fine, but I can't hide the launcher. Messed around with CCSM. I tried each option under hide launcher in unity plugin (never, autohide, dodge windows, dodge active windows). None of them change anything. Updated everything through update manager (last night actually). Both 2D & 3D look and work fine, no lag or sluggish behavior. All of the effects look normal. I just can't get rid of the big launcher covering up everything I do! I've just been using 2D, although I would like to use 3D.
View 2 Replies
View Related
Sep 1, 2011
I am trying to run a simple perl program that requires getting stock price data from yahoo for just 1 ticker symbol, and it was running fine till this morning, wherein it froze and displayed the message: Out of memory!
I cleared my cache by running the following:
Code:
$sync
$sudo echo 1 |sudo tee /proc/sys/vm/drop_caches
$sudo echo 2 |sudo tee /proc/sys/vm/drop_caches
$sudo echo 3 |sudo tee /proc/sys/vm/drop_caches
but it hasn't helped.
Even Firefox has been freezing, so I basically cannot do anything on my computer.
View 3 Replies
View Related