DialogLib

Ever wanted to create something as simple as a login form using vbscript, or just som other form with more that one textbox .. or perhaps create forms with listboxes, comboxes and stuff like that? Sure you has, and then you realized that is just isn’t possible. Fear no more .. DialogLib is here: DialogLib-0.1.zip

 

 

Sean’s birthday

Today we are celebrating my wonderfull son’s birthday. Today Sean is 4 years old. I wish him a happy birthday, and many happy birthdays to come.

My Blackbird

So now .. it snowing like never before, and it’s great. This means powersliding each corner when driving my cars – it’s a lot of fun. But nothing lasts forever (learned that the hard way),  and soon spring is comming – and four wheels will be replaced with two wheels again. I just can’ t wait for it.

I just can’ t wait firing up the bike, but before doing that – maintenance is required. 164 brake horse powers, and a top speed just above 300 km/h – makes you wanna keep the bike in a very healthy condition.

Getting the bike ready for this season will require at new rear tire, a set of spark plugs, a change of oil and filters – and of course the regular routine checkups. Rimstripes will be applied, for giving the bike a personal touch.

This summer I’ll be driving the bike to southern Italy – and take the ferry to Greece. It’s gonna be great trip – and I’m really looking forward to it. Be seeing you out there.

Nova’s birthday

Today is´s my beautiful daughter’s birthday – today Nova is 2 years old. I wish her a happy birthday, and many happy birthdays to come.

 

Compiling Rdesktop for Win32

So you wanna have an opensource RDP client for Windows. Well .. no problem. Here is what you do:

Visit www.cygwin.com and download setup.exe. When downloaded, you must launch setup.exe and install a complete Cygwin environment. Cygwin is only needed when compiling Rdesktop, so don´t worry about the diskspace usage. You will get it all back again, when deleting cygwin.

When Cygwin has been installed, it´s time to visit www.rdesktop.org, and download the latest release of the Rdesktop client. Save the tarball in the cygwin root folder, which defaults to c:\cygwin. At the time of writing, the latest version of Rdesktop is 1.6.0. When the package has been downloaded, it’s time to start the Cygwin XWin Server, and start compiling Rdesktop. Type the following commands into the shell, that starts with the X server:

tar -xf /rdesktop-1.6.0.tar.gz
cd rdesktop-1.6.0/
./configure --with-x --with-sound=oss; make; strip rdesktop.exe

Rdesktop has now been compiled (lucky you), and it’s time to collect all needed files for the RDP client, and create a single .zip file containing the Rdesktop Win32 distribution. Type the following commands into the shell for creating the Rdesktop distribution:

mkdir /Rdesktop-1.6.0-Win32
ldd rdesktop.exe | perl -ane 'print "cp \"$F[2]\" \"/Rdesktop-1.6.0-Win32\"\n" if !/cygdrive/i;' | sh
cp rdesktop.exe /Rdesktop-1.6.0-Win32
cp -r keymaps /Rdesktop-1.6.0-Win32
zip -9rq /Rdesktop-1.6.0-Win32.zip /Rdesktop-1.6.0-Win32/*

By now you should have a Rdesktop distribution in your Cygwin root, named Rdesktop-1.6.0-Win32.zip. This .zip file contains all you need, to connect to your RDP compliant hosts (ie. Windows hosts), from any Win32 computer:

rdesktop.exe [hostname]

Troubleshooting:

If you are having trouble with compiling your own Rdesktop client, you may choose to download the package that I created for this article: Rdesktop-1.6.0-Win32.zip

If you should see the following error message:

ERROR: Failed to open display:

.. then your X-server is not running (download and install Xming if you need one), or your DISPLAY environment variable is not set. Set the needed variable with this command:

set DISPLAY=127.0.0.1:0

New additions to this post:

18/04/2011: Rdesktop-1.7.0-Win32.zip has been compiled using this guide.

30/03/2012: Rdesktop-1.7.1-Win32.zip has been compiled using this guide – and a slightly modified version has been created for creating a Windows Installer MSI: Rdesktop-1.7.1-Win32.msi