linux

Which Linux distro is best for running in a virtual machine, for programming research?

I'd like to learn LAMP development for my own personal edification. I tried setting up Ubuntu 8.10 "Hardy Heron" in Microsoft VPC, but I can't get the video to work above 800x600. Played with xorg.conf a million times but no joy. Can anyone recommend a good distro to work with that plays well with VPC? Any guidance on getting started...

Who "Killed" my process and why?

My application runs as a background process on Linux. It is currently started at the command line in a Terminal window. Recently a user was executing the application for a while and it died mysteriously. The text: Killed was on the terminal. This happened two times. I asked if someone at a different Terminal used the kill command ...

SNMP devices emulation

Hi Folks, We have network management system under linux, C/C++, perl and we need to test performance of this system. Is there a tool or way that would allow us to emulate 50 000 SNMP devices? I don't know what more to say here... Please let me know if I should provide more information. Any idea is appreciated. Thank you Bogdan ...

ioctl return -1 with errno set to EPERM

Hi, I have a c program which calls ioctl() but it return -1 and errno set to EPERM. But I have changed mode of that file to "777". Can you please tell me why it ioctl still return -1 with errno set to EPERM? Thank you. ...

How to Cross Compile for Cell Linux on the PS3 from Windows?

How can a cross compilation setup be achieved to allow compiling Cell Linux programs on a Windows PC using the cygwin toolchain? The cygwin tools provide a GNU compiler to use in building the cross compiler, and associated tools for the build process e.g. rpm, cpio, make, flex, bison and so on. I am moderately confident this is possible...

Linux permission denied after chmod a=rwx

Hi everyone, So I have a little Linux problem, geez that will teach me to spend so many years on Windows. Anyway I did a little java app, wrapped nicely with the Java Service Wrapper script, but when I run that script: sh ./wrapper.sh console I get permission denied right away. The permission denied message is like that: eval: 1: /h...

Run Silverlight with Apache Server (Under linux)

Hi, I need to deploy a Silverlight 2.0 application to an Apache Server, but it's under Linux. Is this possible? I mean, Do I need .Net 3.5 installed in the server and a Web Site that can execute Asp.Net? Thanks for you help... ...

.Net Obfuscator

Hello, Is there a .NET obfuscation tool present for Linux? Or is there a class which can provide me a functionality of writing a obfuscation tool for byte code? ...

Which one of the major operating systems is best suited for a quick boot and startup of a Java application?

I created a Java application which is the only application active on a workstation. (Similar to a kiosk system) The problem is that the application has to be up and running as fast as possible after starting the computer. I'm wondering which one of the major operating systems can be configured to provide the shortest startup time? I'm...

how to create loop in linux filesystem

how to create a loop in linux filesystem ? I want to break the directed acyclic graph(DAG) property of linux file system.. Is it possible?... I have seen this condition(loop in filesystem) once when I installed scratchbox cross compilier in my ubuntu linux distro... .. I dunno how to reproduce it now... ...

How to move all zones to a new Bind DNS Server

Existing Server = BIND version 9.1.3 new Server = BIND version 9.3.4 How can i move all zones records to new server? I tried moving them by coping the files and changing configuration file on new to match and it didn't work. Is there an smooth way to just transfer all zones to this new server? ...

What is the equivalent of _emit on Linux?

I'm trying to port some assembly code written in Visual Studio into GNU inline assembly on Linux. The original code uses _emit which MSDN describes as a pseudo instruction and explains as: The _emit pseudoinstruction is similar to the DB directive of MASM. You use _emit to define a single immediate byte at the current location in the...

How can I write a linux bash script, that tells me which computer are on in my LAN ?

How can I write a linux bash script, that tells me which computers are ON in my LAN ? It would help if I could give it as input a range of IP's. ...

Blocking socket returns EAGAIN

One of my projects on Linux uses blocking sockets. Things happen very serially so non-blocking would just make things more complicated. Anyway, I am finding that often a recv call is returning -1 with errno set to EAGAIN. The man page only really mentions this happening for non-blocking sockets, which makes sense. With non-blocking, the...

Problem running 32 bit apps on 64 bit Linux

I have a very minimal install of 64 bit Ubuntu 8.04. When I try to run some 32-bit programs, such as my "jhead" program, I get the message "No such file or directory" I figured it may be a library problem, but when I do ldd jhead instead of a list of libraries it needs, I just get the message "not a dynamic application". Same for ano...

SQLite in Python 2.2.3

I've written a web-app in python using SQLite and it runs fine on my server at home (with apache and python 2.5.2). I'm now trying to upload it to my web host and there servers use python 2.2.3 without SQLite. Anyone know of a way to use SQLite in python 2.2.3 e.g. a module that I can upload and import? I've tried butchering the module f...

Get the path of link that it points to?

Is it possible to get the abolute path of the link that it is pointing to? Is there any simple system command? I need for all of the following OS HP-UX 11i, 1123u, 1123i AIX 5.2 and 5.3 Suse Linux 10 Solaris 10 ...

Directory of running program on Linux?

Hey, I've been writing a program (a sort of e-Book viewing type thing) and it loads text files from a folder within the folder of which the executable is located. This gives me a bit of a problem since if I run the program from another directory with the command "./folder/folder/program" for example, my program will not find the text, be...

In KDE, how can I automatically tell which "Desktop" a Konsole terminal is in?

I have multiple "desktops" that I switch between for different tasks in my KDE Linux environment. How can I automagically determine which desktop my Konsole ( kde console) window is being displayed in? EDIT: I'm using KDE 3.4 in a corporate environment This is programming related. I need to programatically (a.k.a. automagically ) de...

How can I scale down an array of raw rgb data on a 16 bit display

Hi, I have an array of raw rgb data on a 16 bit display with dimension of 320 * 480. The size of the array is 320*480*4 = 6144000. I would like to know how can I scale this down (80 * 120) without losing image quality? I found this link about scaling image in 2D array, but how can I apply that to my array of 16 bit display? It is not ...