0
votes
0answers
220 views

Howto start scripts before/after: Startup / Reboot / Suspend / Hibernate / Powerup / etc

This is what i have so far, but for some reason it doesnt work: cd ~ cd /etc/pm/sleep.d/ sudo touch 99myStartup.sh sudo nano 99myStartup.sh chmod +x 99myStartup.sh #!/bin/bash #!/bin/sh echo ...
0
votes
0answers
64 views

Add iptable rule before networking starts

I have an iptable rule that is critical. I have followed the instructions here to make sure the rule gets added when the server is rebooted. However, my rule drops ping requests. I've noticed ...
0
votes
0answers
220 views

Ubuntu will not boot after a hard shutdown [closed]

I did a clean install of Ubuntu 12 several months back on Toshiba Satellite laptop and have had no problems. System was up to date working great. A couple days ago I tried the suspend option instead ...
1
vote
1answer
311 views

LightDM freezes at first startup

Nearly every time I bootup my Ubuntu I come to the login screen. But instead of showing me the wallpaper from selected account, I just see the default purple background with those white dots on it. ...
2
votes
1answer
67 views

Calling script on reboot only after MongoDB has started

I'm using the @reboot option as a root cron to update MongoDB when we do a reboot of a EC2 instance. The problem I have is MongoDB isn't loaded at the point the cron runs the script. Where is the ...
0
votes
1answer
5k views

Howto enable boot messages in ubuntu 12.04? [duplicate]

Possible Duplicate: How to enable boot messages to be printed on screen during boot up? Hello when I do reboot or init 6 in console under ubuntu 12.04 my system does not start correctly. it ...
0
votes
1answer
254 views

Starting / Shutting down Problem

I have 12.04 installed on my laptop. There is the following starting/shutting down problem: When clicking the power button, the laptop starts for 1 second and after that abruptly shuts down. When ...
1
vote
0answers
55 views

When laptop turned on, and Ubuntu is chosen for OS, I get a blank purple screen and can't log on. How do I fix this problem?

I turn on the computer. I can select either Windows 7 or Ubuntu. When I select Windows 7 it works well. When I select Ubuntu, it normally works well. But right now when I select Ubuntu, It leads ...
0
votes
3answers
110 views

How can I ensure that my custom written C application runs at startup?

I have written a command line C application that I need to run every time the system starts up. How would I go about doing this? I have seen other questions and answers that show ways to do this for ...
4
votes
1answer
4k views

When you run `update-rc.d myscript default` - what is called on startup/shutdown?

What gets called on startup/shutdown when you run update-rc.d myscript default? Docs seem fuzzy, I want concrete. I am guessing that this happens: At startup (specifically at entry to runlevel 2, ...
7
votes
3answers
13k views

How can I make a specific set of iptables rules permanent?

Is there a "best practice" or standard to make a few iptables rules permanent? I mean: automatically applied upon a system reboot? I am using a VPS with Ubuntu Server 10.04 LTS (Lucid Lynx). Thank ...
0
votes
1answer
101 views

Start the same “sessions” after shutdown

Many times it happen I got several terms & app sessions opened, while I just have to quick shutdown the machine to move away in another building. Is there a way, when I next boot the laptop, to ...
8
votes
1answer
618 views

Why does my system boot so slowly?

I installed Ubuntu 10.10 a few days ago. It is really awesome but the problem is that it takes unusually long time (about 20 minutes) for the login screen to appear after the Ubuntu startup screen. ...