opensuse

Order of the [BITS 16] and [ORG 0x0000] directives

I am beginning some experimentation in writing a kernel and having fun doing it. I have the basic boot-loader done and the following directives: [BITS 16] [ORG 0x0000] In the kernel tutorial, however, it starts with: [ORG 0x0000] [BITS 16] I was wondering if the order in which these directives are given makes a difference? I am...

Problem with bootstrap loader and kernel

We are working on a project to learn how to write a kernel and learn the ins and outs. We have a bootstrap loader written and it appears to work. However we are having a problem with the kernel loading. I'll start with the first part: bootloader.asm: [BITS 16] [ORG 0x0000] ; ; all the stuff in between ; ; the bottom of ...

Generate data classes failed ?

Hi everyone, I use MonoDevelop 2.2.2 with Mono 2.6.3 on OpenSuse so the linq to sql feature is implemented. But I have the problem I can create a new connexion to a postgresql database it's ok but when I click in Tool -> Generate Data classes and select the connexion I've created before I obtain nothing, no tables appear. What's the pr...

Oracle clients dead wait

hi all friends I meet a problem yesterday. Maybe it's because it is April 1st... but it did exist. I have 3 PCs in remote area, two clients and one oracle server. My app is running separately in the two clients, connecting hourly to the oracle database. My clients worked well before April 1st, but suddenly my app in the client machine...

WinForms/Console application on Mono, how to know it runs as root

As we can execute such executables in two ways, such as "sudo mono test.exe", and "mono test.exe". Now I want to know how to detect whether this application is running as root inside the application itself. I tried to check user name like below and see whether they equal to "root", Thread.CurrentPrincipal.Identity.Name Process.GetCu...

OpenLDAP configuraion in Yast2 - groupOfUniqueNames/uniqueMember

hi all, in /etc/openldap/slapd.conf I have this acl and works: access to dn.subtree="ou=users,dc=domain" by group/groupofuniquenames/uniquemember="cn=partner,ou=groups,dc=domain" write by users read When I want to configure it in OpenSuSE 11.1 Yast2 LDAP server configuration it generates me file /etc/openldap/slap.d/cn=conf...

Why wouldn't `new int[x]{}` be valid???

In MonoDevelop I have the following code which compiles: int[] row = new int[indices.Count]{}; However, at run-time, I get: Matrix.cs(53,53): Error CS0150: A constant value is expected (CS0150) (testMatrix) I know what this error means and forces me to then resize the array: int[] row = new int[indices.Count]{}; Array.Resiz...

ether_ntoa pointers cast problem

Hello to everyone!! I am trying to print the MAC address by using ether_ntoa. When i try to do printf("MAC (src): %s\n",ether_ntoa((struct ether_addr *)&eheader->ether_shost)); I get a segmentation fault, so I have come up with two different approaches: This is the snippet code nº1: struct ether_header *eheader; char *p; ... p = et...

when run make install command in opensuse for install wine it not work

hi i need install wine in oensuse but when run make install command in opensuse for install wine it not work ./configure and make and make dependency work well but make install dont work error is :cant create new folder access is denied i need guidelinefor install tar.gz file in opensuse tnx ...

Getting Started with Reddit open-source, Configuration/Installation

It is always better to learn from other developers experiences. I would like to clone Reddit at my workplace on an intranet basis. Though the documentation is great at http://code.reddit.com/#GettingStarted , I have not developed or used Linux before, so I am not familiar with using the terminal and Linux commands. What OS should I inst...

How to create a .desktop file application launcher on Linux?

I've developed an application in Qt which uses a launch script, myapp.sh. I've created a .desktop file which launches this script, and set: Command: $PWD/myapp.sh Work path: $PWD However, $PWD prints my home directory when I launch the .desktop file, resulting in attempting to launch ~/myapp.sh rather than ~/Development/build-director...

openSuse 11.3 usb mouse & usb keyboard problems

Hello, I've just installed openSuse 11.3 and when I plug-in my usb mouse or usb keyboard seem nothing happens. What is the problem is there any quick issues/solutions on it? The reason I'm not familiar to openSuse. Sultan ...

32/64 bit eclipse

On 64-bit openSUSE Linux, can a 32-bit eclipse running with 32-bit JVM compile code for a 64-bit system? Is this setup possible? (Installing and running eclipse/java 32-bit on a 64-bit system) ...

Remote backup solution for openSuSE

I'm looking for some backup solution. My request is pretty simple: Source - FTP credentials (ftp://user:[email protected]/dir1/dir2) Destination on local HDD (/var/backup/server-tld) Possibility of packing to archive (tar.gz/zip) Plan this "script" as a cron job with defined period (e.g. once a day) I know, that all this can be done us...

Mono WCF InstanceContextMode not working

I have a service that looks like this: [ServiceContract(SessionMode = SessionMode.Required)] public interface ILabListener { [OperationContract] byte[] GetChallenge(); ... ... [ServiceBehavior(IncludeExceptionDetailInFaults = true, InstanceContextMode = InstanceContextMode.PerSession)] class LabListener : ILabListener { ...

building rpm for Fedora:13 on openSUSE Build Server

Hi, I've been trying to build the latest package of "rpm" for Fedora 13 in the openSUSE Build Service, ( totally unmodified, taken directly from F-14 ) but for some reason, after building, when it gets to all my other packages, the OBS stops because installing the packages gives me a "cpio" error. Did I do something wrong, or is there s...

[Linux - OpenSuse 11.3 - KDE] Mouse not working

Hi Everyone, First of all, I'll appologise, I'm a complete Linux newbie. The thing is I'd gladly learn it and get rid of windows in a while, and OpenSuse seemed like a good place to start. I had to install OpenSuse by using the safemode kernel, otherwise it crashed, but it boots just fine now. The problem is, the (p/s2) mouse and the ...

Setting up a git repository on a openSuse VPS

I just got hold of an openSuse 10.3 VPS. I really don't know much about Unix and SSH and this stuff but I'd like to use my server to host a GIT repository. This seems simple enough to me... Here is what I did: I SSHed into my server and installed GIT (I guess), simply by entering # yast --install git Then some magic happened and obv...

Open suse Task Switching

I have installed OpenSuse. but task switching ie Alt + tab key is not working. ...

Updating QT version of OpenSuse

Hi All, I'm using OpenSuse 11.2 which has QT 4.5.3. Can I update it's QT to version 4.6? if yes, how? Thanks... ...