Windows

How do I get NoMachine NX running on Windows XP Embedded?

Matthew Nawrocki explains how to add the NULL device driver to Windows XP Embedded to access an X Windows session via NoMachine NX.

Windows XP Embedded is an excellent operating system used for thin-client PCs and work terminals that can connect to a main server that contains the entire application database. Now suppose you want to access an X Windows session via Windows XP Embedded via NoMachine NX on your company's UNIX-based box.

For those who are not in the know, NoMachine NX is a software product designed for accessing Linux/FreeBSD/Solaris desktops remotely, similar to that of TightVNC. However, as much as you try to get a connection, you simply cannot establish one (Figure A). Well, there is a very important fact that all IT administrators need to know about.

Figure A

Cannot establish a connection

Unlike standard, run-of-the-mill Windows XP Professional, Windows XP Embedded lacks one key ingredient to make the handshake with the server happen, the NULL device driver, which acts as an equivalent to the NULL device in UNIX-based operating systems. This is needed in order for NoMachine NX to make a connection. The following steps will guide you through the process of adding the device.

This blog post is also available in the PDF format in a TechRepublic Download.

Install NULL device driver

First, download the null device driver zip file. This contains all you will need to install the device.

Next, extract the null.sys file in the zip to:

%SystemRoot%\system32\drivers

Enter regedit and point to the following key:

HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Enum\Root

Right click the entry and select "Permissions..." (Figure B)

Figure B

Permissions
Select the empty checkbox next to Full Control for Everyone, and then click OK. (Figure C)

Figure C

Full Control for Everyone

Extract the null.reg file out of the zip file and launch it. Click Yes to merge the entries into the registry and then reboot your system in order for the changes to take effect.

Once you are back at the desktop, NoMachine NX should now successfully connect to the X Window session.

Collect a bounty yourself

Matt Nawrocki successfully collected a $300 bounty for submitting a useful Windows XP tip that has not been covered by TechRepublic in the past. Are you a Windows XP tip bounty hunter? Do you have a good tip that is new to TechRepublic? Write it up in a step-by-step 800-word explanation, including why you would want to perform the action, and possibly collect your own bounty. Send Mark Kaelin your proposal in a private message and we'll contact you if we find it promising.

Stay on top of the latest XP tips and tricks with TechRepublic's Windows XP newsletter, delivered every Thursday. Automatically sign up today!

About

An avid technology writer and an IT guru, Matthew is here to help bring the best in software, hardware and the web to the collective consciousness of TechRepublic's readership. In addition to writing for TechRepublic, Matthew currently works as a Cus...

2 comments
deICERAY
deICERAY

This post just made me feel old... I have no idea what you said, so it doesn't apply to me, but I feel my entire technical legacy slipping away, like a slow moving freight train; I'll never be able to stop it, and soon I just won't speak the language at all any more. Good that there are so many others taking up the call and carrying on.

Mark W. Kaelin
Mark W. Kaelin

Here is your chance. At least once a week I see an entry in the discussion forum complaining that TechRepublic doesn't cover Windows XP enough. Well, do something about it and send me a proposal for your own Windows XP tip - just remember that it has to be something that we have not covered before. What do you think of Matt's tip? Do you use Windows XP Embedded?

Editor's Picks