Software :: Run GUI Application From Userdefined Boot Time Daemon Server

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


ADVERTISEMENT

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 View Related

OpenSUSE Install :: See Daemon Status At Boot Time?

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

Slackware :: Stop Wicd Daemon At Boot Time?

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

Ubuntu :: Register A Daemon To Start Up At Boot Time In Lucid?

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

Software :: Make An Application Startup On Boot Time And Instantly Minimize?

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

CentOS 5 Server :: Application Is Getting New Port Every Time Start

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

OpenSUSE Install :: Run An Application As A Daemon?

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

General :: Application On Server To Allow Network Boot Of Windows Pc's Force Boot Img Load

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

Fedora :: Application - KDE Daemon - Kded4 - Signal - Segmentation Fault

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

General :: What Application / Daemon Converts File Paths To Inodes

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

Ubuntu :: Start Rsync In Daemon Mode Every Time System Turns On?

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

Server :: Executing A Script At Boot Time?

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

Server :: How To Enable / Disable SSH At Boot Time

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

Debian :: Execute Vino-server At Boot Time?

Mar 11, 2010

how can i execute vino-server at boot time, before my graphical login prompt (gdm ?) appears

View 1 Replies View Related

Server :: Start Or Stop Jboss At Boot Time?

Jan 3, 2011

how to start or stop Jboss at boot time?

View 1 Replies View Related

General :: Start X Server And App At Boot (or Services Load) Time

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

Server :: Chedule Check Disk At Boot Time In CentOS 5.3 And OpenSUSE 11.1?

Feb 24, 2010

How to schedule check disk at boot time in CentOS 5.3 and OpenSUSE 11.1?

View 5 Replies View Related

Programming :: Real-time Application ?

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

Fedora :: Get A Daemon To Load On Boot?

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

CentOS 5 :: Hal Daemon Hangs And Don't Boot Up Then?

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

CentOS 5 :: Hal Daemon Hangs On Boot?

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

Fedora :: 11 Boot Time / System Hangs For A Very Long Time On Starting Udev?

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

Ubuntu :: Fails To Install Any Application Every-time?

Dec 13, 2010

I recently got Ubuntu up running on my HP DV1000 laptop. The problem I started noticing is that whenever I were to install packages via software center or even from the web. They simply won't install. After I enter my password it just hangs and won't continue forward.

View 4 Replies View Related

CentOS 5 :: Application Is Getting New Port Every Time Start?

Jun 24, 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.

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

Slackware :: Stop At Boot Time To Increase Booting Time?

Mar 5, 2010

It looks,slackware is taking too much time to boot. It's starting daemons at boot time.

What are those daemons that i can stop at boot time to increase booting time?

What's the best way to stop starting daemons at boot time?

View 14 Replies View Related

Fedora :: F12 NetworkManager Daemon Preventing Boot?

Jul 19, 2010

I'm having trouble booting after a recent bunch of updates (haven't been able to boot F12 from hard disk for a couple of days). The boot process gets as far as "NetworkManager daemon [OK]", then just stops. I get this for all 3 kernels that I can choose from the grub menu (2.6.32.16-141, 2.6.32.14-127, 2.6.32.12-115)Mounting the hard drive with a liveUSB, a quick inspection of /var/log/messages reveals that things go smoothly until: etc. until I hit the power button.I ought to mention that I wireless card that requires the Realtek RTL8192SE driver, which requires

Code:
sudo su
make

[code]....

View 1 Replies View Related

OpenSUSE :: Widely Adopted Web Application Having Such Difficult Time?

Sep 29, 2010

I've seen Flash come up quite a bit in these forums as a target for many complaints for users. I was wondering what exactly is the issue with Flash including the 64bit support, the sound issues etc. Why is such a widely adopted web app having such a difficult time?

View 7 Replies View Related

Ubuntu :: Change The Date And Time Of The System From My Application?

Aug 19, 2011

I want to change the Date and Time of the system from my application. This can be done using the "Date -s" linux command. But the application has to be executed as root/sudo. is it possible that root can give permission to normal user to execute the "Date -s" command?

View 9 Replies View Related

Software :: Real Time Network Checking On Application?

Apr 17, 2010

I want to monitor an application lets say that it will be apache2 to see how many in real-time it takes network resources such as upload/download per second how can i do that in linux (cmd not gui) ? I know it's possible because i can see this in windows in my nod32 firewall monitoring.

View 3 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved