Got it working...

Running Ubuntu 8.10 I initially had similar problems to others.  I run a
fairly standard install but it is not fresh - it's been updated since
the 7.04 days and has all updates.  I had previously configured VNC but
it is the default vino, not tightvnc as some have suggested is required.

The first issue was that nothing was listening on the RDP port (3389).
Running xrdp as root fixed that (sudo xrdp).

One problem I had was that mstsc would not provide the xrdp menu; it
would just try the default (first) option and give an X session but
without a display manager.  While trying some modifications to
/etc/xrdp/xrdp.ini I caused an connection error that then had the
session selection menu display... perhaps the 'default' session needs to
throw an error so you at least get the menu ;)

Anyway, selecting 'vnc-any' got it working.  As the only difference
between this session and the default was the port (-1 by default, 5900
for vnc-any) I just changed the default to use port 5900 and it works.
The first (default) entry in /etc/xrdp/xrdp.ini is now:

[xrdp1]
name=my.default
lib=libvnc.so
username=ask
password=ask
ip=127.0.0.1
port=5900

It appears you need to restart sesman (the xrdp session manager) for any
changes to take effect.

Summary:
- install xrdp
  sudo apt-get install xrdp
- mod /etc/xrdp/xrdp.ini as above
  - change port=-1 to port=5900
- restart sesman
  sudo sesman --kill && sudo sesman
- run xrdp as root (if not already running)
  sudo xrdp

That's it - connection works from MS Remote Desktop client.  Refresh
rates are much better than VNC alone.  Desktop effects (compiz) is even
usable and VirtualBox is working fine for me.  The only problem I've
noticed so far is that some key combinations are not working: Ctrl-Alt-
arrows to switch desktops (but Ctrl-Alt-left mouse button works with the
cube!) and anything with the meta/super/win key.

Note to maintainers: The best fix would be to keep port=-1 but ensure
that it connects to an existing session rather than creating a new
session (which will not have a display manager by default).  Otherwise,
default to port=5900 and it should work with a default install of VNC.

-- 
xrdp package doesn't work out of box
https://bugs.launchpad.net/bugs/220005
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to