I need to add a program to my startup menu (webserver which needs sudo for port80). I follow their directions, but it breaks the program and no pages are served. I will not be home to guide wife and kids every time they boot the machine to sudo start the program. How do you start a program at boot, as root or sudo start.
I cannot figure how to make a program start-up when Ubuntu boots. I want the "sudo firestarter" command to run so the firestarter icon appears in the panel.
I am using a headless server with virtualbox installed on it. A second box is a LAMP server from which I have phpvirtualbox installed to give me a remote connection to the headless server. In order to get a connection made between the 2 boxes I need to start a program called vboxwebsrv, this being on the headless box. I therefore need to ssh into the server and startup the program. What I'd like to do is have this program launch on startup, and the folks at phpvirtualbox has a sample script available that will do that. Unfortunately the script uses a su command, not sudo. Since I am using Ubuntu, the su command doesn't work, but using sudo requires a password response. How do I deal with this?
Here's a snippet from the script:
# Function that starts the daemon/service # do_start() { if [ "$VBPID" != "" ] && [ "$VBPID" -gt 0 ]; then
[code]...
What I currently do is: sudo /usr/bin/vboxwebsrv -b --logfile /dev/null >/dev/null.(The script file sets up the path earlier on).What I don't want to do is have any interaction during startup, and frankly, I can't see how to avoid the password thing.
Certain commands like: fdisk -l nmap -sT 192.168.0.1/24 iftop
require administrator privileges to run. A while ago i read a post(forgot where i read it) about being able to let a user run these commands in a script (that contains the desired command) created by the administrator/root without the user having to do a sudo and entering a password. Does anyone know how i can go about doing this?
I am running an Ubuntu Server 10.10. I have installed Apache2, I put my perl script in /var/lib/cgi-bin. When I run this perl script from the terminal it works fine. When go to a web browser it doesn't. When I look at Apache's error log, I see this line :"sudo no tty present and no askpass program specified"I tried editing the sudoers file, with the user www-data ALL=(ALL) NOPASSWD:/path_to_my_script. But nothing changed. What am I doing wrong?
I have Empathy set to start when I login, and when I turn off my computer, it is always still running. I also usually have Evolution, Liferea, and Rhythmbox running. All of these applications usually work fine the next day when I turn on my computer. However, for the last few days, Empathy has been starting without a menu bar. In one instance, Rhythmbox was also menubar-less. Now, Empathy is always without a menu bar. If I ever need the menu bar, I have to restart Empathy. Can anyone tell me why this is happening? I am unable to provide a terminal output since this application starts up with my computer. I have provided a screenshot of Empathy. I think I have a faint idea of why Empathy is without a menu bar. I read something somewhere about an XML file that contained the menu bar contents. I think that since I shut off my computer without closing these applications, that file has been corrupted. I have no idea why everything works fine once I restart Empathy, though. If you cannot answer this question, perhaps you could tell me if it is safe to shutdown Ubuntu with applications still running. In OS X, it will automatically tell your applications to quit safely, then turn of the computer. I hope Ubuntu doesn't just force quit any open applications. I am using Ubuntu 9.04 32 bit with the latest updates. I am using Empathy 2.26.1.
I have connected my TV (and my regular screen) to my Ubuntu 9.10. I use TwinView, and that works just fine. I have also installed Moovida (I love that program). And I would like my PC to open Moovida on startup, but I need it to be on the TV screen.
I would like to know whether there is a way of running a console program at startup. That means even before user login. My guess was that it would have to be run like a service but this idea comes from my ... windows" experience.
Will a program (created using Real Studio) that's placed in the startup queue run? I tried just this, and while there was no error at startup it appears the program had no effect. It is a shell execution to set my screen-blanking time. The program does work once I am up and running though. I am using Linux Mint 8 on a T30 Thinkpad.
I just fresh-install upgraded from Jaunty Jackalope to Lucid Lynx, on my dual-boot netbook. Now, the startup menu does appear when I boot up, but only for a fraction of a second! Default bootup is of course, Ubuntu, but since the menu flashes by so fast, there's no way I can access the other choices, including Windoze Expee.So I installed Startup Manager, and set the timeout to 10 seconds. (And to "show text during boot".) Still, the startup menu flashed by, no delay at all, not even a second! Tried setting timeout to 100 seconds, and once more,(Examining grub.cfg shows the timeout was changed to my specs...I just viewed the file.)I searched for bootup problems in ubuntu forums, but did not find any problem similar to mine. My situation seems to be that I simply can't get the startup menu to delay, so I might access it.
I recently installed Ubuntu according to the instructions on the site. However, now when I start up my computer I see Ubuntu, Ubuntu recover (something like that), two windows 7's, and windows vista. Before I installed Ubuntu I only had windows 7. How can I clean it up so that I only see Ubuntu and Windows 7?
I'm running maverick netbook remix on an asus1015pe eeepc. I recently switched from the unity interface to "ubuntu netbook 2d" - the one they say resembles the 10.04 netbook interface. I really like it - fast, crisp, and intuitive - but there's one thing I'd like to change, if possible. Right after login, there's a full-screen translucent menu that covers the 1st workspace. If I wait a few seconds, I can make it go away by clicking the "desktop" button in the bottom left, but is there any way to make it so it doesn't appear at all? so that after login it goes right to a clean desktop.
Installed Ubuntu on a 40 GB partition side by side with Windows 7 currently installed. I have had this exact setup before. Problem, boot menu never shows. The system boots into Ubuntu automatically. Windows seems to be intact and accessible. How can I get the boot menu to appear at startup?
I was in Startup Application Preferences and I was managing the list of startup programs when I accidentally clicked Remove. Now it's gone and I don't know what it was. The very top one, above Certificate and Key Storage.
on every start up, I get a frame which can not be closed because I don't know to which program it belongs to. ince I am not that familiar with running programs and their respective tasks on system monitor, I can't figure out which one to close. By the way the second one showed up around the time I was taking the screen shot and I don't remember what it was about. Here is a screen shot and list of running tasks:
How can I prevent a program loading on startup? The program does not appear in Preferences / Startup Applications. I want to avoid having to sudo kill all programname every-time I login.
the startup of programs when i log into my Ubuntu Account.
My Operating System:
- Ubuntu 9.10 Karmic Koala (only using Gnome)
Programs at StartUp:
- Mozilla Thunderbird (2 email-accounts for business) - Emesene (MSN Client for business use) - FireStarter (I know it's just the GUI, but i love to view the Logging at realtime since Ubuntu is the Main-Server in my network)
Is it possible to configure the startup, so that the programs start running AFTER the Network Connection is established?
I have put som programs in System -> Preferences -> Startup. That works fine, except that Synaptic starts without asking for a password, and therefor also without superuser privileges.Is there a way I can change the command so that it will ask for a password?
I have followed this post: http://ubuntuforums.org/showthread.p...lay+resolution And when I restart it goes back to having the edge of my window (scrollbar) cut off. I added the increase_resolution.sh to my startup menu but I guess I don't know the command to MAKE it start at startup. (That is what "command" means in the "Edit startup program" menu, correct?) If I go into usr/local/bin and click run it works, but if I can execute it automatically, that would be great.
Also, I have added an account(?) for my daughter and when she is finished and I try to log her out the display goes nuts and does not correct itself. I assume it has to do with this since when I restart the machine (and the script isn't running) the picture is fine again. Is there a conflict between the two accounts and this script? I'm sorry if this is not making sense, I know what I want to say, but don't have the lingo/jargon down.
I have a National Instruments gpib interface PCI card on my machine. It has been working up till now.The computer was moved when I was gone, and now at start up I get two alarm beeps from the motherboard speaker, no grub menu (hidden line is commented out and time out is gtr than 0).In the past I had to lock the kernel to 2.6.32-28.55.newer kernels broke the interface...although prolly foolioshly, I did allow other system updates.
I'm putting a program in my startup applications that is completely GUI, with no command line options. The program is Calibre, if anybody is curious. Is there any way to start this program minimized? Gnome, Lucid, x64
Made a little c-program i want to start at boot and found out that i can do that through the rc.local script that runs once every time the computer boots. Say that i have a program called test in /home/user/Documents... what do i write rc.local?