Home > Techie > Connecting to Linux via RDP using NOMAD on openSUSE 11.1

Connecting to Linux via RDP using NOMAD on openSUSE 11.1

Novell has taken another step in making xrdp a default package for openSUSE 11.1. This is the reason why the nomad patch has been applied to compiz 0.7.8.

With this we now have the ability to open an RDP session on our linux machine, from a windows machine or another linux machine using rdesktop. This feature will be a main seller in the upcoming SLED 11 release, and openSUSE 11.1 will be the foundation to make sure it’s stable enough for the Enterprise Edition. So with that, I say “Give it a shot” and report your issues at bugzilla.novell.com

To install it run:

sudo zypper in xrdp

You’ll then see the following dependencies:

The following NEW packages are going to be installed:
xorg-x11-server-dmx xorg-x11-server-rdp xrdp

(quite possibly more I forget)

To start xrdp run:

sudo /usr/sbin/service xrdp start
or
rcxrdp start (as root)

If you have your firewall turned on be sure you allow the following port:

Tcp 3389

First, I want to start out with some known issues that i’ve seen, and i’ll sift through bugzilla later and post some of the still “known” issues when I get a few.

Known Issues:
rdesktop -g HxW is ignored
doesn’t work with kdm on default installation of openSUSE 11.1. To get it to work add the following repository:
http://download.opensuse.org/repositories/home:/hfiguiere:/Factory/openSUSE_11.1/
You can add the repository by doing:

sudo zypper ar http://download.opensuse.org/repositories/home:/hfiguiere:/Factory/openSUSE_11.1/ xrdp

and update all the xrdp related packages by running:

sudo zypper up -t package -r xrdp

Make sure you restart xrdp after doing that by running:

sudo /usr/sbin/service xrdp restart

Once you have that, then you can rdesktop (or rdp) to your linux box see the proof below:

Showing that xrdp is indeed running and I’m opening session via rdesktop
xrdp

I am then greated with a pretty login screen (I use twm but you can use it with a GNOME or KDE session etc).
xrdp

Shows successful logon
xrdp

Now I have my session open, YAY.
xrdp

I know it seems like this is a low frill thing, but in the enterprise space this is a MAJOR deal as everyone knows how to use rdp, and being able to rdp to linux server / workstation will lower license costs with X windows applications from Windows to Linux / running VNC etc etc.

I haven’t yet tested compiz through xrdp.

You get the idea. I’m a bit tired so the writing above is pretty half ass.


Bookmark and Share
Categories: Techie Tags: , ,


  1. December 29th, 2008 at 19:15 | #1

    I’ve been testing xrdp–is it me? It’s slow to update the screen. Not your typical rdp experience.

    I am running server on 11.0 32-bit with rdesktop from 11.1 64-bit.

    Thanks for all your great work and yes rdp on Linux is VERY important!!!!!!!!!!!

    Best,
    Dietrich

  2. Oleg
    December 31st, 2008 at 21:32 | #2

    Thanks for your instructions. I tested it and it works! I think it’s going to be a good feature for SLES 11. It would be good to see it right in Yast though: few click and it is enabled.

  3. January 1st, 2009 at 18:19 | #3

    Oleg,

    Glad it worked out for you. I would hope that by the time it was more mature (xrdp) that there would be an option in YaST to open and open required ports etc.

  4. JackBak
    January 7th, 2009 at 07:36 | #4

    Good start Ben, there is a complication though. You are relying on the nomad component in compiz, but that version of compiz borks title bars (relatively important that) with Desktop Effects turned on. For the way I work with multiple windows attached to different computers I absolutely need those effects to be ON. Thus, I run the version of compiz without nomad. Thus I can’t use your good efforts. I know this is a compiz problem but there is that coupling that you should be aware of.

  5. January 7th, 2009 at 10:18 | #5

    Jack,

    I too use Compiz without Nomad patch :o ) .. I work in much the same way (different windows for different computer sessions opened).

    Have you opened up a bugzilla report?

  6. JackBak
    January 7th, 2009 at 13:53 | #6

    No I haven’t Ben…sorry. I’m off in LINQ funnies between Mono and .NET right now. Since you are more conversant with Nomad could I impose upon you to open said report?

  7. JackBak
    January 8th, 2009 at 14:02 | #7

    OK, I just created bug 464675 describing the compiz / Nomad / xrdp connections when effects are turned ON.

  8. March 4th, 2009 at 20:32 | #8

    Hi: I used the factory repos with openSUSE 11.1 and can’t get KDE3 or KDE4 to work in the sense that I get a screen OK but just the message “KDE seems to be already running on this display”. Other Desktop Environs like TWM, console, Gnome etc work fine with factory. If I use the openSUSE 11.1 oss repo then KDE works again. So at least at today’s date, Factory is a no go for me for xrdp.

  1. January 3rd, 2009 at 12:54 | #1
  2. January 7th, 2009 at 10:13 | #2