Ubuntu :: Start A Shell Script With Startup?

May 6, 2011

I wrote a script, and what to make it surring with ububtu as startup shell.

View 9 Replies


Ubuntu :: Start Synergy On Startup Wont Start Automatically On Server

Oct 13, 2010

Im trying to run synergy on startup. This works fine on the client, but it wont start automatically on the server. I put this line in an entry in startup applications:


but still no dice.

View 9 Replies View Related

Software :: Samba Refuses To Start On Startup - But Will Start Manually

Apr 14, 2009

I just moved my / from sda1 to an ide drive, hde1. i dont see how this could have caused any of these issues, but it did.

First my network card failed to start. i added a line in my rc.local file (where i put all of my additional programs, etc i want to start):/etc/rc.d/rc.inet1

The above now starts my network card with my static ip configured. dhcpcd also worked but i wanted this static.

Now samba will not start. i have the following line in my rc.local: /etc/rc.d/init.d/samba start

This used to work just fine. at first i thought that samba may be trying to start before my network card gets an ip, but the line is *after* the network startup line. just to make sure, i made an additional script called startsamba which contained a sleep 60 followed by samba start, to delay the startup of samba even further.

The message samba reports is very vague, something like failed - core dumped. most of the core dump log is garbage characters, but here is the beginning which seems like it might contain some info:


ERROR: Can't log to stdout (-S) unless daemon is in foreground (-F) or interactive (-i) after the system starts, i can drop to a console and type "/etc/rc.d/init.d/samba start" and the service starts just fine. i've also tried starting samba manually with "smbd -d" which also produces the core dump when started from rc.local, but not when started from a console after startup.

View 8 Replies View Related

Ubuntu :: Autorun A Shell At / Before Startup?

Nov 20, 2010

I need to run a shell to enable pseudo-multitouch on my touchpad using a shell which automatically configs synclient.I put this file under /home/<username>/, and also put this to the Session manager under system menu. But it doesn't work. I've already used chmod command to make sure that the file is executable.

View 9 Replies View Related

Ubuntu :: Help Building A Startup Shell Script

Apr 18, 2010

I'm looking to make a launching script which launches a program in one of the current directories that the user has open, the problem is I have no idea how to get info about all of the terminals open.I simply want to check which directories the user has open and do a pwd on the terminals, and then use that to cd into the dir before launching. I might be able to use a combo of who,tty, top, and pwd...but I don't know where to go.

View 7 Replies View Related

Red Hat :: Run Shell Script During Startup?

Jul 29, 2009

In bash shell how to run shell script during startup

View 2 Replies View Related

Ubuntu :: Program Irxevent Start Automatic When The System Start Irxevent On Startup?

May 27, 2010

I install lirc and want to prgram irxevent start automatic when the system start

System->Preferences->Startup Applications
Add an item,but that not works every time,means sometimes cannot work.

View 2 Replies View Related

General :: Execute A Shell Script On Startup?

Mar 31, 2010

I have create a script to start a server(my first question). Now I want it to run on the system boot and start the defined server. What should I do to get this done? My findings tell me put this file in /etc/init.d location and it will execute when the system will boot. But I am not able to understand how the first argument on the startup will be start? Is this predefined somewhere to use start as $1? If I want to have a case startall that will start all the servers in the script, then what are the options I can manage.

My Script is like this:

case "$1" in


View 2 Replies View Related

CentOS 5 :: Run Shell Script At System Startup?

Apr 28, 2011

I use CentOS 5.5 and I've trouble in run shell script after system reboot. That script runs jboss server and it looks that way:

rm -R -f /opt/billing/jboss-6.0.0.M1/server/default/tmp/
rm -R -f /opt/billing/jboss-6.0.0.M1/server/default/work/
/opt/billing/jboss-6.0.0.M1/bin/run.sh -c default -b -C /opt/billing/jboss-6.0.0.M1/server/default/lib/ > /dev/null &

I've created user account for jboss.

privileges of above script are okay. I've tried so far:

- add command to /etc/rc.local

- add script to /etc/rc3.d/ and create symbolic link to it in /etc/init.d/

- add run script by @reboot annotation in crontab (crond automatically starts with OS)

and jboss still sleeps after reboot. I've noticed that commands which remove directories seem to work when I've added them explictly to /etc/rc.local. But next command which runs jboss hasn't been executed.

View 4 Replies View Related

General :: Running Shell Program On Startup As Root In Terminal

Aug 4, 2010

