Archive for the 'News & Reviews' Category

Linux/Unix (X) as an RDP (Remote Desktop Protocol) Server?

Wow. This took me totally by surprise, and it seems to work very well. There’s no sound redirection or clipboard, but basically you connect to the Linux machine using an RDP client (Microsoft Remote Desktop Connection, or Terminal Server Client), and instead of getting a Windows logon box, you get an xrdp one. You choose a session and hey presto you have a Gnome or KDE session, through RDP!

It has two ways of working. The first, and easiest to get going, is that it uses vncserver (the VNC X Server) as the actual X server, and the xrdp program grabs the vnc display and RDPs it over to you. So you have the performance of RDP.
The other way is that it uses an RDP X server, so I suppose you could call that native X-RDP rather than VNC served RDP. This is a touch more complicated, and I was unable to get the svn version of the X11rdp Xserver to compile. There is a precompiled binary of what might be an old version at http://server1.xrdp.org/temp/ though.

The precompiled binary was the only way I could get X11rdp to work (that is native RDP - I got the vnc/rdp to work almost right away)

Let me clarify some points:

  • xrdp is the name of the project, and also the name of one of the binary files that deals with RDP and integrates with the VNC server and sends it to you through RDP.
  • X11rdp is the name of the special RDP Xserver that is another part of the project, which skips out vnc altogether. When you grab the (small) sourcecode off the project website, and do the make/make install, it will not build X11rdp.
  • X11rdp is also called “Xserver” within the project.

You will see in /usr/local/xrdp/sesman.log something like: “No such file or directory” if you are trying to use X11rdp server (sesman-X11rdp) but don’t have the X11rdp Xserver compiled/installed, or if you are trying to use VNC (sesman-Xvnc) but don’t have vncserver installed. VNC server will be provided by your distribution (Fedora, Ubuntu..) so is very easy to get. X11rdp is made by the xrdp project, so is not so easy, but the precompiled binary seemed to work OK for me.

The project’s website is very low priority, and does not reflect the true activity of the project.

The website is at http://xrdp.sourceforge.net/

Some random files, including a pre-compiled X11rdp (that’s the rdp-native Xserver remember..) are at http://server1.xrdp.org/temp/

There are some forums here: https://sourceforge.net/forum/?group_id=112022

You can browse the developer mailing list here: https://sourceforge.net/mailarchive/forum.php?forum_name=xrdp-devel

and there might one day be a new homepage at http://server1.xrdp.org

That’s about all the links I could find. The developer mailing list gives a nice indication that the project is moving forwards.

Dell’s new(ish) PowerEdge T300 server

I thought I’d take some photos and do a brief overview of the Dell PowerEdge T300 server.

I have supplied and installed a few of these to my customers, and I think it is my favourite small business machine for now.

This is a single-socket (i.e. single CPU) machine, although that single processor is a Quad Core Xeon, so it’s not such a negative point really. I have found in the past that I have gone for dual-socket servers, because they are naturally reasonably high-end rather than being more like a basic desktop, but these servers have always been left with the second CPU socket empty, and by the time you might think about adding a second CPU, those CPUs are long gone off the shelves and the price/performance of a replacement machine makes replacing the whole machine much more viable. So I am happy that this a single-socket machine - that’s perfect for the small businesses that I deal with.

For less than £600 +vat, this machine comes with a 2.5GHz Quad-Core Xeon CPU, 4gb RAM, a SAS 6iR RAID-0/1 controller card, and 2×160gb SATA hard disks configured as a RAID1.

What I do then is head off to http://www.scan.co.uk or http://www.microdirect.co.uk and buy a couple of large capacity hard drives. The machine comes cabled up ready to take up to four drives on the SAS 6i/R card. The SAS 6iR can create multiple RAID1 (or RAID0 if you’re that way inclined) volumes. So all we do is drop in a couple of 1,000gb Seagate HDDs, and create a large, cheap, mirrored storage volume.

The machine only has a single half-height 5.25″ drive bay free. There are two bays in total but the first is taken up by the DVD-ROM drive. This limits your choice of tape backup drive. The backup choices from Dell are even more limited - last time I checked they were only offering those cartridged 2.5″ SATA hard drive things. What I do is head over to Scan again, and pick up a Freecom DLT-V4 half-height 160/320gb SATA DLT drive. This completes my current favourite small business server. The Freecom drive uses SATA power and SATA data, and slots perfectly into the PowerEdge T300 like it was designed to be there in the first place. The drivers that Windows Update offers for the SATA DLT do not work properly, but Quantum’s website has working ones.

I recently did a setup like this (running SBS 2003) for a chap who works from home. In his case I used an internal Freecom 36/72gb USB DAT drive for reasons of cost and lower noise (the server was next to his bedroom). Unfortunately the PowerEdge T300 has no molex power connectors at all, only SATA power. Therefore a SATA Power -> Molex adapter is required, which is precisely the opposite of what you will have lying around. These adaptors are available for a few pounds online though. The Freecom USB DAT drive comes with a USB B to motherboard header (7/8 pin) cable. Here comes the second gotcha of the PowerEdge T300 - no internal USB headers, however, there is a USB A port on the motherboard, so you use a regular USB A->B cable but inside the server, as strange as that seems (see photo of internal USB A port on the motherboard).

The PowerEdge T300 comes with dual gigabit ethernet ports as standard, provided by a Broadcom chipset.

There are three PCI-E x8 slots, one PCI-E x4 slot, and one full length PCI-X slot which I assume would also accommodate a regular 32-bit/33MHz PCI card such as a modem, ISDN adapter or WiFi card for example. You can’t see the PCI-X slot in the pictures because it’s right below the SAS RAID card.

There are six SATA 3Gbps connectors built onto the motherboard, in case you do not opt for the SAS 6iR RAID 0/1 card or a full-on PERC 6 RAID-everything card. One of the onboard SATA ports is taken by the DVD-ROM drive.

After fitting the extra hard drives as in the pictures (four non hot-plug SATA drives total), there is one spare SATA power connector which can be used for the tape drive or whatever you fancy.

There are six DDR2 DIMM slots.

The front LCD display panel can display text of your choice, for example the company name and telephone number in case the item is stolen and ends up in a responsible person’s hands.

The server is available with the option of Hot-Plug/pullout hard disks. I have not encountered this configuration though. It also looks like the machine has the option of dual/redundant power supplies, since the rear is labelled “1″ and “2″.

As usual with Dell’s servers, everything is extremely well put together and designed. There are no little hairdrier chipset or CPU fans, just large slow-turning fans and lots of properly designed ducting panels to allow good proper airflow. This is what I like most about Dell’s servers, for this kind of money everything is spot on.

Some pictures. This is my first attempt at a blog so I apologise for rambling on and not laying things out in a clear and conscise manner. I may come back to do some editing later :)