General :: Program Using Ipc Technique In C

Mar 22, 2011

i need a program in c that forks parent and child process...first parent process sends a message with its id...then child process replies to parent and has to print its id like "My id is"and its parent id like "my parent id is"...

View 1 Replies


ADVERTISEMENT

Ubuntu Servers :: Best Technique For Authentication?

Jun 6, 2010

I try to install a server based on Ubuntu. It will provide many different services as SMTP, IMAP, Jabber, SVN(via Apache),maybe a groupware and some other web applications.I'm looking for a way of authenticating the same set of users (a user essentially has a username, a domain it is belonging to and some passwords) against all of the services.What is the most flexible and elegant way? I need a method which is not too bloated (mysql or ldap would be okay) and is easily applyable to all those services and all services which maybe will come later.

I've read some documentation about sasl, mysql-authentication, ldap-authentication, pam, cyrus, apache, ... and i'm somewhat confused now about the proper way.For now I suspect MySQL to be the best method for that, but i'm not sure about the flexibility for embedding it into all the services.

View 1 Replies View Related

Red Hat / Fedora :: Custom Repository Creation Technique Doesnt Work

Apr 27, 2011

I wanted to create my own folder called /Softwares so that whenever i download a rpm i could place it there , run createrepo and then use yum install software_name.What am i doing wrong am i doing something wrong in the .repo file? The only way i could actually install sskype.rpm is to go in the directory where it was installed and type yum install sskype.But then whats the point of the repository.

View 1 Replies View Related

Programming :: C Code Profiling Technique That Supports Multiple Threads?

Mar 8, 2011

I am using GPROF for my code profiling ,but it seems GPROF doesn't supports multithread .Does any one know any other technique for profiling the application code I have checked oprofile but it profile kernel ,I just required for C code profiling technique that supports multiple threads

View 1 Replies View Related

Ubuntu :: Double Compression Technique Shrunk A 700mb File Down To 40mb?

Dec 31, 2010

I downloaded a file that was 40mb compressed and was almost 700mb when fully extracted. It was inside a .rar file that in turn was inside another .rar file. How can this be done in Ubuntu? Can this also be done with .zip and .7z files?

View 2 Replies View Related

General :: Make A Script To Open A Program Then Operate Within That Program?

May 7, 2010

I am new to linux and am trying out script writing. I am using shell. How can I make a script to open a program then operate within that program?

View 5 Replies View Related

General :: Connect A Jsp Program With A Java Program?

Apr 30, 2010

I have a jsp code. After executing that code, a Java program should be executed without refreshing the page. that is, my first page is a login page which is in jsp. After logging in the next page must be displayed which is a Java code. is that possible? Can we use applet for that?

View 1 Replies View Related

General :: Create A Program File For A New Program?

Mar 8, 2011

How do I create a program file for a new program?

View 1 Replies View Related

Programming :: Program A SH - Bash Program With Zenity To Play Radio Based On A Site?

Feb 15, 2011

I will have to code this. However I am lacking of time since I have too much to do. make a short code bash/dash to prompt the country with Zenity, then, get the PLS or m3u url and prompt with another zenity which radio to play. http://www.listenlive.eu/index.html

My code to get url's radio country.htm is:

Code:

View 2 Replies View Related

Ubuntu :: Inbuilt Logging System - Ran And Installation - Program Opened Automatically - Can't Find Program Executable

Feb 23, 2011

I was wondering whether there is an inbuilt logging system in UNIX?

I ran and installation and the program opened up automatically but I can't find the program executable.

If I could find a log then I could locate this file.

View 9 Replies View Related

OpenSUSE :: Execute Program On Wake / Kill Program On Suspend?

Apr 15, 2011

I have problems to get it work. i have tried to use pm-utils, but it does nothing.

What is need is to kill application, when pc is going into suspend to ram and run that application again on wake. It's a graphical application.

View 1 Replies View Related

Software :: Open Source Dvd - Cd Copy Program - Burning On The Fly Program?

Dec 14, 2009

Is there anything like burning rom from nero or roxio cd/dvd copier. Do you know of any dvd copying program? like without making the image and then burning with just one process just copy the disc sorta program like roxio dvd copier? I wanted to make copies of movies I made a dvd of but aside from image burn which is a hassle to make the image first. is there something for burning on the fly or dvd/cd copying? infrarecorder and cdburnerxp do not work for me at all.

View 3 Replies View Related

Ubuntu :: Program That Behaves Same As Microsoft's OneNote Program

Aug 29, 2010

Does anyone know if there is a program that behaves the same as Microsoft's OneNote program for linux?

View 3 Replies View Related

Ubuntu Multimedia :: Converting A Program And DVD Making Program?

Jun 23, 2011

i am running ubuntu 10.04. I am looking for a converting program and I also need a DVD making program. I'm unsure if one comes preinstalled already.

View 4 Replies View Related

General :: What Program Can Use" With "which Program

Apr 8, 2011

i want to integrate audio library with android driver by using ALSA plug-in And now, i try to compile ".so" code from library that I'd downloaded from web-site. what program can i use to compile .so file

View 3 Replies View Related

Programming :: Open Or Run A File/program Through A C++ Program

Jan 15, 2010

Ok so Basically i have 2 questions

1. i know how to create a file with c++ using but is there a way to save it to a specific location on your computer with windows and linux

Code:

2. i need to know how to run/execute/open a file in a c++ program im using and its not working

Code:

View 4 Replies View Related

General :: How To Run A Program With GDB

May 3, 2011