I am running Linux Mint 9..I play xbox live and run it through my laptops wireless network connection so i dont have to pay 100 dollars for the usb wireless adapter for the xbox. In windows 7 this is easy to configure so that when i turn my laptop on and then xbox it automatically connects.

View 10 Replies View Related

Slackware :: Unclear Screen - Move Aside All Shell Startup Scripts?

Mar 18, 2010

using any sort of rxvt-based terminal with TERM set to rxvt (or rxvt-unicode) then ^L will not clear the screen, only act as newline. This is not the behavior I see on Debian or CentOS. I have the same user environment at each site. Using urxvt on centos, ^L will clear the screen like readline(3) says it should. If I then ssh to slackware, it won't. exporting TERM=xterm will cause the correct behavior after having logged in to slackware, but I'd rather understand why this is happening. I've tried moving aside all the shell startup scripts, setting clear-screen explicitly in .inputrc, setting stty sane nothing doing. Am I missing something?

View 10 Replies View Related

Ubuntu :: MPD Won't Start On Startup?

Apr 21, 2010

I've added mpd to System->Preferences->Startup Applications several times and it always just disappears and of course isn't started. I have used both mpd and /usr/bin/mpd as the command. I have done a log search as follows:

sudo find /var/log -type f -mtime -5 -exec grep -i -e 'mpd' '{}' +

and nothing significant was found, e.g. an error message indicating that the mpd startup command was removed.

View 9 Replies View Related

Ubuntu :: Alacarte Won't Start Up From The Shell

Jan 8, 2010

When I try to start alacarte from the shell, I get: Traceback (most recent call last):


The reason I start from the shell is because I noticed that it would crash after starting up in system monitor. This problem started after I tried to remove a program from the list which had already been manually removed. When this program was unchecked, the list went completely blank. I tried to revert the list, but it didn't work. Is there any hopes of repair?

View 8 Replies View Related

Ubuntu :: Getting Conky To Start At Startup?

Apr 6, 2010

As the title implies, I have fluxbox and conky running in Karmic. The problem is getting conky to start at startup. Below is my ~/.fluxbox/startup file. I have searched and tried everything I have found to get it to work. Conky works beautifully when I run it manually. Anyway, here is my startup file:

xmodmap "/home/doug/.Xmodmap"
unclutter -idle 2 &
conky &
exec fluxbox -log "/home/doug/.fluxbox/log"

Lines added before and after the conky line run perfectly. Unclutter runs, but no conky.

View 3 Replies View Related

Ubuntu :: How Do Make Anything Start On Startup

Sep 4, 2010

How do I make something start on boot? I remember there being a command.. nano something, can anyone tell me?

View 3 Replies View Related

Ubuntu :: Terminal Always Start At Startup?

Dec 31, 2010

This is a weird problems.Everytime i log on to my computer/restart my computer, the terminal always autostart.I already checked at startup application.No terminal there.Any suggestion to stop the terminal from autostart with startup?

View 2 Replies View Related

Ubuntu :: Windows Start Vnc On Startup?

Jan 9, 2011

I want to have it with vnc remote, because I want to have it in a place away from monitor and if it shuts down I have to connect it with a monitor and keyboard enter the user password and open vnc. So I want to do as windows start vnc on startup, and I don't know if it's possible enter the user password from remote.

View 4 Replies View Related

Ubuntu :: Getting IBus To Start On Startup

Jun 19, 2011

Im trying to get iBus daemon to start on boot, but cant seem to do it. In the Desktop Session Settings window iBus is not listed in the start up programs and there is no option to start in on boot in the iBus preferences window. How do I tell my computer to start it up when I boot?

View 4 Replies View Related

Ubuntu :: Making Autokey Start At Startup?

Aug 7, 2010

I'm having difficulty making Autokey start at startup. I use the startup applications utility but don't know how to use it properly. I guess that I'm supposed to navigate to Autokey's executable but don't know where that is or if it exists because I don't understand the file system.

View 2 Replies View Related

Ubuntu :: Start 2 Apps On System Startup

Oct 28, 2010

I need to start vboxwebsrv and x11vnc on startup with a specific username.I tried entering the commands in rc.local as:/bin/su -c "/x11vnc -forever -usepw -httpdir /usr/share/vnc-java/ -httpport 5800" user1/bin/su -c "/usr/bin/vboxwebsrv -b" user2.But this does not start the app on startup.

View 2 Replies View Related

Ubuntu :: Startup Applications Failed To Start

Feb 28, 2010

