Programming :: Create A Screen Capture Program With Xvfb Server?

Jan 4, 2010

I am trying to create a screen capture program with Xvfb server, ImageMagick and Khtml2PNG. I seem to be having some issues and was hoping someone could help me out. I have everything installed and working on a centos WHM/CPanel system and am able to generate the screen shots and save them to root folder from shell with the following commands.

Xvfb :2 -screen 0 1024x768x24&
export DISPLAY=localhost:2.0
khtml2png2 --sw 200 --sh 150 http://www.example.com example.png
It works 100% fine when you run it from shell.

[Code]...

View 4 Replies


ADVERTISEMENT

Software :: Screen Capture Program For RHEL 5.x?

Jul 30, 2010

Anyone know of a decent screen capture program for RHEL 5.x?

View 4 Replies View Related

Ubuntu Multimedia :: Analogue Capture Program To Capture Austar?

Aug 13, 2010

What is the best analogue capture program please to capture Austar.

View 1 Replies View Related

Programming :: Take A Screen Capture And Save It To A File?

Dec 9, 2010

Is there any simple example on how to take a screen cap and save it to a file?

View 11 Replies View Related

General :: Error - [root]# Yum Install Xorg-x11-server-Xvfb

Jun 3, 2011

I am using RHN system. Today, I were running Yum, some errors appeared as the below. Before, I had never such problems. I tried to search some solutions in Google, but can not find it.

[root]# Yum install xorg-x11-server-Xvfb
or
[root]# Yum list updates

There was an error communicating with RHN RHN support will be disabled Error communicating with server. The message was: Connection timed out

View 1 Replies View Related

Slackware :: Where To Get Xorg-server Xephyrv, Xnest , Xvfb Tarballs?

Mar 13, 2010

Where i can get xephyr,xnest, xvfb source tarrballs from particular version?
i want to test something but i haven't found any.

View 7 Replies View Related

Programming :: Create A Program In C++ In Opensuse 11.4?

Mar 28, 2011