I want to run a file off the Internet with GNU Debugger. So I download the tar.gz file off the Internet, and I extract it and compile it. Then in the directory of the compiled source, I type: gdb -q ./whatever.cwhere "whatever.c" is the name of the file I want to runHowever, when I do this gdb doesn't have access to the source code, so I cant do much with it. So is there any way I can make it have access to the source code

View 10 Replies View Related

General :: Possible For One Account To Run A Program The Others Don't?

Feb 28, 2010

1) In one of the pages about the differences between Linux and Windows it mentioned that new drivers mans updating the kernal. In windows something like this would erase everything. Can the kernal be updated without losing everything? 2) Can you have more than 1 account on mint? (ex: Owner, Billy, Guest...)2.2) ...Can the accounts have different access levels? (ex: Admin vs user)2.3) ...Is it possible for one account to run a program the others don't? (ex: Billy's account will load a video enhancer program on start up, but as I don't watch as many videos my account won't.)

3) How can I tell which themes/add ons will and will not work on my Firefox once I have switched to Mint?4) One of the games that I would like to follow me on the transition does not work in Linux but supposedly works in WINE according to the manufacturer. Would WINE or something like it be available in Mint?5) How hard is it to make your own theme in Mint? I'm very attached to a theme I have used for over a decade now and reproduce it in every computer I use. Can icons from windows be imported? About the computer:This will be a home computer in a multi-user household. It will be a brand new build starting from scratch with a few old personal files (videos, pictures, music, ect) making the leap. The computer is mostly used for internet, music/movies, light office work, art (GIMP!), and some games (most of which can run on Linux).

View 5 Replies View Related

General :: Using Xprop In A C Program

Dec 13, 2010

I would like to get the the current application "focus". On my Ubuntu desktop, I can use the following in my c program to get the focus:

applicationName[128];
memset(applicationName, 127, 0);
system("xprop -id `xprop -root | grep "_NET_ACTIVE_WINDOW(WINDOW)" | awk '{print $5}'` | grep "WM_CLASS(STRING)" > test");

[Code]....

I have a system daemon that I would like to get the application focus from.

This works fine on my my Ubuntu 10.0.4 LTS, 2.6.32-26-generic desktop, but doesn't work on my Ubuntu 10.0.4 LTS, 2.6.31-22-generic laptop. If I restart my daemons by hand on the laptop - it's all good. For some reason my laptop won't boot 2.6.32-26.

View 2 Replies View Related

General :: Run A Program In Script?

Jan 27, 2011

i have a program called teamviewer and i want to get it to start if it stops in terminal is i type teamviewer it starts the program but my script is not working

#!/bin/sh
#Script to check if the teamviewer are running.
#Script is written by joesto1
process=`ps auxwww | grep teamviewer | grep -v grep | awk '{print $1}'`
if [ -z "$process" ]; then

[Code]....

View 9 Replies View Related

General :: How To Get Rid Of A Broken Program

Jan 19, 2010

I should know how to do this, but. Using Ubuntu Jaunty. I have tried using dpkg --purge no joy

Code:

View 9 Replies View Related

General :: Program Did Not Run After Installation?

Oct 13, 2010

I installed ubuntu 10.04.1 in my computerand it did not run

View 6 Replies View Related

General :: RAM Access Using A C Program?

Oct 1, 2010

i am developping a tool for freeing up unused ram in linux ubuntu. i am finding something through which i would be able to access the ram of my pc using my c program. is there any system call available? or i have to do programming at kernel level? (i mean do i have to compile the whole kernel?)

View 2 Replies View Related

General :: Tcl And Information On How To Run The Program

Feb 18, 2011

tcl and information on how to run the program. I have installed it under ubuntu but cannot find any reference to it.

View 1 Replies View Related

General :: Will Be Able To Run Every Windows Program ?

Apr 15, 2010

Shouldn't a virtual Windows running on linux allow that in theory?

View 1 Replies View Related

General :: Start A Program After X Has Started?

Jun 8, 2010

there's a little app called F.Lux that sets your screen temperature based on the time of day. The Linux version is a little spartan with just a console interface but it works perfectly well. The question I have is where can I invoke it so that it starts up after X has started?

View 4 Replies View Related

General :: Set Device For Program In PulseAudio?

Aug 29, 2010

In computer I have 2 sound devices.

When I run some program (let's say Skype) I can (using "pavucontrol" -> "PulseAudio Volume Control") setup so that this application will use given device for playback or recording.

But - in the Playback/Recording tabs application is visible only if it is currently doing something (playback or recording).

How can I set device per application, but before the application starts recording or playing sounds?

View 2 Replies View Related

General :: Windows - Program Which Uses LZW Compression

Oct 4, 2010

how to do Lempel-Ziv-Welch compression using pen and paper for my algorithms and data structures class. Unfortunately we have only a couple of examples in our book of how it is done. I'd like to practice compressing and decompressing text using it, but I need to find a way to check if I'm right doing it right or wrong.

So I'm looking for some preferably free/open source program which can compress and decompress LZW for Windows or GNU/Linux. Programs without binary distributions are fine too.

View 2 Replies View Related

General :: Running GUI Program On Machine Using Ssh?

May 2, 2011

I am trying to run open a GUI program on a remote Ubuntu machine using ssh.

I want to open, lets say firefox or skype, on a machine I have connected to via ssh.
But when writing logging in with user2 and writing sudo -u user1 firefox I get an error message saying no display specified.

The machine is turned on and logged in with user1, it just appears that i cant get ubuntu to recognize that there is a GUI available.

View 1 Replies View Related

General :: Find Out Path Of Program?

May 20, 2011

On Unix I can call certain programs from everywhere, like sort, pwd or my_custom_script.sh. How can I find out, where on the system my_custom_script.sh really resides?

View 2 Replies View Related







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