General :: Run GUI Application From Userdefined Boot Time Daemon Server ?
Jan 18, 2010
I am writing one simple server daemon and running with /etc/init.d/server its running properly but when i want to run one simple QT GUI with system() function , its not able to run it and returning 256 as return code .
If same daemon i m running from terminal then its working properly and also system() function is getting success with return value 0 and GUI is getting popped up.
View 1 Replies
ADVERTISEMENT
Jan 19, 2010
I am writing one simple server daemon and running with /etc/init.d/server its running properly but when i want to run one simple QT GUI with system() function , its not able to run it and returning 256 as return code .
if same daemon i m running from terminal then its working properly and also system() function is getting success with return value 0 and GUI is getting popped up.
i m using ubuntu-9.10 below is the code ....
#include <stdio.h>
#include <sys/types.h>
#include <sys/socket.h>
#include <arpa/inet.h>
#include <netinet/in.h>
[Code].....
View 1 Replies
View Related
Dec 14, 2010
I use opensuse 11.3 and would like to see daemon status at boot time, instead of the chameleon with a progress bar
View 8 Replies
View Related
Feb 20, 2010
If i do
Code:
su
password:
cd /etc/rc.d
chmod 644 rc.wicd
chmod 644 rc.wireless
will it do the job?
View 5 Replies
View Related
Aug 23, 2010
What's the best way to register a daemon to start up at boot time in lucid? I have tried registering the following script using "sudo update-rc.d"
Code:
This is supposed to get the daemon for opentftp started, but it does nothing, although I can see the results of the "echo 'Server opentftpd started' " in the boot log in /var/log .Any thoughts or general help on what the best way to accomplish such a task is?
View 1 Replies
View Related
Nov 4, 2010
The Linux File system uses the file path notation to abstract how data is accessed. Path really must be an environmental variable for the applcication that converts the path name to an inode so what is this application/Daemons name?
View 7 Replies
View Related
Apr 6, 2011
A colleague of mine was studying at the University of Vienna and saw an application which was based on linux whereby other pc's booted from it and if on the server they had set it to force a clean install on that PC it would download and install a windows image. Does anyone know of the app or could point me in the direction of a similar app.
View 5 Replies
View Related
Nov 12, 2010
Me and my mom are sharing a laptop.My mom likes to use Google Chrome. I like to use Opera. Is there any way I can tell the system to start the Opera application , but then instantly minimize it to the tray bar? I want that because : if my mom starts the computer and I'm not around , I still want all the tabs in my Opera to load , without my mom knowing anything about my "malefic" plan ...
View 6 Replies
View Related
Jun 23, 2010
I have written simple application in cpp which listens on port 8080. But when I start the application and check the port it is listening on (using netstat -nap), I can see that the application is listening on port which is > 30000.
This port number keeps on changing if I re-run the application.Please let us know if I have to do any kind of a seeting so that application starts listening on 8080 port.I am using CentOS 5.5 (I tried same on CentOs 5.2)
View 1 Replies
View Related
Oct 14, 2009
I need to start an application (graphical) when the PC start, even before anybody login, and use/launch a specific user. Now only can do this manually; when gdm starts, switch to any text tty [ie. Ctrl + Alt + F1], then I login into the special user, start a X server, export the DISPLAY environment variable, and start the application.
With this steps:
Code:
$X :1 -verbose -nr -nolisten tcp &
# Maybe Metacity -> $ metacity
$export DISPLAY=:1
$JavaApp &
Now i need put this steps (script) in some place to launch the app automatically, and with and specific user [ie. manager].
How can I made it? Maybe in init.d? or an special xinitrc? And how can start the app with the specific user? And, if is possible, who can stop the app when the system going turn off? I have Debian 5.0 and a beginner knowledge of shell script.
View 5 Replies
View Related
Feb 10, 2010
I have SLES9.I am running a Java-application named meinServer5.This app starts two application servers, one admin process and one worker process, where the admin process has to be started before and ended after the worker process:
meinServer5 startadmin // starts the admin process
meinServer6 stopadmin // stops the admin process
meinServer5 start //starts the worker process
[code]....
View 2 Replies
View Related
Jan 4, 2010
I get a couple of these a day
Application that crashed: kded4
Version of the application: $Id: kded.cpp 1031638 2009-10-05 16:59:11Z lunakl $
KDE Version: 4.3.4 (KDE 4.3.4)
Qt Version: 4.5.3
Operating System: Linux 2.6.31.9-174.fc12.i686 i686
- Backtrace:
Application:
The auto bug reporting says it cant report it
View 1 Replies
View Related
Dec 27, 2010
Can anyone tell me what command can be used so that the Linux Centos Server starts mysqld, httpd and ftpd services at boot time automatically?
View 2 Replies
View Related
Feb 26, 2010
The config file is ambiguous, and keeps getting overwritten when you restart the daemon in Debian, anyway.
In /etc/transmission-daemon/settings.json, there are these options:
rpc-username
rpc-password
proxy-auth-username
proxy-auth-password
Every time I restart the daemon with:
/etc/init.d/transmission-daemon restart
It overwrites rpc-password, and the password it prints doesn't work anyway.
Does anyone know how to set the password properly? I don't want to disable it.
View 1 Replies
View Related
Mar 7, 2010
I installed LAMPP a couple of weeks ago and was working fine. Today when I try to start lampp, it will only start MySql and ProFTPD. It says "XAMPP: Another web server daemon is already running." How can I find out where this other server is located and stop it?
View 2 Replies
View Related
May 6, 2010
I have a Linux box, running rsync, only problem is, I have to turn it off at night. What I want to do is turn it on and when it turns on, rsync will already be running in daemon mode rather then having to run rsync daemon. Does anyone know the solution? I'm sure its simple, I just cannot figure it out
View 3 Replies
View Related
Apr 22, 2011
Execute a script as a non-root user at boot time. The script lives in /home/sbrown/scripts and has the executable bits set. If I run the script locally in the shell it behaves as normal, but will not at boot time It's a very simple 2 line script:
#!/bin/bash
# Starts IRSSI in a screen session
sudo -u sbrown screen -S irssi irssi
Here's WHAT DOESN'T work:
I put this in /etc/rc.local: sudo -u sbrown /home/sbrown/scripts/irssi_exec I also tried just copying the script to /etc/init.d/ and chowning it to root then ran update-rc.d irssi_exec defaults and rebooted. Still not working. This is on a Debian Squeeze box... what am I missing? Surely it should be simpler than this
View 3 Replies
View Related
Mar 1, 2011
I have just installed ssh-server in my Ubuntu 10.04, and really want to know how to enable/disable it and I also want to be sure if the changes will take effect after the next boot or not, and how to do that?
View 8 Replies
View Related
Mar 11, 2010
how can i execute vino-server at boot time, before my graphical login prompt (gdm ?) appears
View 1 Replies
View Related
Jan 3, 2011
how to start or stop Jboss at boot time?
View 1 Replies
View Related
Jan 8, 2010
i have purchased sun server for my visualization project. Request you to help me finding the io for disk .I have put storage(disks) on different location (File Server) and on server (Application) i have configured 4 virtual machines.
How would i monitor the io for file server from the Application server where i have configured 4 virtual machine. one way to mount the file server share on application server and execute
dd if=/dev/zero of=/share/test.out bs=1024 count=1024 to check the read and write Is there any other way of doing this.
View 1 Replies
View Related
Feb 24, 2010
How to schedule check disk at boot time in CentOS 5.3 and OpenSUSE 11.1?
View 5 Replies
View Related
Aug 8, 2011
I'm trying to run a Linux application and all I want to run is this one application off of boot. I need networking and that's all (no display, peripherals, etc.). I want no other applications running so that the application I run has 100% of the CPU. Is this possible?
View 4 Replies
View Related
Dec 11, 2010
I have Ubuntu 10.10 installed on my pc with XBMC installed. It's set to boot into xbmc on start up and works fine. I also have squeezebox server (a music server for my network) installed and again don't have any trouble. I'd now like to get squeezeslave running, a client for squeezebox server so I added the following lines to /etc/init.d/local:
#!/bin/sh
PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin
squeezeslave -o0 -r3 192.168.1.3 &
exit 0
This fails to start the client on boot, however if I ssh into the machine and run /etc/init.d/local it runs fine.
View 3 Replies
View Related
Apr 18, 2010
I have a need to run a specific app as a specific user when the machine boots into init 3. I can not run this as root so I need to specify a user. Can someone tell me how to accomplish this?I usually have to log in and start this application by typing check -D which starts this app and daemonizes it. I want to be able to run that at boot with my normal user not root.I hope I explained this correctly.I have added it to rc.local but it runs as root.
View 3 Replies
View Related
Sep 11, 2009
I seed a suggesting related asychron io. I'm write a program which use completion ports, but wandor how avoiding loops like for(; below...i.e I want parse proto with count in first and then computing some quantity of pieces. how that make with aio?
Code:
View 6 Replies
View Related
Mar 12, 2011
I was trying to get a daemon to load on boot, I stupidly added it to rc.local and it just hangs. I would love to put in a live CD and edit out the line but the volume is encrypted and I cannot get it to mount.
Is there a way I can cancel the daemon from loading or get to the grub menu (not readily visible since I am single boot) and then boot into a console?
View 5 Replies
View Related
Aug 15, 2010
why does hal daemon hangs? but if i try the interactive booting and disable the hal upon starting,it will boot up. so maybe i can just disable this every time it boots, how can i do this?
View 2 Replies
View Related
Oct 27, 2010
I installed Centos 5.5 yesterday and discovered that the hal daemon was failing to start on boot.
The messages showed that the hal daemon was hanging because nss_ldap could not connect to the ldap server. It eventually failed and the system came up multiuser without it.
When I started looking into the problem I discovered that hald was being started quite early in the boot process. It's sequence number was 26 (if I remember correctly). This was even before nscd.
If I chkconfiged it off and booted, I could start it successfully once the system was up.
I changed the sequence number to 98 and bring it up relatively close to the end of the boot process.
This works and it starts normally.
Is starting it as early as 26 in the boot process done for a reason? It seems to me that it should definitely not be started before nscd. Does it matter that I moved it to the end of the boot process?
View 2 Replies
View Related
Sep 25, 2009
When booting Fedora 11, my system hangs for a very long time on starting udev. Sometimes I get an I/O error. However, my hardware is fine. I do eventually get in to the system.
View 7 Replies
View Related