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


ADVERTISEMENT

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 :: 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 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 :: 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

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

Debian Configuration :: Configure Vino Remote Desktop To Start At Boot - Only View Remotely Once Have Logged-in Locally

Aug 9, 2010

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 9 Replies View Related

Debian Configuration :: Boot Via PXE, "no Default Or Ui Configuration Directive?

Mar 19, 2011

A week ago I opened this thread viewtopic.php?f=17&t=61580 in "Board index ‹ Help ‹ Installation" and asked for a moderator to move this to here. Because it hasnt happened up to know, I am reopening the thread here. It would be reeeeally great if somebody could help me with my problem!

I own two computers, one netbook and one laptop. I want to boot my netbook as a diskless client via PXE.I set up a dhcp-, tftp and nfs-server on my laptop but when i boot my netbook, the follwoing messages are displayed:(to make it more clear, i uploaded the whole output and shortened the output below)

[Code]...

View 1 Replies View Related

Debian Configuration :: Can't Start Ubuntu LXC

Jan 30, 2016

I can't start a Ubuntu 14.04 Trusty LXC on Debian 8 Jessie host. I keep getting this error.

lxc-start 1454188100.777 ERROR lxc_cgfs - Could not find writable mount point for cgroup hierarchy 8 while trying to create cgroup.
lxc-start 1454188100.777 ERROR lxc_start - failed creating cgroups
lxc-start 1454188100.777 ERROR lxc_start - failed to spawn 'rosxubuntu'
lxc-start 1454188100.777 ERROR lxc_start_ui - The container failed to start.
lxc-start 1454188100.777 ERROR lxc_start_ui - Additional information can be obtained by setting the --logfile and --logpriority options.

View 8 Replies View Related

Debian Configuration :: New Kernel Cannot Start ?

Sep 10, 2010

I have maked a new kernel (version is 2.6.24.7) in debian system which kernel is 2.6.26, and then when i start the new kernel which is 2.6.24.7, it tells me that:

View 1 Replies View Related

Debian Configuration :: How To Auto-start GUI As Root

Sep 28, 2015

I 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

View 12 Replies View Related

Debian Configuration :: #couldn't Start The Xserver?

Mar 26, 2010

im sure that my graphic card is good but after i installed the compiz manager ....the system failed to start the xserver this is the xserver output :

x.org x server 1.7.5
release date : 2010-02-16
x protocol version 11, revision 0

[code]....

View 5 Replies View Related

Debian Configuration :: Start The Ssh Connection Between Both The Computers?

Apr 27, 2010

I have installed GNU/Linux Debian on my computer (desktop) and i have ubuntu installed on my laptop. Now I want to start the ssh connection between both the computers. I want to make Debian as server and Ubuntu as client. Please can you guide me with this (installation and setup). Also the key values of the configuration file (ssh_config & sshd_config) are expected.

View 10 Replies View Related

Debian Configuration :: Can't Start X - Repairing Permissions

May 29, 2011

my ENTIRE hard drive now has user AND group permissions root. I can't start X and are having various permissions issues. although ive been using linux for a long time.

long story long, I did a debian netinst to my netbooks SSD. got everything EXACTLY as I wanted it, was very happy with my first go at debian but of course being a linux dork im always willing to tweak. I installed onto btrfs which I recently learned supports compression which not only saved precious SSD space (only 8GBs) but according to some benchmarks also improved performance. this was a boot option and would only start compressing new files. this, of course, could not be good enough. so I formatted my SD card btrfs, mounted it with compress option + my SSD defaults and copied over all files that weren't a mount (i.e. proc, dev, sys,...) however I forgot to copy permissions. so every file was copied with root:root ownership and I didn't realize this when booting to the SD card to verify things were working as I assumed ( never do this ) that getting to a login terminal was enough. So now I need to fix all permissions and I would really prefer it be without a clean install.

A netinst can take a dec amount of time and I had a lot of tweaking to do since I only used Xorg + i3 tiling wm. there has to be a way to fix this...I started trying to reinstall all the packages but kept running into issued where aptitude wasn't able to reinstall things like bash or perl-base, presumably bc they were in use or had incorrect permissions set

View 10 Replies View Related

Debian Configuration :: MySQL Server Doesn't Start

Jun 18, 2015

Since upgrading from Wheezy to Jessie I have not been able to start the MySQL-server. When I do a "systemctl start mysql" I get the following answer on the console:

Job for mysql.service failed. See 'systemctl status mysql.service' and 'journalctl -xn' for details.
Entering 'systemctl status mysql.service' the answer is:
● mysql.service - LSB: Start and stop the mysql database server daemon
Loaded: loaded (/etc/init.d/mysql)
Active: failed (Result: exit-code) since Don 2015-06-18 18:35:41 CEST; 4min 1s ago
Process: 11272 ExecStart=/etc/init.d/mysql start (code=exited, status=1/FAILURE)

syslog and hostname.err don't show any pertinent messages.

View 4 Replies View Related

Debian Configuration :: Nm-applet Doesn't Start After (Testing)

Feb 22, 2016

After the latest update of network-manager-gnome to version 1.1.90-3 , I see that I have to start the nm-applet in Testing from a terminal, otherwise I can't bring up my wired connection.

The usual nmcli networking on command is failing to connect, also restarting the network-manager.service with systemctl doesn't do anything, the only way to connect at this time is indeed to manually start the nm-applet from a terminal.

I've also spotted this message in the logs:

Code: Select alltraps: nm-applet[1105] general protection ip error:0 in libgobject-2.0.so.0.4600.2

Could it be something wrong with my configuration (although , it worked before this update) or is it some bug in network-manager-gnome 1.1.90 ?

