Ubuntu :: Make A Program Start On Boot, But Not Under Root?
Jul 7, 2010I need to make my website autostart after reboot. I may just add it to rc.local but i don't want it to start under root
View 1 RepliesI need to make my website autostart after reboot. I may just add it to rc.local but i don't want it to start under root
View 1 RepliesI have a couple of encrypted external hard drives that I have to mount with realcrypt.The thing is, to start realcrypt I always need to put in my root password, which is kind of a drag.I have combed the internet for information and the most sensible solutions always pointed to do a visudo edit.There were a few things I tried, but none of them seem to work.This is the last iteration - I put in all realcrypt files i could find, which I suppose shouldn't be necessary but desperate times call for desperate measures, right?
View 4 Replies View RelatedI know there's a bunch of ways to start a program on boot, but I'm wondering if there's pluses/minuses to the ways and what they are.My req's:1. I want it to be started as the user I log in as (NOT root)
View 4 Replies View RelatedI'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 RelatedI do this every time.
Code:
ifup dsl0
How can i set this to start at boot time?
I have installed ntop and it works fine, but I do not use it every day. Somehow it installed to start on boot. I do not want it to start automatically at system start/boot. I looked and searched, and looked some more but I can not figure out how to stop it from starting at boot time. I'm using Unbuntu 10.
View 1 Replies View RelatedDoes any one know how i can make YaKuake start on boot.
View 1 Replies View RelatedCan anyone tell me how to make this script,( located in /etc/init.d/tomcat ) startup at boot time under the tomcat user and not the root user?
#!/bin/bash
# tomcatStartup Script for Tomcat
# chkconfig: 2345 20 80
# description: Tomcat Server basic start/shutdown script
# processname: tomcat
# pidfile: /var/run/tomcat.pid
[Code]...
I am running a dual boot with Windows 7 pro and ubuntu.
How do I change the boot order to make windows 7 the default start up??
I looked into the handbook,googled for it,but found no working solution to this "problem". Everytime I use Opensuse I must su and then type dhclient,how can I make sure my connection will be up as soon as I log in?
View 7 Replies View Relatedso 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 RelatedI installed dansguardian & squid on 11.2 and things seem to run fine. Squid auto starts but dansguardian does not. I have checked Yast2's runlevel services option and dansguardian is enabled to 'Yes'. But when i check with 'service dansguardian status' it reports 'unused'.If i start dansguardian by hand, things work perfectly fine.I am in a desperate situation since there are 4 other computers which are dependent on this setup to work correctly
View 2 Replies View RelatedI 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 RelatedI have Windows 7 and Fedora 14 both on my laptop in dual boot configuration. When my computer starts up it shows a screen that says press any button to select another operating system to start, then I can make Windows 7 start. But after 2 seconds, if I DON'T press any button then Fedora starts automatically. How can I change this so Windows starts automatically when I don't press any button?
View 4 Replies View RelatedI've got an install of CentOS 5.3 in a VM which was installed without X or Gnome.I've added X (yum groupinstall 'X Window System') and Gnome (yum groupinstall 'GNOME Desktop Environment) and can now run startx no problem.However on boot I get a command line login rather than the graphical login screen one normally gets if Gnome is included at install time.What do I need to do to get the graphical login after boot?
View 3 Replies View RelatedI am new to linux and am trying out script writing. I am using shell. How can I make a script to open a program then operate within that program?
View 5 Replies View RelatedI'm not a Linux noob, but I am far from guru. I'm running a single board computer with a slightly customized Debian Etch (customized by the SBC vendor). No Gnome/KDE/X installed. My application is a control application which uses SDL (Simple DirectMedia Layer) to paint some basic graphics on the VGA. I need to run it as root because the application calls iopl() to access an IO port.If I run my application manually from the command line, life is sweet. From Googling around, I found http://www.debian-administration.org/articles/28, and hence I:1) Created a script in /etc/init.d2) Executed "update-rc.d scriptName defaults" to link the script into the boot sequenceAll very straightforward. My application starts at boot. But when I try to SSH/SFTP into the SBC, I get "Connection refused". So I can't manage the SBC anymore, and this is a big problem. I am not sure if it's relevant, but my application starts before the SSH daemon.My script looked like:
case "$1" in
start)
echo "Starting my application"
[code]...
I have a bit of a dilemma.
I'm using XFCE and it doesn't by default lock the screen before hibernating. I see this as a bit of a security risk, and as I can't hibernate while the screen is locked, I'm a bit lost as to how to achieve this.
I've begun editing /etc/acpi/hibernate.sh, here's what I have so far code...
If I run with sudo, the system hibernates, but gnome-screensaver will not fire. I can verify this by trying "sudo gnome-screensaver-command --lock". The screen goes black, but is not locked. The screen locks properly without sudo.
So the only solution I can see is to edit /etc/acpi/hibernate.sh in such a way that gnome-screensaver-command runs under the current user, and pm-hibernate is called as root.
Also, when I click the HIBERNATE button in XFCE, how does it call pm-hibernate under root without prompting me for a password? I normally wouldn't be interested in such things, but as it seems relevant to my problem I'm a little more eager to learn
Accidentally I changed the ownership of all the directories under / to my own instead of root:root. Now I am unable to use sudo and many bad things are happening. Is there a way to revert the changes or change the permissions again to root:root or make sudo work ?
View 3 Replies View RelatedI have a mysql database and i use it with apache for my webpages. And I guess it dosen't start when the computer starts so I have to manually start it with "sudo /etc/init.d/mysql start" This returns fail so i went to '/var/run/mysqld/' and the folder was empty. I don't know if this is the problem or not. How can I fix this?
View 9 Replies View RelatedI 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 RelatedI'm configuring a new Centos 5.5 server in replacement of an old W2K server.The topology of our network is simple : one file/dhcp/dns relay server and workstations (PC's and some MAC's) plus network printers and scanners.All the workstations have dynamic IP addresses (easier because a lot of 'dynamic' changes : new persons with their own laptop, ...) and the server and printers/scanners have fixed IP addresses.I edited the dhcpd.conf (see here underneath), I have the file dhcpd.leases but it doesn't start !
DHCPD.CONF
ddns-update-style interim;
ignore client-updates;
[code].....
I install lirc and want to prgram irxevent start automatic when the system start
Code:
System->Preferences->Startup Applications
Add an item,but that not works every time,means sometimes cannot work.
I'm currently running SUSE 11.1 and trying to start Amavis so I can use Kmail. I have just run the latest updates via Yast. I'm getting the following when I try to start Amavis: /etc/init.d/amavis start returned 7 (program is not running):
View 1 Replies View RelatedIn 11.04 natty, I can't find a way to run a program with Administrator privileges.Specifically, I'm trying to configure sbackup by using the Simple Backup Configuration frontend. I always used to run this manually, set my backup schedules, and then let the program carry out backups in the background. In the new version, the scheduling options are greyed out unless you're logged in as Admin.
I've asked the question in the sbackup forum (no answer so far!) but in general terms, how do I run an application with Administrator/root privileges?
Is there a way to start a program via ssh?I have a SSH app on my android phone and would like to start VLC from my phone. Neither the command "VLC", "nohup VLC" or "VLC &" seem to do the trick.
View 4 Replies View RelatedI have been trying to run the program unrevoked so that I can flash and root my phone. I want to do this on Linux, but this requires me to run the program as root and I don't know how to do this. I looked it up online and it told me to simply type sudo reflash or gksudo reflash and I tried both, sudo says it can't find the program and gksudo does something then nothing appears to happen.
View 4 Replies View Relatedmy system has an autologin as root defined by custom.conf which is located in /etc/gdm : Code: [daemon]
TimedLoginEnable=false
AutomaticLoginEnalbe=true
TimedLogin=root
AutomaticLogin=root
TimedLoginDelay=30
And I would like to have the program "expfit_spifunc2" executed after the auto login. So, I have added "xterm_expfit.desktop" inside of /root/.config/autostart
"xterm_expfit.desktop" code:
Code: [Desktop Entry]
Encoding=UTF-8
Version=0.9.4
Type=Application
Name=xterm_expfit
code....
Im trying to make an all in one program splash screen for ubuntu.
the idea behind this is, I have alot of staff at my store who will be using a system system for a few programs, but almost none of them have any real use of ubuntu.
What I would like to do is have them log in and instead of seeing the desktop have a splash screen pop up with the program choices they can use, all in one place.
How do I run a program as root? I want to run BleachBit as root, on Ubuntu I did "sudo bleachbit" what do I type on Fedora?
View 14 Replies View Related