Debian :: Where To Keep A Script So That It Always Start With System Boot

Apr 18, 2010

I want to know where should I keep a script which I developed so that it always start with system boots also if some one can let me know about strace some common use scenarios.

View 4 Replies


ADVERTISEMENT

Debian Configuration :: Firestarter Fails To Start On System Boot

Jul 11, 2011

I have just recently installed firestarter to get an idea of iptables editing with a GUI. Firestarter works great and I love it, however when I turn my system on, and my system is booting up the terminal displays a "Failed" message when attempting to start up firestarter. Now I have been doing my homework (reserch) and have read that a user will get this error because firestarter trys to load prior to the network manager starting up. I have also read some other variables that can cause this is if you use network manager and have a password on your user account (which I do have) can cause this issue.

However in most cases from what I have read is even though it gives the user a "Failed" startup message, once the user logs in, and is connected to the internet firestarter will actually load the iptables. I did some tests and from what I understand I can see that this is true because I have allowed access to certain torrent trackers, and denied access to others, and I can see some come online. Does firestarter load iptables once the user logs in? Or once it fails to load, does it not load at all unless you manually open/load the application. If firestarter just modifies iptables, then once I save my listings in firestarter then I really don't need it to start up correct?

View 1 Replies View Related

Ubuntu :: GRUB Boot Menu At The Start Like Any Other Dual-boot System?

Jan 28, 2011

I've installed Ubuntu on my new desktop alongside Windows 7 (each OS is on a separate drive), I seem to have run into a small problem. Let me start with what I did:

- Unplugged 1TB drive from the PSU, BIOS was not seeing my formatted (and thus empty) 500GB drive and I couldn't put it into the boot order at all with the 1TB turned on.

- Loaded up the boot CD and was able to install Ubuntu 10.1 on my 500GB drive.

- Did a bit of configuring, shut my PC off and plugged my 1TB (with Windows 7) drive back in. I tried to see if I could now see my Ubuntu drive in BIOS but nothing is there - just the Windows drive is in the list of available drives to boot from (along with DVD-ROM and USB).

This is where I've run into my problem. What I want is to have a nice GRUB boot menu at the start like any other dual-boot system but just have the two operating systems on separate drives altogether.I did it this way because I was having issues with the advanced partition menu on the boot CD so just went ahead and followed the KISS method by unplugging the Windows drive.

I was told by a friend that if I put my Ubuntu drive into the first position in my boot order and the Windows drive in the second, then I could boot into Ubuntu and run a GRUB update command (he told me to google it) and that would create the necessary GRUB that had the entries for Windows 7 and Ubuntu.Both operating systems are 64-bit, I imagine that might make a difference in whatever help you guys can offer me. I love the hell out of both OS's and want to be able to use them interchangeably.

View 5 Replies View Related

Ubuntu Servers :: Start The Cod As A Specified User On System Boot?

May 4, 2010

Whats a way to start the cod server as a specified user on system boot. Whats the best way for me to do this? The cod server is located in the users home directory

View 8 Replies View Related

OpenSUSE :: Polipo Doesn't Start At System Boot / Get It To Work?

Aug 28, 2010

When I was using polipo on Ubuntu, it automatically start at system boot.
Now I'm using opensuse, I installed polipo from the repository, however, I have to manually start it by using "sudo polipo". If root privilege is not given, polipo won't work correctly.
What should I do to make it start at boot automatically?

a friend told me to creat /etc/boot.local, with code...

View 3 Replies View Related

Slackware :: New 13.1 Install The System Boot To A Command Prompt And Then Run /etc/rc.d/rc.4 To Start X?

Jul 9, 2010

