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
ADVERTISEMENT
Aug 1, 2011
I have tried different methods to auto start wpa_supplicant at boot on Ubuntu Lucid server on a laptop which can't be connected to Ethernet.
The only thing that worked is adding the wpa_supplicant command before exit0 in rc.local. It solve my problem of wpa_supplicant auto start and annoyance on not be able to ssh before local login. But the screen stuck at Ubuntu Logo. How can i get pass Ubuntu logo screen to regular tty or xbmc in future?
[URL]
View 1 Replies
View Related
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
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
Mar 30, 2011
I am currently running a VPS with Ubuntu Server 10.10. I have been trying for a few days now to get some programs to run when the system starts, but with no luck. I am trying to use rc.local to do this, there is an:
/etc/init.d/rc.local - http://paste.monsterprojects.org/mpbjhwhbjzhbjrr (Was already on the system, I have not edited this)
and:
/etc/rc.local - http://paste.monsterprojects.org/mpbjhwhbkkkhwez
If i run the /etc/rc.local script manually all the programs start fine, and if i run /etc/init.d/rc.local start, all the programs start fine. But for some reason they just don't seem to be starting when the system boots.
View 3 Replies
View Related
Oct 10, 2010
I just happen to have a glitch with my newly rebuild slackware server. This morning everything was working fine. Then having recently setup raid arrays, I decided to try MrGoblin's rc.mdadm script to monitor the raid arrays.
I copied the rc script to rc.d & added lines in rc.local to start the script, and a line in rc.6 to stop the script when shutdown or reboot.
Now, I cant reboot neither I can shutdown...
If I issue the command "shutdown -r now", Slack execute the normal shutdown or reboot steps, unmount the local FS, turn off swap, remount the rootdev as readonly, and then I see:
Code:
Mdadm monitor not running:INIT: no more processes left in this runlevel & it stalls at this point forever...
Before the machine would have rebooted after this line. What could explain this? Now I have to hard power down or reset the machine, and of course, upon rebooting I get a REISERFS warning of unclean shutdown...
Content of the rc.local:
Code:
#!/bin/sh
#
# /etc/rc.d/rc.local: Local system initialization script.
#
# Put any local startup commands in here. Also, if you have
code....
View 2 Replies
View Related
Sep 16, 2010
How do you set PulseAudio to auto-start during boot? Just upgraded ALSA versions, but pulse audio does not appear to be starting at boot time and I have no sound. RT-Kernel-33
View 1 Replies
View Related
Feb 13, 2011
I performed the first update in 4 months to my Fedora 12 Constantine. I also removed a 'dial-up' package (figured i didnt need it) and the KDE package after the update. Firefox was not getting a connection to the internet at this point. The network view showed the ethernet as inactive. Everything besides Firefox appears to work fine.
I restart machine.
It boots until right after the fedora logo fills up. At this point my dual monitors go to sleep. No response from anything. When I start in interactive mode I hit y for everything. Everything works great until libvirtd, libvirt-guest, and local. After y on all three nothing happens. I can type on the screen but no response. It just sits there. I can boot into text mode and do whatever I want. What can I do? What other information do I need to move forward?
I have looked at the Xorg.0.?? i forget what its called. I am not versed in reading the messages in it. Same for the other logs I looked at.
How I troubleshoot Linux problems: Install Linux -> Problem -> Google -> Run Command -> Didn't work? -> Start Over
View 10 Replies
View Related
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
Sep 14, 2015
Usually I start my remote deluge seedbox as a normal user
Code: Select alldeluged
deluge-console &
What is the best way to monitor those processes and bring that up when it crashed?
View 1 Replies
View Related
Jul 25, 2014
I have just did a fresh install debian jessie today in virtualbox, the X window manager is fxce. By default the default runlevel is 5, and I tried to change the /etc/inittab content:
Code: Select allid:3:initdefault:
and reboot, but it didn't effect to the result, the X-window auto loaded again >.<
I need to change it that will boot in to console mode first, and can run startx if necessary, how can I change it permanently?
View 7 Replies
View Related
Feb 18, 2016
I'm not sure how to do this. I checked the hard drive preferences and looked through the forums... I don't want to manually mount my hard drives(s) every time I boot up just to access my music and wallpapers.
View 5 Replies
View Related
Sep 27, 2010
How to auto start programs in startup time?
View 4 Replies
View Related
May 19, 2010
Recently i've upgraded my fedora 11 to 12 using the preupgrade command and now I have a problem booting! when i start the interactive boot it hangs after trying to run the service local, it looks as if its trying to boot because the cursor blinks really fast then blinks normally after a few seconds. no error was stated during the event. what seems to be the problem here?
View 3 Replies
View Related
Apr 16, 2011
How to get compiz to auto-start. What seems to be the generally accepted method (from what a few google searches and the debian wiki tell me) of using gconf-editor and changing the window manager from 'gnome-wm' to 'compiz' in desktop > gnome > session > required_components doesn't change anything. The only method I found that did not involve using a terminal and running 'compiz --replace' every time I boot the computer was to add compiz and fusion-icon to the gnome startup apps, but this causes unwanted flickering (it starts metacity and then replaces it with compiz, ie it's simply automating what I would do with the terminal). Autostarting the fusion-icon alone does not start compiz, although it allows me to start it from it's menu if I right click the icon. Note that I sometimes use fluxbox as well, so starting it on boot isn't really an option either.
Perhaps this can be useful :
compiz:
Installed: 0.8.4-4
Candidate: 0.8.4-4
gnome-session:
Installed: 2.30.2-3
Candidate: 2.30.2-3
View 5 Replies
View Related
Jul 4, 2011
I set up opensuse 11.4. I updated nvidia 6600 drivers from vendor. Everything is good until automatic kernel update. When I start the system, opensuse is not open with this lines.
/etc/rc.status: line 1: /bin/ash : no such file or directory
bash: ./etc/sysconfig/chron : cannot execute binary file
X_MOUSE_CURSOR : Undefined variable
[code]....
View 3 Replies
View Related
Feb 24, 2010
On my debian web server I curently have ImageMagick 6.3.7 08/07/09 Q16 since this is an old version of imagemagick i wanted to upgrade my system that still runs etch, and afterwards upgrade imagemagick. I can not see what version the current lenny imagemagick package has, but I assume it is newer then 6.3.7, no?
When i ugraded I found out that my apt-sources used stable rather than etch. So I already had a mix of lenny and etch I suppose. I then had > cat /etc/debian_version 4.0 Before I upgraded I changed my apt sources from stable to etch, updated the package-tools and did a dist-upgrade (for details, I followed these instructions). After restarting I have still 4.0 as debian version. Also uname -r is 2.6.17. How can I do a correct update?.
Also my services were not started (ftp,ssh, apache2), so I asked my hoster to start the ssh service. This morning everything was up again, but it seems like nobody there have had a look at this. How do I absolutely ensure that my ssh service is start at boot. It is a remote webserver, so I need at least this service to be running.
View 2 Replies
View Related
Mar 19, 2015
I am new to Debian and I have been trying to find a way to auto login to a users account upon Debian booting. Is there a way to auto login to the root account upon a Debian boot? Is it possible to do this with GNOME installed as well as Minimal?
View 1 Replies
View Related
Jun 7, 2010
I am having a strange issue with my xserver. I do have nvidia graphics. My system is Debian Squeeze with limited packages from Sid to fix issues when needed. Currently I don't think that there are any installed from Sid that have not since been updated through testing. It also contains one package from Lenny that does not exist in Testing for some reason, ogle the dvd player.
After an update the other week my gui failed to come up. That is not that unusual with nvidida. So I reinstalled the driver and all seemed to be fine until the next reboot some days later which failed. I reinstalled the driver again and all seemed fine.
The machine did not come out of hibernate cleanly some days later and upon reboot no gui
I have tried the whole group of driver packages out of sid, testing, stable. All are afflicted with the same problem. When the box drops back to the login if I login and issue from root '/etc/init.d/kdm stop' then '/etc/init.d/kdm start' the gui comes up just fine. It also seams to launch much faster than it has for some time.
A friend has questioned if kdm is starting to early in the launch process. I think he may be on to something. But looking at the files in /etc/rc*.d does not seem to indicate to me that is the case. kdm has the launch number 5.
The machine has been converted to the, what is it, multi-process launch thingy, quite some time ago now, like a year maybe? These are what is in the sequence from kdm on
Code:
The install is amd-64 using the standard debian kernel.
View 5 Replies
View Related
Jan 2, 2011
How do I program a virtual machine to auto-start/boot upon boot up of the host system? I am experimenting with SNORT network intrusion detection system and have installed it inside a virtual ubuntu box which I want to start automatically.
View 1 Replies
View Related
Mar 12, 2011
i did try to look for an open post for this, i found other items, but not exactly what i was looking for. i am not that o-fay with linux so you will have to bare with me.
firstly my disto.
Version: 2.30.2
Distributor: Debian
[code]....
View 2 Replies
View Related
Sep 17, 2010
I have installed vmlinuz and initrd.gz (squeeze) in /boot/newinstallation and added to Grub the lines:titleNova Instalaçãoroot(hd0,0)kernel/boot/newinstall/vmlinuzinitrd/newinstall/initrd.gzNevertheless, when I choose this option at the grub, it begins to start the kernel vmlinuz and thus restart the system. The installed Debian Lenny boots in a normal way.
View 10 Replies
View Related
Oct 9, 2009
I just installed TuxGuitar - very cool - and to get the sound to work I had to install Timidity++ as well. Before I start TuxGuitar I have to execute:timidity -iA -Osin a terminal window first, which is kind of a pain to do every time I run TuxGuitar.How do I get this line to execute on startup such that timidity is running when I start up? I tried adding that line to rc.local
View 13 Replies
View Related
Jun 3, 2010
I press On-button, Debian boots, logs in and automatically connects to the Wireless network AND! to my local pc via LAN. It runs an ssh server, so I can ssh into debian over internet and communicate with the local pc (send a magic packet).Here are my problems:
1) I don't how to log in automatically. This and this doesn't work.
2) I need a network tool that can manage multiple connections and has a reconnect feature. With the default network manager I cannot even connect to more than one network simultaneously although I have two network devices of course.
And I guess I can run all that in console mode, right?
View 10 Replies
View Related
Apr 24, 2010
I installed the slack 13 in an old Toshiba Qosmio F10, and everything was ok...but then,like 2 or 3 days after,I got a display problem at boot time: the screen is flashing, in vertical lines,so I read 2 letters,and then the next 2 are flashing. And it can't boot. 'Loading the kernel' is the last message.
I tried booting from the slack cd, the huge.s, but I got the same.
The strange is that if I use an old (very old) live cd, Kurumim 4.0, a dead Debian-based Brazilian live-cd, it boots. And then I have the vertical lines in graphic mode, but the notebook works.
I think that this is a hardware problem, but since it works with an old debian livecd,I suppose it should also be bootable with Slack.
EDITED: Ok,I tried Ubuntu and it couldn't boot,but eith the 'grapfical safe mode' it booted.
Since I can't believe that even Ubuntu would boot, but not the Slack, I tried
Quote:
# VESA frame buffer console @ 640x480x256
vga=769
and it is working...so the problem must be really hardware, the graphic card..Now I will try some others graphic definitions to see which one is the best
View 1 Replies
View Related
Feb 1, 2011
I am trying to install Koha on centos5.5. Afte installing myqsl it starts normally. But when i add following lines into my.cnf and trying to restart mysql again it says that restart is failed.
here is the lines that i add into [mysqld] section
default-character-set = utf8
character-set-server = utf8
skip-character-set-client-handshake
View 2 Replies
View Related
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
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
Jul 18, 2015
I am struggling to find out how to start the connection to my VPN on boot?
View 1 Replies
View Related
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