I have a problem in my Ubuntu box. The applications defined in "Startup applications" fail to start. On another user's account, everything works fine. I think that's some configuration problem. Where are the data of of the startup applications stored? (i suppose it's .xx file that I could just delete to restore defaults)

View 8 Replies View Related

Ubuntu :: GUI Doesn't Always Start On Startup (Kubuntu)

Mar 13, 2010

A lot of times when I start up my computer, instead of the graphical login screen I'm brought to a CLI login. If I log in and do "startx," it'll start KDE, but sound doesn't work and the shutdown/restart options disappear. (The logout option is still there.) It's inconsistent; sometimes it'll start the GUI and sometimes it won't. I have yet to find out what causes it to work right and what causes it to bring me to the CLI. When it doesn't work, if I run "shutdown -r now" or "shutdown -h now," it'll start the GUI as the computer is shutting down. I've tried Ctrl+Alt+F7 when it's brought me to the CLI, but it didn't do anything

View 2 Replies View Related

Ubuntu :: Conky Doesn't Start At Startup Even With 30 Sec Sleep

Jan 21, 2010

Conky does not start during start up.I used this script, It has execute permission also!But it did not start! What is the problem!It works manually when i run that script!

Note: It is not working in the background also at startup as i checked it -When is run killall conky it showed No such process

View 2 Replies View Related

Ubuntu :: Samba On Startup - Does Not Start The Printer Sharing

Aug 14, 2010

Using 10.04. I use one machine mostly as a printer server: If it goes down for whatever reason I want to restart without having to enter any password. Samba seems to start and allow file shares, but does not start the printer sharing so I must manually enter "sudo restart smbd" to allow the printer sharing. From reading the various threads I guess that the samba "start command" is before the printers are "initialized" and thus are not "setup". So how can I make the samba "startup" last after everything else? I am not enough familiar with all of the commands to understand the thread posting to make it work.

View 2 Replies View Related

Ubuntu :: Upgrade To 10.04 And On Start Desktop Doesn't Startup

Sep 3, 2010

I recently updated to Ubuntu 10.04. On this same machine I've used Ubuntu for 3 or 4 years now. Upgrading from 8 - 9 - 10. I love Ubuntu and use it as my everyday work environment. Anyway, recently when I start my machine in the morning it boots to commandline instead of the desktop. For the last couple days I boot to safe-mode and do a package repair. Sometimes more than once. Eventually I get the desktop to start but it is annoying. When trying to boot to Fail Safe Graphics Mode(?) I get an error stating: "Fatal Server Error: No Screens." The message referred me to /var/log/Xorg/failsafe.log. Here is a snippet of the end of that log file:


Also, I'm using an NVidia graphics card on an HP machine. I installed the "current version" accelerated graphics driver which it says is proprietary.

View 1 Replies View Related

Ubuntu :: Start Program Minimized - Startup Applications?

Sep 12, 2010

I'm putting a program in my startup applications that is completely GUI, with no command line options. The program is Calibre, if anybody is curious. Is there any way to start this program minimized? Gnome, Lucid, x64

View 1 Replies View Related

Ubuntu :: Synaptic Won't Start With Privileges From Startup Menu

Dec 2, 2010

I have put som programs in System -> Preferences -> Startup. That works fine, except that Synaptic starts without asking for a password, and therefor also without superuser privileges.Is there a way I can change the command so that it will ask for a password?

View 1 Replies View Related

Ubuntu Installation :: Delay In Startup / Ffy1 Login To Start GUI

Dec 29, 2010

I've recently installed ubuntu 10.10 again and when I boot it starts in ffy1 console, in which I need to login.After the login in console version it will display the error after this it takes ~30 seconds till the normal graphical login screen I've searching the forum about this problem but haven't encountered the solution anywhere nor the problem itself.And yes I do see the disk errors but that would be during the login on the graphical screen.

View 3 Replies View Related

Server :: Booting In Shell And Then Start Graphic?

Nov 6, 2010

I have installed ubuntu desktop (not server) because some users want to access the gui (because of their applications). Now what I want to manage is: 1- boot the system in shell mode. 2- if someone want, use startx command to enter graphic mode for his own. otherwise he can continue to use pure terminal shell.

Is it possible to do such thing? how?

View 4 Replies View Related

General :: Eth0 Does Not Start (neither Startup Nor Ifup)

Jun 9, 2011

I'm having a weird problem, eth0 does not start neither on bootup nor ifup...not even issuing /etc/init.d/networking restart...i will show you some info just to check


View 6 Replies View Related

Copyrights 2005-15 www.BigResource.com, All rights reserved