gadgetweb.de

Attention: open in a new window. PDFPrint

VMWare Server 2.02 and Firefox 3.6

Friday, 19 February 2010 19:17

Some days ago I have had a little fight with my VMWare Server 2.02 again. After updating my system I have not been able to access my virual machine management page using firefox anymore. I found out that this is a known issue after updating firefox to version 3.6.  After accessing the web frontend I could not see the login form anymore. Checking the hostd.log showd a bunch of messages like

SSL Handshake on client connection failed: SSL Exception: error:140D9115:SSL routines:SSL_GET_PREV_SESSION:session id context uninitialized

This can be fidex by reenabling the ssl2 support in firefox 3.6. Just enter the url about:config in your firefox address line and enable the

security.enable_ssl2

entry by setting switching it to true by just double clicking the entry.

 

The next problem is that you will not be able to use the remote console anymore as it is not compatible with the Firefox 3.6 anymore, but you can execute the plugin directly on your terminal which works great. It also allows you to forgo the web interface to startup and use your local machines. All you need to do is unzipping the browser plugin. On gentoo is can be found at

/opt/vmware/server/lib/webAccess/tomcat/apache-tomcat-6.0.16/webapps/ui/plugin/

On Linux you can just unzip the vmware-vmc-linux-x86.xpi or vmware-vmc-linux-x64.xpi (files are just zip archives). Within the file you can find a vmware-vmrc script (plugin-directory). Calling the script should open a user interface where you can enter the address of your vmware-server web-frontend (for example localhost:8333 using the default ssl frontend port) and your login credentials. After entering this information you will get a list of all virtual machines installed in your inventory. Just select the desired virtual machine. If the virtual machine is currently not running, vmware will automatically boot it up.

 

 

 
Attention: open in a new window. PDFPrint

Fun with OpenGLs Accumulator

Last Updated on Tuesday, 26 January 2010 23:32 Tuesday, 26 January 2010 22:21

As all modern 3D graphic cards provide a accumulator buffer I just decided to play around with it a little bit as one can create some really nice effects with it. As it name declares, the accumulation buffer can be used to accumulate rendered pictures. It allows some basic functions to write or add the current front or backbuffer (depends on which one is currently activated for drawing) to it while performing a scalar multiplication on the current color values. Which just means that you can multiply every pixel of the picture currently in your front or backbuffer and add it to the color values currently stored in the accumulator. This allows you to combine two (or more) pictures within the accumulation buffer. You also can write the data of the accumulator buffer back to your back or front buffer to show it on your screen.

 

Read more: Fun with OpenGLs Accumulator

   
Attention: open in a new window. PDFPrint

Android: Linux or not?

Last Updated on Monday, 15 March 2010 15:42 Sunday, 24 January 2010 21:33

As google has released the nexus some weeks ago you can find articles about android all over the press. One interesting fact is that most authors speak of android as linux whereas google has stated clearly that android is not linux in the past. As this also includes the technical press there is much confusion about this topic. So, why does the whole world speak of android as linux?

The main fact is that android has been build upon the linux kernel. The kernel manages the system resources, file and process access, device drivers and inter process communication. It does not contain any user-space functions like the user interface or even basic terminal commands like ls, cp, cd and so on. This means that having a linux kernel alone does not allow you to access your system at all.

When Linus Torvald started to speak of his early system as Linux it only consisted of this kernel. Some years later it was used as the kernel for the GNU-utils because they lacked a kernel backend. The naming conventions changed this days as Linus Torvald started to speak of linux as the combination of his kernel and the GNU utilities that provides the userspace applications within the current linux systems. So basically speaking of linux includes the kernel and the GNU utilities.

So let’s get back to android again. Android has been build upon the linux kernel but it does not contain any of the userspace applications as it provides its own. Google implemented a JavaVM based on the kernel to provide all userspace applications. So, the linux kernel is used as a hardware abstraction layer. This differentiates android from other embedded systems based on linux like the operating system on the nokia n900.

In my opinion you should carefully separate the linux kernel from the linux system (or a linux distribution). I support the position of google that speaking of android as linux is not right as it has nothing in common with a linux system except its kernel.

   
Attention: open in a new window. PDFPrint

Xorg, evdev and vmware-server

Last Updated on Saturday, 23 January 2010 11:09 Friday, 22 January 2010 21:41

I just decided to remove my outdated xorg.conf and switch to the really nice hotplug features of the new Xorg server. I thought that it would be a good idea to switch von old kbd to the evdev keyboard driver. After removing my xorg.conf and updating my keyboard layout configuration everything worked quite fine.

Okay, let’s say: Everything but vmware-server. Directly after the update, the vmware-server 2 console messed up my keyboard input ignoring all special keys like the arrow-keys. Even the keyboard layout did not fit my system settings. As it is a known issue there is a workaround available:

Just add the following line to your /etc/vmware/config (or to your $HOME/.vmware/config as well):

Read more: Xorg, evdev and vmware-server

   
Attention: open in a new window. PDFPrint

vmware: No space left on device

Last Updated on Saturday, 23 January 2010 00:23 Friday, 22 January 2010 21:32

Uhh. Some days ago, I had some really nasty vmware server experience. I just updated to a new vmware-server 2 version. Just after the update I was not able to start my Windows XP guest system and it took me quite some time to figure out, why it stopped working.

After starting the virtual machine, I just got a very useless message on my web frontend saying just

"Power On Virtual Machine" failed to complete

If these problems persist, please contact your system administrator.
Details:

Could not open paging file for 768 MB:
"No space left on device".
Failed to allocate main memory.
Module MainMem power on failed. 

Checking my systems memory and disk space told me, that everything looks fine. After some research I found out what vmware was actually complaining about:

The virtual machine I tried to start seemes to have crashed the last time I used it before I updated vmware. So there were plenty of lockfiles (.lck) in the virtual machines directory. I remember that some older versions complained that the virtual machine is currently opened but vmware server 2 seems to complain about a lack of free memory. So calling

rm -Rf *.lck

within the virtual machines directory has done the job for me and I have been able to start the virtual machine without any further issues.

   
Attention: open in a new window. PDFPrint

New design for gadgetweb.de

Last Updated on Saturday, 23 January 2010 00:23 Sunday, 17 January 2010 20:38

I just decided to upload a new design for this page as the one I used was some template from the joomla template library. The new design has still some flaws I have to get out. It does not work corret on Internet Explorers before the version 8 and it looks best on browsers supporting the rounded corner CSS tags.

The current page structure does not yet fit the design needs, so there are some empty fields… this will be changed as soon as I find the time for it ;)

   

Page 2 of 4