I`ve just installed opensuse 11.4 and i dont know how to write and compile my programs
is there a compiler like turbo c++ to use??

View 5 Replies View Related

Programming :: Create Unique Multithread Algorithms For Every Particular Program?

Aug 6, 2010

Since 2005 when DualCore CPUs came out, you need to create unique multithread algorithms for every particular program? Or you have patterns?

View 4 Replies View Related

Programming :: Create Large Buffer In Program To Send And Eceive On Another Pc More Than 4096 Bytes

Feb 9, 2011

create a large buffer in my program so that I can send, and then receive on another pc, more than 4096 bytes (this seems to be the default for the serial port). I thought this might work:

[code]...

View 9 Replies View Related

Programming :: Create A Separate Thread For Program Which Basically Polls Using The Read Command?

Sep 28, 2010

I'm trying to create a separate thread for my program which basically polls using the read command. However this new thread seems to block the main thread, anyone know why this could happen.

In main I call this function pthread_create(&mainEventThread, NULL, GenericEventThread, NULL);

which calls
/*New threads start function */
void *GenericEventThread()
{
short int i, nError = -1;

[Code]...

I've used pthread_self to check that a new thread is being created, so why is the while loop in one thread blocking the main thread from running, I haven't used the join function anywhere in my code.

View 2 Replies View Related

Programming :: Create A RS232 C Program That Executes A Series Of Commands Down The Line To A Robot?

Jan 5, 2011

I am trying to create a RS232 C program that executes a series of commands down the line to a robot. Everything seems to work fine, except any sequential write to the serial port. At first I thought it was the UART's buffer being filled too fast, but even with a 50 uS delay it still throws the error.

Here is my code:

Code:
#include <termios.h>
#include <stdio.h>
#include <unistd.h>
#include <fcntl.h>
#include <sys/signal.h>
#include <sys/types.h>

[Code]...

View 1 Replies View Related

Programming :: Create A Simple Program With Will Continually Read Input From The User Until They Enter A Blank Line?

Apr 6, 2011

basically i have to create a simple program with will continually read input from the user until they enter a blank linei know how to read in certain input but not sure how to get it continually in a loop

View 2 Replies View Related

Ubuntu :: Screen Capture - Screen Grab Software - Not Fullscreen - Not Video

Feb 5, 2010

Hey I'm looking for something to grab a section of the screen ... like to allow me to drag a rectangle around a portion of the screen and when I release, capture only that -- in to the clipboard would be fine or at that point to a image file format which I could save on the file system.

View 2 Replies View Related

Software :: Create Server Program That Will Stream Contents Of File To Any Client

Apr 26, 2011

I need help to do a program that emulates the following shell command line:"sort </etc/passwd | less".Using a socket in a connection-oriented setup.First the contents of the file /etc/password are being fed into the sort program. The sort program is then sorting the contents of the file and sending it to another programm called less. Less is paging the results so that you can see one page of the results at a time.I know that i can solve the problem this way:

1. Create a server program that will stream the contents of a file to any client that connects to it
2. Create a client application that will connect to the server and download the contents of the file. The program should then sort the file. After sorting the file the client should connect to the "less" program and send the sorted results
3. Create a server program that will listen for connections and download whatever is sent to it. It will then display that data one page at a time.

View 1 Replies View Related

Ubuntu :: Fn + - Can't Capture The Screen With Screen Shot Key (ptr Sc)

Feb 28, 2010

i have ubuntu 9 10 i have been searching in the internet but i have not found a solution, my problem is that i cant capture the screen with screen shot key (ptr sc) my keyboard has it under the key home, so in windows i have to use the

View 1 Replies View Related

Fedora Installation :: Capture Current State On A Machine And Create Live Cd From It?

Apr 24, 2009

I was just wondering if there is a way to capture current state on a machine and create live cd from it?

If not - what is the best way to create Live CD with optimazied system updates and configuration packages.

View 1 Replies View Related

Programming :: Java Program Sshing To Server?

Aug 12, 2010

I am trying to write a java program and eventually a web app to do the following.1. get the server name, username, password from the user and ssh to the linux box.2. goto a folder, open a script file (the file has different function calls, I need to comment all other function calls and just un-comment the one I want to use)

#call_1
call_2
#call_3

[code]....

View 1 Replies View Related

Programming :: Timings Of A Program That Uses 1-8 Threads On A Server That Has 4 D?

Jul 25, 2010

I am runig a program on a server at my university that has 4 Dual-Core AMD Opteron(tm) Processor 2210 HE and the O.S. is Linux version 2.6.27.25-78.2.56.fc9.x86_64. My program implements Conways Game of Life and it runs using pthreads and openmp. I timed the parrallel part of the program using the getimeofday() function using 1-8 threads. But the timings don't seem right. I get the biggest time using 1 thread(as expected), then the time gets smaller. But the smallest time i get is when i use 4 threads.

Here is an example when i use an array 1000x1000.

Using 1 thread~9,62 sec, Using 2 Threads~4,73 sec, Using 3 ~ 3.64 sec, Using 4~2.99 sec, Using 5 ~4,19 sec, Using 6~3.84, Using 7~3.34, Using 8~3.12.The above timings are when i use pthreads. When i use openmp the timing are smaller but follow the same pattern.I expected that the time would decrease from 1-8 because of the 4 Dual core cpus? I thought that because there are 4 cpus with 2 cores each, 8 threads could run at the same time. Does it have to do with the operating system that the server runs?

Also i tested the same programs on another server that has 7 Dual-Core AMD Opteron(tm) Processor 8214 and runs Linux version 2.6.18-194.3.1.el5. There the timings i get are what i expected. The timings get smaller starting from 1(the biggest) to 8(smallest excecution time).The program implements the Game of Life correct, both using pthreads and openmp, i just cant figure out why the timings are like the example i posted. So in conclusion, my questions are:

1) The number of threads that can run at the same time on a system depends by the cores of the cpus?it depends only by the cpus although each cpu has more than one cores? It depends by all the previous and the Operating System?

2) Does it have to do with the way i divide the 1000x1000 array to the number of threads? But if i did then the openmp code wouldn't give the same pattern of timings?

3)What is the reason i might get such timmings?

View 4 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 :: Execute C Program Through HTML On HTTP Web Server?

Oct 15, 2009

I would like to execute an already written C program that I am running on my embedded Linux, but from afar - through a HTML page. I am running an embedded Linux on my FPGA prototype board with a MicroBlaze soft processor. On this Linux i am running a httpd web server - I can serve html web pages to the outside through Ethernet connection. Now, I have a program written in C in this embedded Linux in /bin/gpio-test that does some stuff with my IO devices. Now I would like to control these IO devices through HTML web page - so I would like to be able to run this gpio-test program from a html web page and possibly send the program some parameters.

View 2 Replies View Related

Programming :: Connection Refused In Client Server Program

Oct 23, 2010

I wrote a simple client server socket program in C.

View 1 Replies View Related

Fedora :: Screen Capture Corrupt On F11

Jun 26, 2009

I'm having problems with the screen capture utility in Fedora 11. Everytime i capture a screenshot, it looks like this:[url]

I've tried turning off Compiz, but that doesn't do anything. I suspect it may have something to do with the kms (I have an Intel 82855/855GM, which has had issues in beta).

View 1 Replies View Related

Fedora :: Capture Screen By Press Some Key

Mar 27, 2010

I wonder if there is the possibility of getting to press any key and the F6 for example, Fedora starts up a screenshot, equal to application "form screen capture image" in the menu acessories .. The problem is that if I want to do this I have to be opening up the application every time .. and I like to do with was fast, just by clicking F6 or printscreen for example ..

View 14 Replies View Related

Programming :: System For Create Project And Learn Web Server?

Jun 27, 2010

I am web developer, i am work with php,and want choice best linux for create my project
and learn web server

View 4 Replies View Related

General :: Screen Capture - Equivalent Of Fraps ?

May 9, 2011

I want to make a demo of a 3d app I'm writing, but I don't know of any good screencasting software like it that runs on Linux.

View 2 Replies View Related

Ubuntu :: Screen Capture Of A Selected Area Hot Key

May 7, 2010

On my Mac, when I press F2, I am able to take a screen shot of a selected area. Is it possible to assign a hot key to do the same thing on my Ubuntu 10.04 PC?

View 4 Replies View Related

Ubuntu :: Screen Capture While Running Application?

Nov 1, 2010

I need to take a screen capture while an application is running. The application is a touch screen calibration utility and alt-Prnt Scrn does not work when the calibration utility is active. Is there another way for me to capture the screen while the utility is active?

View 1 Replies View Related

Ubuntu :: 11.04system Freeze W/screen Capture

May 20, 2011

system - screen/mouse/keyboard/hard drive all freeze. if I am in the middle of video or audio, last second of audio loops. I get a terminal screen (attached).

Also, If there is a step by step overall troubleshooting guide,I would appreciate its location. This did not freeze under 10.10, but I have changed wifi card (changed driver) and loaded VirtualBox from oracle (not Ubuntu - VB not running during freeze)) - no other changes.

Running 11.04, classic gnome
Hardware: AMD Athlon II X4 2.8 GHz Processor
MB - MSI 785gtm-E45

What Ubuntu Sees:

View 7 Replies View Related

Software :: Screen Capture - Do Not Function Normal Any More

Apr 7, 2011

My screen capture software, shutter and system's default "take screenshot", do not function normal any more. It can only capture the desktop wallpaper, not any other elements on the desktop, nor any other opened windows. It's just like taking an x-ray picture by passing all the other objects/elements/running programs on top of the desktop wallpaper. Any ideas? I am using Fedora 14 64 bit. The screen capture software were working fine, though.

View 1 Replies View Related

Programming :: C Program - To Make Scripts That Can Talk To Server's Parallel Port

Jun 27, 2010

I need to make some C program under linux to make some scripts that can talk to my Server's Parallel port by sending some quare signal as high or low, so what i can do ?

View 4 Replies View Related







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