2nd and 3rd might be linux kernel problems but may help someone else so I included here.1st -- run level 4, /etc/rc.d/rc.4 and xdm -nodaemonJust installed 13.1 on an odd system, including building a new kernel.One thing I do is have the system boot to a command prompt and then run /etc/rc.d/rc.4 to start XBut I found that the rc.4 uses xdm -nodaemon flag and it was causing problems so I removed and all is pretty good. I still see some odd behavior with the virtual ttys sometimes.2nd -- when building a new kernel, I found I need the device-mapper butcouldn't tell if that was a linux kernel issue or something to do with lilo, I didn't want and don't need multiple disk devices like for LVM or MD so I didn't plan to have this enabled.3rd -- CONFIG_EXT4_USE_FOR_EXT23 When that kernel config option was selected and I have only an EXT4 filesystem, the filesystem was mounted as an EXT2, even though the kernel had no EXT2 feature. /etc/fstab specified EXT4 but the mount command showed EXT2. A silent problem that could leave an unpleasant surprise since EXT2 hos no journaling.4th -- I had to run lilo -C by hand in a virtual tty before finishing the install. This was what I had to do when installing 13.0 on different hardware. It seems that the lilo part of the install needs some sorting out.

View 9 Replies View Related

Debian :: How To Add Own Application In System Start Process

Sep 25, 2015

I am new to this debian plotform. How can I add my app to init.d linkup.

I did my programe for I2C Bit banging method and got output on Beaglebone black rev.C hardware.

I want to run my code after booting of beaglebone with out connecting to laptop or login process.

I want just powerup,then run my programe default.

