General :: Auto Running An Application On Start Up?
Nov 2, 2009Can you run an application automatically when you load linux? In this case it would be VMPlayer?
View 4 RepliesCan you run an application automatically when you load linux? In this case it would be VMPlayer?
View 4 RepliesI want to write something that will run apps in succession.For example, you'd click on the app icon,and it would start up one application, have questions alert the user to add a file to do something in that program, run that program & finish. Then open up another program to take that file and prompt the user to do something else with it, and so on.Basically I have a friend who needs an auto, completely easy interface to accomplish certain tasks that require multiple application steps to perform.
View 7 Replies View RelatedEvery time I reboot my linux machine I have to set up 5 or 6 terminals and Im trying to find a way to do this automatically. Bind a script to a shortcut or on startup that starts several terminals (extra point if theyre tabbed) and have each terminal ssh to different servers.
View 3 Replies View Relatedmaybe not so simple as what the subject saysBackgroun storyI have a couple of encrypted hard drives created with cryptsetup
I have the following lines in my /etc/crypttab
data1 UUID=someUUID none noauto
data2 UUID=someotherUUID none noauto
[code]...
I want to start a virtual machine on another window panel, but I'm not sure what the command for this would be.
I have:
virtualbox --startvm myvin &
in my autostart.sh.
I have a particular script xxxx in folder yyyy. How can i start/execute xxxx whenever i open or cd into yyyy.
View 3 Replies View RelatedIs it possible to start an application in another tty. (Like to bother the desktop user from ssh.)
View 5 Replies View RelatedI am using Fedora and trying to auto run a script soon after the unit boots to desktop. I found many suggestions and finally decided to use the Sessions->Startup Programs option (under System->Preferences->Personal->Sessions menu). I added my script in the Startup Programs with the command 'sh myscript.sh'. Now I have two questions here:1. When I use the command 'gnome-terminal -e myscript.sh', I get 'There was an error creating the child process for this terminal' message after logging into the desktop. Can any one tell if I am missing something here?2. Even if I use sh instead of gnome-terminal, I still want to see the script executing. In other words, my script has certain echo statements indicating the flow of the script. But I don't see any shell opening up with these echo statements showing up, after the unit boots to desktop. But the script was still executed with no problem
View 1 Replies View RelatedI've been trying to make a cgi script that starts a program on a server and then shows the program on the servers screen. The cgi script is written in perl. I've been successful in making the program showing up on the screen through ssh by setting $DISPLAY to :0.0, I tried setting it to this in /etc/profile but when the cgi script ran nothing showed up on the screen. I tried having the script running it as a local user with "su - [user] -c [command]", this didn't help either.
In short what I'm trying to accomplish. When I press a button on a web page an slide show is supposed to start on a screen connected to the server.
16:46:50,375 INFO [AbstractJBossASServerBase] Server Configuration:
JBOSS_HOME URL: file:/C:/jboss-6.0.0.20100721-M4/
Bootstrap: $JBOSS_HOMEserver/default/conf/bootstrap.xml
Common Base: $JBOSS_HOMEcommon/
[code]....
I am using Kde 4.4 and I would like to start one of the applications automatically after every login to the system. How can I configure it? I remember I managed to find a dialog window in one of the previous versions, but I can't find it now.
View 1 Replies View RelatedI just installed TuxGuitar - very cool - and to get the sound to work I had to install Timidity++ as well. Before I start TuxGuitar I have to execute:timidity -iA -Osin a terminal window first, which is kind of a pain to do every time I run TuxGuitar.How do I get this line to execute on startup such that timidity is running when I start up? I tried adding that line to rc.local
View 13 Replies View RelatedI found an application AUTO POWER ON & SHUTDOWN in windows which is really very useful to those who have night unlimited broadband connection. I searched for similar application in UBUNTU as I am slowly shifting to UBUNTU from 10.04 (maveric) version. Whenever I search for application or for other options, so many have written failed attempts only.
View 5 Replies View RelatedI want to use myscript.sh to auto-start an application. I put myscript.sh into /etc/init.d/ and run "update-rc.d myscript.sh defaults". After reboot, I can see my application was started (its log file was updated), but I cannot see my application running if I do ps -ef. I suspect it is killed by the OS.
View 4 Replies View RelatedI have a site [URL] right now what you are seeing is a default Tomcat6 page. I am using mod_ajp as a front end and Apache vhost configuration for same is
Code:
<VirtualHost *:80 >
ServerName mysite.com
ServerAdmin webmaster@localhost
ProxyRequests off
<Proxy *>
Order deny,allow
[Code]....
I've made custom launchers for programs that can only run in terminal. They open fine within the Terminal window, but it closes right after the program is finished, before I can read the report.
Is there a way to keep the Terminal window open, using launchers? I don't want to manually type the commands after opening a Terminal.
I know I have to count how many instances are running: ps x | grep apache2 | wc -l result if it's running: 2, or else: 1 I also know there is a command called test that I could use to perform the verification, but I don't know how to use test with wc
View 3 Replies View RelatedI've wondered for years how it works and how I can change it. For example, opening a document with vim, or opening a man page, and then exiting out of it will sometimes (depending on the distro) clear the screen and leave your prompt at the very top. other times, it leaves the contents of whatever you had open on-screen and your prompt is at the bottom.
View 1 Replies View RelatedI configure my apache and can run http://localhost. There "I see it works!" but if I try to stop apache I get message that httpd is not started. I run
apachectl start - ok
but when I run apachectl stop it says "httpd (no pid file) not running"
I need to stop apache, because this is my dev machine and I want to start apache only when I make changes to my site. I am with slackware13.
I am using Sphinx search on my webserver and it quits after a certain amount of time leaving my search page broken.Here is a bash script that I want to run every 10mins via cron:
Code:
#!/bin/bash
if pgrep searchd | grep "[0-9]"
[code]...
I installed LAMPP a couple of weeks ago and was working fine. Today when I try to start lampp, it will only start MySql and ProFTPD. It says "XAMPP: Another web server daemon is already running." How can I find out where this other server is located and stop it?
View 2 Replies View RelatedI have been given Toshiba Tecra S11 with windows 7 running on it to install Ubuntu 10.04. Toshiba has a bunch of utilities running on the machine set up as dev/sda1, dev/sda, dev/sda3 and dev/sda4. I do not know where to start because of these existing partitions.
View 2 Replies View RelatedDoes 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 RelatedOn my local network, I use my Linux machine running dhcpd and IP masquerade as a gateway to the internet. As it is, the setup works just fine, and I've enabled dhcpd in all runlevels in the services dialog, but for some reason, it still does not automatically start when I boot the machine. If I select it and click "Start", it operates normally, and if I run "services dhcpd start" from a command line, that works too. My only guess is that it's some problem with my config file... it's the same setup I used with previous versions of Fedora without issues, but maybe things have changed?
The contents of /etc/dhcp/dhcpd.conf:
Code:
ddns-update-style interim;
ignore client-updates;
subnet 192.168.1.0 netmask 255.255.255.0 {
option routers 192.168.1.8;
option subnet-mask 255.255.255.0;
option domain-name-servers 64.59.176.13, 64.59.176.15, 64.59.177.226;
option ip-forwarding off;
range dynamic-bootp 192.168.1.100 192.168.1.200;
default-lease-time 21600;
max-lease-time 43200; }
I know 10.4 is not final but I am running it and loving it. I am trying to have synergyc start and be working at the logon box of ubuntu 10.4. I can get it to autostart after the user is logged in. But I want it to be working before the user is logged in. how I can do this with 10.4
View 9 Replies View RelatedI'm on Natty, but this was a problem for me on Maverick as well. Since my mouse is way too fast in Ubuntu even on the slowest settings (a topic for another discussion), I run a shell script at startup to fix this. Of course, the script is only run when I log into my account. Is there a way to have this script run at system start so that it affects all users? I already tried copying my fixmouse.sh script to /usr/share/gdm/autostart/ to no avail. If it's germane to the discussion, here are the contents of fixmouse.h:
Code:
#!/bin/sh
xinput --set-prop 10 "Device Accel Constant Deceleration" 2
xinput --set-prop 10 "Device Accel Velocity Scaling" 1
I keep getting this error when I try to run the auto update. b43 conflicts with broadcom-wl
View 2 Replies View RelatedI have a "time-server". It's sending time to different devices through different ports/protocols. The problem is that it has no operator and that makes some extra difficulties.
Now when i try to start it using terminal Code: Select allsudo ./myprogram works fine and
Code: Select all./myprogram doesn't work.
It is so because without sudo i have no access to ports. As a result If i add my program to System->Preferences->Startup Applications it has the same problem. So i need to start it as root, auto-start, right after auto-login to system but without entering password cause nobody will do it.
Also I need to start ntpd but it also asks password sometimes I've tried googles but it offer a few ways with entering password that isn't suitable for me or writing some scripts/changing system files but with no example I'm afraid to break it all. So is there a way to start Myprogram and NTPD as root with no password entering?
My system is Debian 6.0.10 Squeeze, Kernel 2.6.32-5-686
every time I reboot the box, I have to run:sudo /etc/init.d/vmware startin order to start the vmware support processes.
There are entries in /etc/init.d/rc5.d
lrwxrwxrwx 1 root root 18 2010-06-08 18:08 K08vmware -> /etc/init.d/vmware
lrwxrwxrwx 1 root root 18 2010-06-08 18:08 S19vmware -> /etc/init.d/vmware