View 4 Replies View Related

Debian Configuration :: Correct Way To Start Multiple Instances Of MPD?

Mar 18, 2010

The first thing that comes to my mind is to add (copy) the script in /etc/init.d and the /etc/rc* directories by hand. Debian's automatic handling of init scripts on package install/removal is quite nice, so I tend to shy away from making any manual changes if there's an automated way to do it. Which leads me to the question: is there an official way to run a second instance of a daemon? (Tried google, didn't find much more than a bug report).

View 4 Replies View Related

Debian Configuration :: Aptitude-gtk - How To Install And Start The Program

Mar 4, 2011

I have downloaded the package but i dont know how to install and start the program.

View 10 Replies View Related

Debian Configuration :: XFCE4 And GNOME Simultaneous Start

Mar 20, 2011

It's so frustrating that it costs me much self-control not to express my feelings about that directly.So the problem is that XFCE4 and GNOME starts after I choose GNOME option at start-up (in GDM or KDM - I don't know which of them I have as default).If I choose XFCE4 at start-up there is no problem - only XFCE4 starts. Otherwise (if I choose GNOME) GNOME starts and XFCE4 at the same time.

View 7 Replies View Related

Debian Configuration :: How To Start Script After User Logs Into Desktop

Jun 22, 2015

So the question is simple what I need is to run file.sh after user logs into desktop LXDE.

Ive been trying whole day tried to put my file.sh into /etc/init.d and ever created symbolic link to /etc/rc4.d etc..

BUT after I log into desktop nothing happens?

I am coming from ubntu there it was easy just add that script into startup applications.

View 14 Replies View Related

Debian Configuration :: Gnome Login Screen Fails To Start

Oct 6, 2015

Today I upgraded my system to the Nvidia driver 340.93 and 4.2.0-1 kernel on Debian Stretch.

While I wait for the gnome login screen to pop up I get the "Oh no something has gone wrong" message.

When I log in from another terminal and execute startx , gnome initiates and starts although settings like my resolution and other xserver settings are not loaded.

From the journalctl I believe the error is located in the following section:

Code: Select allOct 06 14:23:17 DEBIAN-PC org.a11y.atspi.Registry[1692]: SpiRegistry daemon is running with well-known name - org.a11y.atspi.Registry
Oct 06 14:23:17 DEBIAN-PC gnome-session[1680]: X Error of failed request:  BadValue (integer parameter out of range for operation)
Oct 06 14:23:17 DEBIAN-PC gnome-session[1680]: Major opcode of failed request:  154 (GLX)

[Code] ....

I reinstalled the xorg-xserver and the nvidia drivers and I get the same behavior.

Looking for some info in order to reconfigure the gnome-session to work?

View 12 Replies View Related

Debian Configuration :: Making (PPPOE Start) Run At Startup Automatically

Feb 17, 2011

I have to use pppoe because my ISP uses service names, and as far as I know the only program which lets me input a service name is pppoe (inside the pppoe.conf file). Networkmanager is buggy because it tends to disappear from the panel periodically and, worse, it doesn't reconnect (although the option is selected, it does reconnect only once).

So, for peace of mind I open a superuser terminal and enter "pppoe-start" and "pppoe-stop" to have everything I want (reconnects automatically, etc.). Now the question is: how can I have pppoe-start run at startup, automatically, without entering superuser mode, and without having a terminal open for this? Using Debian Testing (Wheezy).

View 2 Replies View Related

Debian Configuration :: Dual Boot Ubuntu/Debian: Debian Has Disappeared?

Apr 5, 2011

I have just installed Ubuntu (/dev/sda7) and Debian (/dev/sda4), but since I have updated all informations on Ubuntu, then Debian did not appear anymore on the grub list. There is an wiki I have found, but I an not really sure about what to do.

Here are the boot informations:
Boot Info Script 0.55 dated February 15th, 2010

Boot Info Summary:

=> Grub 2 is installed in the MBR of /dev/sda and looks at sector 488861020
of the same hard drive for core.img, core.img is at this location on
/dev/sda and looks on partition #3 for (,gpt3)/grub.

[Code]...

ps: on this file, it says that the /boot is installed on the MBR and /dev/sda3. I will remove the boot from MBR as I am now using /dev/sda3 instead. Sorry for my english

View 7 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 :: VPN PPTP Load On Start And Route All Traffic Through Ppp0?

Mar 28, 2016

I am in serious situation involving PPTP protocol VPN in Debian 8 Jessie stable. I recently became a paid VPN subscriber. Using PPTP; Is there a way to automatically route all traffic through ppp0? Im getting the vpn service killed (ip address goes back to normal unmasked state) whenever there is a power outage (modem reset) and there are alot of those where I live, Im going to get astabilizer and I need a software solution for the situation as well. Theres gotta be a way to route all traffic through the VPN route ppp0 . I tried adding persist and maxfail 0 to the pptp config file but it did not do what i wanted.

Here's my peer configuration file :

pty "pptp blabla.net --nolaunchpppd"
name blablabla
password blablabla
remotename PPTP
file /etc/ppp/options.pptp
require-mppe-128
refuse-eap noauth
persist
maxfail 0

On a second note, its clear to add that I basically need a way to also auto load the line

pppd call blabla.net
and
route add default dev ppp0

On system startup by default so the computer does not use "Wired" connection ^at all^ when not through ppp0. Any other way of not losing VPN anonymity ever due to hardware malfunction.

Is there a way to do this? Ive looked on the net and everything seems like its either from the nineties or can fry my pc , Im no debian expert, less than a year at linux..

Need it to use wired only if ppp0 is being used so if its no vpn, no connection at all period,

View 1 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







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