/***************************Extra Information*************
#etc/inittab file
# The default runlevel.
id:2:initdefault:
# Boot-time system configuration/initialization script.
# This is run first except when booting in emergency (-b) mode.
si::sysinit:/etc/init.d/rcS

[Code] .....

View 0 Replies View Related

Debian Installation :: Boot Up The USB And Start Using?

May 2, 2011

Unfortunately I only minored in Computer Science, but I enjoyed it nonetheless and unfortunately I stopped using Linux after those classes. During this time I actually really got to like Linux (the class used Ubuntu but my friend who was majoring in it got Debian for me).

I only got a C in that class because like I said, it was something I minored in. Anyways, my main question is how do I install Debian on a USB (not a FAT32) so that if I move it from home to work or something, I can just boot up the USB and start using Debian on that computer (assuming it has something else like Windows for example)?

View 12 Replies View Related

Debian :: Multi Boot System - Grub / Boot Control

Mar 25, 2010

I have Lenny, and Jaunty Jackaope installed on the same hdd. Jaunty Jackaope was installed 2nd so it has control of grub (I don't know if that is the correct expression) I want to remove Jaunty Jackalope however I know from past experience that after I do this I will no longer be able to boot into Lenny as I will get a grub error at startup. How to I give boot/grub to Lenny so that I can remove the other operating system?

View 3 Replies View Related

Debian :: Grub Boot Loader On A Dual Boot System?

Dec 16, 2010

This is the third time I try unsuccessfully to install Debian as a second OS on a hard drive. When it gets to the end of the installation process the installer asks whether I want to go ahead with the Grub Boot Loader, I choose yes. The end result is however that I can't boot that partition within the hard drive -- i.e., Debian. Can someone tell me what is going on? Should I not use the Grub Boot Loader when I have more than one operating system on a machine? Should I not install Grub on the Master Boot Record (MBR)?

View 3 Replies View Related

Debian :: Systemd Failing To Start System - Recovery Mode Fine

Nov 5, 2015

My previously running debian system recently started failing with systemd failure messages as some services are being started. It never completes. I can log into recovery mode.

I added systemd.log_target=kmsg systemd.log_level=debug into my grub parameters.

After I do that all that I see scrolling down the page on boot are:

systemd-journald[36] /dev/kmsg buffer overrun, some messages lost
and the occasional
systemd[1] Looping too fast Throttling execution a little

Is there a way that I can boot without systemd using sysvinit?

View 4 Replies View Related

Debian Configuration :: Can't See System Start And Stop Message From Console After Install

Sep 26, 2015

After install debian 8, I can't see system start and stop message from console ... How can I enable system message from console in debain 8?

debian 7 output
----------------------------------------------
root@demo:~# service apache2 restart
[ ok ] Restarting web server: apache2 ... waiting .
root@demo:~#

debian 8 output
-----------------------------------------------
root@demo:~# service apache2 restart
root@demo:~# <=============================== No message (start or stop)

View 0 Replies View Related

Debian Configuration :: Start X Server In A Read Only Root File System?

Apr 27, 2010

For my project, it's absolutely necessary to have a read-only root partition system. I have a writable /opt/project partition.But, I also need to start x server. startx This tries to write to some temporary files and fails as / is readonly. Is there any how-to on how to move this temporary files to the writable portions of the file system.

View 3 Replies View Related

Debian :: Start Mono Program At Boot?

May 19, 2011

I've got a relatively simple question. I'm trying to start a program that must be run with mono when my system boots. It's a webserver (McMyAdmin if that helps) so I'd also like to start it as a specific user

View 6 Replies View Related

Debian Configuration :: Start VPN Connection On Boot

Jul 18, 2015

I am struggling to find out how to start the connection to my VPN on boot?

View 1 Replies View Related

Debian Configuration :: Best Way To Start Script At Boot?

Apr 29, 2010

I have a bash script that starts gammu, which I would like to start at bootup. But how do I accomplish this the best way ?

One way is to do it like this

Copy the file to /etc/init.d/
chmod +x the file
update-rc.d scriptfile start 20 2 3 4 5 . stop 20 0 1 6 .

But is there a better way ?

View 1 Replies View Related

Debian Multimedia :: How To Start Cupsd On Boot

Jul 26, 2010

I have installed ubuntu 10.04 lts -- I was wondering why it didn't start cupsd or something on boot?

I have installed the same ubuntu on another unit (same specs) with no problem on printing.... but this one (I'm swearing a lot now!) because it doesn't work... Been at this for 3 days in a span of one month -- and I started to think that this computer is hard headed GR!!

I'd like to bash it -- sorry but I'm really really annoyed -- to put it softly.

I'd like to know why it's not working as smoothly --

Currently I need to $sudo cupsd to make printing work every time I power on this computer.

View 6 Replies View Related

Debian :: Start Service At Boot Time On 4?

Mar 10, 2010

I am using Debian4 and I have apache under /home/apache/bin/apachectl How to start the apachectl service for every time system restart, Itmust be start automatically. Please tell me how todo or how to write the script, how to configure forrun level 2,3 and 5

View 6 Replies View Related

Debian :: Xfce-session Does Not Start After Boot?

Dec 15, 2010

This morning I did a minimal install of Debian to test out xfce and lxde, purely out of curiosity.I tried LXDE first. For various reasons I wasn't entirely pleased, so I removed it and installed xfce4 in a vanilla openbox session. Upon reboot, I was greeted with the CLI. I generated a new xorg.conf file to see if the transition to xfce had altered it, but was greeted with the CLI again after another reboot. I manually started X with 'startx' and noted that the xfce session manager was installed. The xdm session manager, however, was not.Installing xdm fixed the problem, kind of. I am now greeted with an xdm login screen rather than an xfce session login screen. What can I do to have xfce-session be my default login screen?

View 3 Replies View Related

Debian Configuration :: Getting Error Message With System On KDE LENNY 'don't Have Permissions To Start Pppd'

May 4, 2010

my iwlist scan is normal. ethernet connection ok, wirless not working but does seem to receive. wifi radar lists my router ssid. Does this say I have the correct router for my wireless is my question? I am also getting this error message with this system on KDE, LENNY. From KWLAN a wpasupplicant front end.

"you do not have permissions to start pppd or pppd was not found. Dial up networking will not work."

[code]...

View 2 Replies View Related

Debian :: Auto Start At Boot Us The Following Lines In The /etc/rc.local?

Jun 13, 2011

I am using Deluge on my Debian server, for a simple auto start at boot I us the following lines in the /etc/rc.localsudo -u User delugedsudo -u User deluge-webDeluge is running after boot but i wane check if its running with User account and not as root.So I did a ps -aux | grep deluge and notice a line that root is trying to run the command sudo -U User deluge-web (i think its trying).

User 1735 1.5 1.0 187680 21604 ? Sl 16:30 0:04 /usr/bin/python /usr/bin/deluged
root 1736 0.0 0.0 20924 1168 ? S 16:30 0:00 sudo -u User deluge-web
User 1737 1.5 1.1 70400 24084 ? S 16:30 0:04 /usr/bin/python /usr/bin/deluge-web

The question is what does this mean? can i leave it running, is it better to kill it if so how to prevent that it happen on start-up.

View 6 Replies View Related

Debian Configuration :: Auto Start Proxy On Boot

Aug 13, 2015

I have a debian 8.1.1 server running owncloud and a proxy server at home. I have everything working fine, with one exception. The proxy server won't start on boot. If I ssh into the server, then run "sockd -D" as root, it starts up and runs just fine. Any guides I find refer to the init.d script method that worked in Wheezy, but that isn't working. I think it has to do with Jessie switching to systemd? I had used someone elses script in init.d, and ran update-rc.d, but it still doesn't start.

With Jessie, how can I make "sockd -D" execute on system startup?

View 0 Replies View Related

Debian Configuration :: Resolvconf - Does Not Start At Boot Time

May 1, 2010

I'm running Debian Etch AMD64, and currently trying to clean up my system in preparation for an upgrade to Lenny. One problem I have is that resolvconf (which is installed) does not start at boot time, but if I start it manually then bring the NIC down and back up, it works OK, with no error/warning messages.

View 9 Replies View Related

Debian Configuration :: Disable Vsftpd Start On Boot

Mar 15, 2011

I am very pleased with a new Squeeze desktop that I built. I am use to using BSD style init scripts (Slackware, OpenBSD, Arch) and am trying to tweak my system not to start vsftpd at boot. I use vsftpd occasionally to move large files between computers on my LAN. My inittab shows run level 2 as default.

View 3 Replies View Related

Debian Multimedia :: Xrdp Minimal X And Start App At Boot

Mar 9, 2016

I'm running debian 8.3 (kernel 4.1) on a BeagleBone black and writing a program with C# (vs2015) along with mono on the beagle. So far everything is working out great. What I'm trying to figure out now is how to make this setup run like a kiosk with it booting into my program with a graphical environment but with no actual desktop (just a blank screen). There will be an LCD showing the program but at the same time I want the program available through a remote connection.

I've got the blank desktop working via VNC but I think I should change to xrdp (the target users all have windows with remote desktop connection installed by default but what vnc is or have the permissions to install a vnc client).

Anyway, I think getting xrdp started with my program at boot will be pretty simple (famous last words?). I simply start the xrdp instance in rc.local then use the session script to start my program.

What I cant wrap my head around is not having two copies of my program running - one showing on the LCD using HDMI and the other running on a second desktop through xrdp...

View 0 Replies View Related

Debian :: Display Manager To Auto Start XFCE On Boot?

Jul 8, 2015

I'm not using one atm, tried "exec startxfce4" in my .xinitrc but didn't work.

System is Debian Stretch.

View 4 Replies View Related

Debian Configuration :: Make Vino Start At Boot Time?

Jan 5, 2010

so as my title implies I like to login to my headless debian box after it reboots yet havent found any info on that. Can someone please tell me of script which I suppose would be used to make vino start as a process right after boot

View 2 Replies View Related

Debian Configuration :: Apache2 Doesn't Start At Boot Time?

Dec 6, 2010

I am running Debian-Squeeze with apache2. However, apache2 doesn't start at boot time, even though there is of course the required script in init.d. I can start it later on using "/etc/init.d/apache2 start". I have checked the configuration with "apachectl configtest" - giving the answer "Syntax ok". How do I get it to start automatically at boot time?

View 1 Replies View Related

Debian Configuration :: How To Make Vino Start At Boot Time

Mar 3, 2010

I like to login to my headless debian box after it reboots yet havent found any info on that. Can someone please tell me of script which I suppose would be used to make vino start as a process right after boot.

View 3 Replies View Related

Debian Configuration :: Configure Vino Remote Desktop To Start At Boot?

Jan 29, 2011

Kernel: Linux 2.6.26-2-686 (i686)
Compiled: #1 SMP Thu Nov 25 01:53:57 UTC 2010
C Library: GNU C Library version 2.7 (stable)
Distribution: Debian GNU/Linux 5.0.8
Desktop Environment: GNOME 2.20

Gnome comes with Vino Remote Desktop as part of it's package. I want Vino to run at boot so that I can login remotely.I am using VNC-4.1.3 for remote viewing. However, I can only view remotely once I have logged-in locally

View 5 Replies View Related







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