General :: Script Run At Startup Does Not Work Under Ubuntu 10.04 LTS
Apr 29, 2011
I've got a script than ran fine under Ubuntu 7.10 but I'm having a problem with it under Ubuntu 10.04 LTS. The script runs fine when executed via sudo. The script is in /etc/init.d, it's executable, I registered it with update-rc.d, and (according to ps) it's running. It just doesn't work.
Here's the script:
#!/bin/bash
cd /home/xxxx
while [ true ]; do
kermit -q <pc.kcs
sleep 5
done
kermit is installed and runs properly, the directory /home/xxxx exists, the file pc.kcs exists (remember: the script runs when executed via sudo).
View 6 Replies
ADVERTISEMENT
Nov 23, 2010
when i click on the "startup disk creator" in control centre it dosen do anything?
View 2 Replies
View Related
Apr 19, 2011
this may not be the right place to ask this, but my sister has a macbook and the keyboard does not want to work. i have looked online and i see that the main cause of this problem is in Leopard (correct me if im wrong). So i was wondering if perhaps using linux would solve this problem or if the problem is more hardware related than os related.
Also, how would i go about booting into a linux cd? since u need to enter some keyboard keys at startup and assuming that won't work, is there another way?
View 2 Replies
View Related
Dec 28, 2010
recently upgraded to lucid lynx from karmic in which I used AWN with no problems.However, I now can't get it to work on start up, even though it is listed as one of the startup applications and the box for activate on start up is checked in the AWN manager. I have compiz installed and AWN works fine when I run it once the computer is turned on. It may be because compiz isn't properly listed as a startup application as I don't know the correct command, however other compiz actions work on start up!
Another minor point is that before I had the settings so that the dock was always hidden unless the cursor was over the area. I have played around with the preferences but can't find the right setting to make that happen! I've tried setting the behaviour as Intellihide which seems the most likely to me, but it just acts the same as window dodge... So maybe it's just not working properly?
View 4 Replies
View Related
May 16, 2010
After upgrading to 10.04 I've had to run /etc/init.d networking restart to get my internet connection to work after startup on my desktop computer. Any ideas on how to find out what's wrong and how to fix it? I didn't uprage my laptop yet and it still works just fine so I'm thinking this is related to the upgrade. Softwarewise the only relevant networking related difference between my desktop and laptop is the ubuntu version and that I have openvpn set up on the desktop for work related stuff.
View 2 Replies
View Related
Jul 20, 2010
i did it to mount my hd in the startup but id didnt work, so i want to undo it, and if somebody can tell how to make my hd to be mounted since the startup
[Code]...
View 5 Replies
View Related
Jul 24, 2010
I try to run a bash script when the machine boots up. I followed the exactly the same procedure as stated in [URL] I tried to use update-rc.d and rc.local. The both ways still dont make the bash script automatically run when it boots up in Ubuntu 9.04. The script can be successfully executed when I log in as root and run it manually.
View 5 Replies
View Related
Aug 19, 2010
I have downloaded and compiled the xboxdriver from Grumbels git hub. Running 9.10 minimal with xbmc 9.11. I can run the driver manually and actually run multiple instances of the driver for multiple controllers. I cannot however get more than one instance of the driver to start up at boot. I have the freshly compiled driver and daemon that came with source files in /usr/local/bin.
I can run the driver via 'sudo /usr/local/bin/xboxdrv --wid0', I can even get a second wireless controller working with 'sudo /usr/local/bin/xboxdrv --wid1'
When I add the driver to /etc/rc.local it runs fine on startup. The problem is I want more than one instance running. When I add the exact same line right under it except change the wid0 to wid1 it will not automaticly run the second driver. I also can get zero activity from the daemon. I have tried adding it to the rc.local, or /etc/init.d/local (I think someone mentioned it somewhere) with no luck.
I am not quite sure what I am doing wrong. My ultimate goal is to have 2 minimum to 4 maximum controllers work from startup. I want to add emulators to a xbmc htpc and just dont want to have to worry about manually starting drivers. I have forgone using xpad due to its somewhat limited support for wireless xbox360 controllers.
View 5 Replies
View Related
Aug 19, 2010
In previous versions of ubuntu I used to reshuffle the ALT, SHIFT, and TAB keys using xmodmap.
Specifically, I had a file called ~/.xmodmap-mejia which reshuffled the keyboard, and I called that file from the startup applications (I had added it to system>preferences>Startup Applications).
However, in Ubuntu 10.4 it does not work. If I call the script after the computer has loaded, it works perfectly, but it does not have any effect as a startup application. It is as though changes effected by the script that calls ~/.xmodmap-mejia gets overwritten later on by the default keyboard binding.
As things stand right now, I have to run the script manually every time I turn on my laptop. Which, of course, is very annoying.
Any ideas of how to fix this?
View 5 Replies
View Related
Jan 3, 2011
I'm usuing clean installation of Ubuntu Server 10.10 with hlds on it. I can't get startup script for my hlds server to work, so i must lauch it always "by hands"...
I have done these steps:
Quote:
with content:
Quote:
Then given permission for it and added for autoload on startup
Quote:
When i lauch it as usual
Quote:
or
Quote:
Server launches and work normally, but it never launches on startup... Just wrotes BEFOREFALL and AFTERFALL55 into /var/log/syslog and that's all... Also tried using rc.local, but it never works too... In what can be the trouble? I think i checked all possible variants already...
View 3 Replies
View Related
Aug 31, 2010
trying to use ipmitool during startup to detect certain hardware and run some configuration. This worked fine for me on RHEL 5.4 but only after smartd had started. For some reason I cant get it to work any time before I get a login prompt on RHEL 4.5
View 2 Replies
View Related
Nov 24, 2010
Everything worked fine in Kubuntu 10.04 (64-bit). On the upgrade to 10.10 (64-bit) it takes about a minute until I can move the mouse after startup and the integrated memory card reader doesn't work (but the green LED which used to only come on when there was a card in there is now always on). This has been discussed twice before: here (closed and solved by unplugging cardreader which I do not want to do) and here (unsolved but closed as maverick no longer in beta) dmesg (note the errer -110) follows. Let me know if I can/should include any other logs/info!
Code:
[ 13.575002] EXT4-fs (sda2): re-mounted. Opts: errors=remount-ro
[ 13.790470] EXT4-fs (sda1): mounted filesystem with ordered data mode. Opts: (null)
[ 13.903728] EXT4-fs (sda4): mounted filesystem with ordered data mode. Opts: (null)
[ 16.280020] usb 1-5: device descriptor read/64, error -110
[ 17.375755] sky2 0000:02:00.0: eth0: enabling interface
[ 17.376174] ADDRCONF(NETDEV_UP): eth0: link is not ready
[ 17.377028] type=1400 audit(1290608578.996:5): apparmor="STATUS" operation="profile_load"
[Code]......
View 2 Replies
View Related
Jul 1, 2011
This is the first time I'm trying out chmsee on 11.4 (I've tried on previous version - never had any issues with it).The problem is chmsee fails to start. It gives error as shown below:
Code:
** (chmsee:11798): WARNING **: GECKO_UTILS >>> Couldn't find a compatible GRE!
** ERROR **: Initialize html render engine failed!
[code]....
View 2 Replies
View Related
May 2, 2011
I have a sony laptop VGN FS315M, i recently installed Ubuntu 11.04, and i really love the unity interface.
But i have a few issues as well:
1. Vaio FS315M has Nvidia graphics card, ubuntu suggested a video card driver which i installed but didn't work well so i switched to the another one and it worked generally well but that too has problems like if my computer goes to sleep upon closure of lid, it cannot wake up again. it shows only a white screen and only way to get out of it is to restart the computer by manually pressing start button.
2. Sound card works generally ok but mic doesn't work on startup but when i click sound preferences and mic selection from analog microphone to another one and then again to analog microphone, it works but not the first time. Sound output is low compared to windows.
3. Arabic/persian fonts generally are not shown well in firefox?
4. Computer seems to be slow in unity compared to 10.10, may be because of high demand on graphics or the graphics card is not optimized?
5. Skype won't start automatically and there's no option in this skype to do so and also it doesn't save password?
6 . Ubuntu doesn't connect to net connection unless i connect manually, i want it to connect automatically to internet
7. This issue is not related directly to ubuntu. My system is a dual boot system with windows xp as well. Before windows xp, i tried windows 7 beta and then later removed it but it left its bootloader at startup. since my CDROM drive is also out of order so i tweaked BIOS by installing PLOP to install ubuntu. Now i have 3 startup menus if i want to run windows xp, one for ubuntu, then windows 7 with option for earlier version, when i select earlier version then windows xp or PLOP installer. so its a mess. I want PLOP to appear at the beginning (so that i can have boot option from USB available), then ubuntu and if i select windows it should go directly to xp not thru others.
View 1 Replies
View Related
May 23, 2010
I am not sure why, but my wireless networking icon on the top right of the panel doesn't show up any more during startup. Previously during startup, the applet would show up and then after a while connected to my wireless network seamlessly.
The only thing I did before and after it stopped working was to enable auto login. I cannot disable auto-login through the GUI and according to postinings in the forums no one knows how to do it through the command line interface.
In the 'Startup Applications' menu it is checked for startup with the command line saying "nm-applet --sm-disable". What can I do to have the network manager icon automatically startup when I turn on Ubuntu? Right now I get it to work by typing "sudo nm-applet" in the terminal window and then pasting my wireless encryption key.
View 9 Replies
View Related
Feb 11, 2010
How do i log all startup text from when grub loads to when desktop appears?
View 2 Replies
View Related
Feb 10, 2010
If I have SMP kernel would it work with single processor or only work with multiple processors system?
View 6 Replies
View Related
Jan 14, 2010
I'm running Ubuntu 9.10 inside VMWare Workstation on Windows XP (Yo dawg... I put an OS inside yo OS), and when I rebooted my virtual machine tonight it happened that I couldn't reach the login screen. I've rebooted several times and after going through the usual boot sequence and showing me the boot progress bars, Ubuntu hangs at what should be the login screen with the "busy" cursor spinning round and round.
I can press CTRL+ALT+F1 to get to a console, however, and then I can login and use my computer normally (albeit without a GUI). The only thing I can think of that I've changed recently was I installed a new window manager, XMonad -- but I don't see how that could affect the login screen.
View 1 Replies
View Related
Apr 27, 2011
i have tried mail function in php to send email from the local host its work for yahoo but not with HOTMAIL whay ! actually i tried to figure it out,
View 1 Replies
View Related
Nov 25, 2010
and I've had Ubuntu Linux (10.10) for maybe a month and a half now. Im very satisfied with the whole system, no problems up until an update about maybe 2 weeks ago from today (rough estimate). Anyways, when I start my computer and choose to start Ubuntu, about half of the time it will load with some weird new login screen (because of update), and their are other times where the screen will go blank. I dont think its very safe to cut the power from the computer through the power button :/ I realize there are other posts regarding this, and I apologize if this is against the rules, I just thought maybe it would be appropriate to start a thread with this problem for 10.10 users
View 2 Replies
View Related
Oct 10, 2010
Firstly, what's the best way to execute commands on startup, cron? Can I use su in a shell script to switch between different users, if so how?
How do I create several detached screen sessions on startup? screen -A -m -d -S test ./script.sh seems like it should work but using it in a script started by cron doesn't show any screen sessions running after booting.
It looks like the screen session is closed after the command finishes executing, can I keep it open so I can see the output?
View 3 Replies
View Related
Oct 29, 2010
I've got a script in ubuntu 9.04 in init.d that I've set to run on start on with update-rc.d using update-rc.d init_test defaults 99. All of the symlinks are there and the permissions appear to be correct
-rwxr-xr-x 1 root root 642 2010-10-28 16:44 init_test
mike@xxxxxxxxxx:~$ find /etc -name S99* | grep init_test
find: /etc/rc5.d/S99init_test
[code]....
The script runs through source and ./ without issue and behaves correctly. Here is the source of the script:
#!/bin/bash
### BEGIN INIT INFO
# Provides: init test script
[code]....
When the machine starts, I don't see "script called" or "start called" in the test.log at all.
View 1 Replies
View Related
Jan 23, 2011
I'm not used to using Ubuntu or Debian as a server. I'm more accustomed to Red Hat/Fedora ways and even Gentoo (yikes).
Under Red Hat installs, you can often configure most services that start from init using config files in /etc/sysconfig named by the service. Is there and equivalent thing under Ubuntu?
Specically I'm trying to control how the libvirtd and kvm processes are started as far as command line options go. I need to add the --listen option somewhere.
View 1 Replies
View Related
Feb 23, 2011
I have a problem with my keyboard on Kubuntu 10.10. The specifics of the problem are not really relevant right now. I can fix it by running 'setxkbmap br' on the command line. It's good for the entire session (KDE). But I often forgot to do that, so I want to have that done automatically. I tried adding it to my .tcshrc file, it didn't work. I tried adding it to /etc/rc.local, it didn't work. Where can I insert that line and have it run automatically? Please note that my login shell is tcsh, not Bash.
View 8 Replies
View Related
Feb 11, 2010
i installed win xp2 in my c: drive as usual it deleted my grub startup I had fedora 10 installed before installing XP and when i put the fedora cd to get back the startup it shows the following : " An Unhandled Exception has occured..This is most likely a Bug" and the details i had deleted my swap partiton.
View 3 Replies
View Related
Feb 4, 2010
I Need to run a specific command (pinging a particular machine). Which need to run every time i reboot the server till the time it shut down. What is the preferred way of doing this.
Will it impact my system performance.
My Operating system is as below.
Code:
[root@XYZ~]# lsb_release -a
LSB Version: :core-3.1-ia32:core-3.1-noarch:graphics-3.1-ia32:graphics-3.1-noarch
Distributor ID: OracleVMserver
Description: Oracle VM server release 2.2.0
Release: 2.2.0
Codename: n/a
[root@XYZ~]# uname -r
2.6.18-128.2.1.4.9.el5xen
View 6 Replies
View Related
May 10, 2011
I'm trying to run a script on session start, so I added it to System -> Preferences -> Startup Applications.The script does run, but some of the commands inside don't appear to run at all. If after startup I open a terminal and run the script manually, it runs fine!
#!/bin/bash
if [ "$DISPLAY" == ":0.0" ]; then
tmux new -s Phys ;
[code]....
View 1 Replies
View Related
May 30, 2010
The theme I have chosen in Ubuntu 10.04 (Ambiance with buttons in the upper right-hand corner) is not applied to the menu bars at boot/login. Menu and title bars should be very dark with a white font. When I boot the computer, the application title bar is correctly formatted, but the main menu bar of gnome and the menu bars of all applications are black font on gray background. When I open the theme selection (in German Einstellungen | Erscheinungsbild, in English likely something like Preferences | Appearance).
The correct theme is applied to menu bars without that I have to select the theme again; simply opening the Appearance dialog suffices. First I did not name my modified theme (showed up as first theme in the theme selection dialog, user modified). In trying to solve the above issue I gave the theme a name, but the strange behaviour persists. Where I can make the theme automatically and completely applied at boot.
View 8 Replies
View Related
Sep 20, 2010
Is it possible to mount a partition on the hard drive that somehow is also scanned along with rc.local (or wherever the appropriate startup files go)? I want to boot a live image and have something automatically run but I can't change any files in the Live Image.
View 1 Replies
View Related
Mar 1, 2011
I've recently installed virtualenv + virtualenvwrapper on Linux Mint 10 LXDE. For convenience I've added the standard WORKON_HOME settings to my ~/.profile
export WORKON_HOME=$HOME/Envs
source /usr/local/bin/virtualenvwrapper.sh
Then I've noticed that workon does not work after login, which means the above commands were not run. If I source ~/.profile then it works. I'm really not sure what could cause .profile not being run? I've checked and I don't have .bash_profile or .
View 1 Replies
View Related