Debian :: Make Program Run On Startup In The Graphical Env
Feb 21, 2011
I have a dedicated server which runs a game server. On that dedi, I had Debian installed, and I wanted to have graphical access to it so I installed Gnome and nxserver. I want the game server to run automatically when the server boots up and have it appear in a console window when I connect to nxserver. So I added it in the Startup list by going in System > Administration > Session.
My problem is that the program doesn't start when the system boots up, but only when I connect to nxserver. So I assume it is something like gnome not starting up or opening a session until I open one remotely or something such.
But is there anyway to have that game server start in a console window when the system starts up? I tried using init.d but the problem is that it doesn't open any window, and I need to interact with the server through the console. What can I do?
I'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"
The "System Settings/Startup Programs" window is large enough but the "Program" column is too narrow and it cannot be resized. The window can be dragged to make it larger but not the individual columns. It looks like a Java listbox with "Enabled = false" set. This occurs in Debian8 64 bit and also in Mint 17 and Mint LMDE2. I am surprised nobody else has raised the issue. I have a basic setup with 22" screen and 1680 x 1050 resolution. It occurs with Nouveau and NVidia drivers. It is not a critical bug so I have coped with it for 2 years but it would be nice to see it fixed. Unfortunately I could not upload a screen shot as "board attachment quota has been reached".
For the last month, when starting up or shutting down my laptop under Linux, I would get graphical corruption. Startup has an colour inverted, grainy rendition of what should be displayed while shutdown has a red background with all the text replaced by grey rectangles.
At the very least this affects Fedora, Ubuntu and Xubuntu. Windows is not affected. Outside of startup/shutdown the system is fine.
i just installed debian squeeze today and i was trying to install a program and when trying to install a .deb file and i got the error message "Error: Dependency is not satisfiable: libcurl3" when i searched the repos i found "libcurl3-gnutls" is there any real diffrence between libcurl3 and libcurl3-gnutls? and is there a way i could edit the .deb installer to change the dependancy to make the program compatible with libcurl3-gnutls?
Does Fedora 11 gnome have that gksu graphical authentication program which allows a normal user to open tools such as that NTFS Configuration Tool to enable full ntfs write support ? I did try to find it with both yum in a terminal, and the package manager, but is not found.
I have a really old Dell computer (Dell PowerEdge 1300) that I am wanting to use as a small server (samba file server and apt-cacher-ng). I installed Ubuntu server and then did "sudo apt-get install --no-install-recommends ubuntu-desktop" which was a bad idea because it killed the performance.So here is my question.Ive read you can split the X client and server. Would that let me run a graphical program (like Synaptic) over X without installing any sort of GUI on the Dell?If that is the case, how would I go about doing so?If I would still have to install a GUI on the Dell, what are other options since the on-board display adapter seems to struggle with graphics?
Sometimes I would like to start XBMC on my media center using my laptop. I manage this system fully via SSH, but there is one thing that I don't know how to do, or know if it is even possible. I would like to start XBMC from my laptop so that I don't have to reboot the machine in order to do that (XBMC launches upon boot). Is it even possible to launch a GUI on a remote computer using SSH, and if so, how?
I have a Gateway NV53 with a built in webcam.Now my issue is, it DOES work, but is there a program or software available that would allow me to edit the live graphical feed of the camera? For example, on Windows the webcam software allows me to edit the saturation, contrast, brightness, etc the levels of it while I'm giving off a live feed.So while I'm on webcam 0 can basically change the saturation level while I'm on skype and go from live in color to live in black and white? Is there a rogram available to UBuntu that would allow me to do the same thing?SO that if I'm doing a live feed of my webcam I can basically change how much color I am in etc.I'm running ubuntu 10.10 if that matters
I need to use some PCs located on my university from home through the internet. I am using a program called Teamviewer [URL]... The problem is that this program transmits the whole graphical interface, which is slow, but I just need to use the command line with these computers. I am aware of ssh, but my university won't give me access to theses computers over the internet.
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.
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?
I have a program I have made, and I would like it to run as soon as the system is finished booting. I am using Ubuntu Mini Remix to recreate a LiveCD/USB stick. After booting, it drops me to a command line where I can enter "sudo qct" and it will run my program (which is called qct, and it has to be run as root).I want this to be automated.Instead of going to a command line, I want it to run the program itself at that point. How would I go about doing this? I have read many tutorials about scripting but I cannot seem to get it to work.
i want to run my program and when it starts up shows an option to say : do you want to start this program at start up? and then if yes copy this program at start up how i can do this?
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.
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.
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 want to know command to Add Compiz Fusion Icon to Startup Applications Preferences at Stratup program . i want to Compiz Fusion Icon run when i login .
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'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