LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Closed Thread
  Search this Thread
Old 01-18-2010, 08:01 AM   #1
vikhyat@linux
LQ Newbie
 
Registered: Sep 2009
Posts: 2

Rep: Reputation: 0
Unhappy How to run GUI application from userdefined boot time daemon server


Dear All,
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.

What is the problem i m not getting ....
plzzzz can any one help me..........

Thanksssss.......
 
Old 01-19-2010, 10:15 AM   #2
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 27,247

Rep: Reputation: 8077Reputation: 8077Reputation: 8077Reputation: 8077Reputation: 8077Reputation: 8077Reputation: 8077Reputation: 8077Reputation: 8077Reputation: 8077Reputation: 8077
Quote:
Originally Posted by vikhyat@linux View Post
Dear All,
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.

What is the problem i m not getting ....
plzzzz can any one help me..........

Thanksssss.......
Don't double-post the same question twice in different forums.
 
  


Closed Thread


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Configure an application to run as a daemon in Fedora 12 Ness_Wiggin Linux - Server 2 11-30-2009 12:50 AM
How start bf2cc daemon at boot time? halvorls Linux - Server 1 05-25-2009 05:39 PM
How can I automatically start a daemon at boot time. iamjayanth Linux - Software 5 12-18-2008 01:55 AM
hot to auto start oracle application server on Redhat AS3 at the boot time procfs Linux - Software 2 05-23-2007 12:42 AM
How to run app as daemon on boot? kalahari875 Mandriva 1 06-03-2004 11:43 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 01:02 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration