Latest LQ Deal: Linux Power User Bundle
Go Back > Forums > Non-*NIX Forums > Programming
User Name
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.


  Search this Thread
Old 02-14-2004, 07:58 PM   #1
LQ Newbie
Registered: Feb 2004
Posts: 2

Rep: Reputation: 0
Exclamation Newbie Lost


I have been programming in Microsoft Windows for some time now, using VB VC C++ C, and recently have decided to look into a project where Linux is going to be a far superior solution than Microsoft due to it's flexibility.

I have done some simple test projects in Linux developing a couple of terminal programs, some X windows gui apps all in c++. However I have a project that is slightly different and I am at a loss to what documentation I should be searching for to get it going.

I basically want to create a set of services for a Linux Server, I want the services to have the following behaviour:
- Run regardless of whether or not a user is logged into Linux or not
- Be able to be started or stopped from the Server control panel.

Can someone do me a big favour and point me in the direction of the appropriate API documentation?

Thanks a mill in advance

Old 02-15-2004, 08:07 AM   #2
Registered: Mar 2003
Location: Scotland
Distribution: Slackware, RedHat, Debian
Posts: 12,047

Rep: Reputation: 66
Welcome to LQ.

Linux doesn't have a "Server control panel". This is a function within a specific distribution. Perhaps you could let us know what you will be using.
Old 02-16-2004, 03:21 AM   #3
LQ Newbie
Registered: Feb 2004
Posts: 2

Original Poster
Rep: Reputation: 0

Hi David,

Thanks for your reply, I am currently running Red Hat 8 and the X windows has a simular service control panel to Windows, however I want to run something that is not reliant on X windows, I gather there is no real api for linux you simply need to modify a boot record (like my old dos days), the thing I am unsure of where it is and whether it will run ok without a user logged in to the system?

Thanks again

Old 02-16-2004, 07:39 AM   #4
Registered: Aug 2003
Location: Chennai, India
Distribution: PCLinuxOS .92, FC4
Posts: 840

Rep: Reputation: 31
It will run irrespective of the user logged in or not. You can even make it as a module or a daemon and turn it into a seperate process which runs irrespective of the user. Here it will have its own user id and own user group and will have its own permissions .


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
Newbie and I'm lost... tweakerxp Linux - Newbie 52 12-22-2005 06:15 PM
Help Lost New Newbie compguy13 Linux - Newbie 8 03-06-2005 06:00 PM
9.1 SMP Newbie X hangs I'm Lost TakeIT2 SUSE / openSUSE 2 11-15-2004 03:45 PM
Lost Newbie Maqueo Mandriva 5 01-25-2004 01:16 PM
Stoopid newbie who's lost his workspace switcher KiLLaWaBBiT Linux - Software 2 04-02-2003 01:52 PM > Forums > Non-*NIX Forums > Programming

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

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