Difference between revisions of "Xrdp"

From ArchWiki
Jump to: navigation, search
m (i18n.)
(Expand the article as I did some testing)
Line 1: Line 1:
 
[[Category:Remote Desktop Protocol (English)]]
 
[[Category:Remote Desktop Protocol (English)]]
 
{{i18n|Xrdp}}
 
{{i18n|Xrdp}}
{{stub}}
+
'''xrdp''' is a daemon that supports Microsoft's [[Wikipedia:Remote Desktop Protocol|Remote Desktop Protocol]] (RDP).
xrdp is a server natively supports microsoft's RDP(Remote Desktop Protocol) which runs in linux.
+
It uses Xvnc or X11rdp as a backend.
  
==Installation==
+
== Installation ==
[http://aur.archlinux.org/packages.php?ID=14654 AUR Repos Containing XRDP]
+
There is {{AUR|xrdp}} in the [[AUR]]. However, this doesn't work without further changes and it depends on {{Pkg|tightvnc}}, which has severe problems giving the correct colors.
During the installation you will find that in /etc/rc.d/xrdp be unusable as the server uses the former name of rdpd so renaming it to rdpd will work.
+
 
===Autoboot at Startup===
+
With {{AUR|xrdp-git}} there is currently a better alternative. It depdens on {{AUR|tigervnc}}, which is a successor of ''tightvnc'' that doesn't have the mentioned problems.
Add rdpd to the DAEMONS section of /etc/rc.conf file.
+
 
 +
=== Fixing Problems in {{AUR|xrdp}} ===
 +
You won't have these problems when you use {{AUR|xrdp-git}} so you can skip this section when you chose the git version.
 +
 
 +
You should have something like that at the end of
 +
{{hc|/etc/xrdp/sesman.ini|<nowiki>[Xvnc]
 +
param1=-bs
 +
param2=-ac
 +
param3=-nolisten
 +
param4=tcp
 +
param5=-localhost
 +
param6=-fp
 +
param7=/usr/share/fonts/misc/</nowiki>}}
 +
otherwise Xvnc (tightvnc) will not start, complaining:
 +
{{bc|Fatal server error:
 +
could not open default font 'fixed'}}
 +
''xrdp'' will just fail without giving you that error.
 +
You can only see the error message when you try to start Xvnc manually for a test.
 +
 
 +
What you can't seem to fix is the message {{ic|Couldn't open RGB_DB '/usr/X11R6/lib/X11/rgb'}}.
 +
There seems to be no file available to suppress that warning and it is probably because of this,
 +
that some colors seem to be wrong (pink or blue instead of black).
 +
 
 +
=== Autoboot at Startup ===
 +
When you installed {{AUR|xrdp-git}} you can just add rdpd to the DAEMONS section of /etc/rc.conf file.
 +
 
 +
Otherwise you have to copy {{ic|/etc/xrdp/xrdp.sh}} to {{ic|/etc/rc.d}} and use that.
 +
 
 +
== Usage ==
 +
After starting xrdp you can point any RDP client to localhost (on standard RDP port 3389)
 +
''xrdp'' will give a small message window.
 +
 
 +
When you choose ''sessman-Xvnc'' you can give a username and password for any account on your host
 +
and ''xrdp'' will start another ''Xvnc'' instance for you.
 +
Opening a window manager out of a ''SESSION'' list provided in {{ic|/etc/xrdp/startwm.sh}}.
 +
 
 +
When you just close the RDP connection, you can access the same session again next time you connect with RDP.
 +
When you exit the window manager, the session will close and a new session will be opened the next time.
 +
 
 +
''xrdp'' checks only if a session with the same geometry is already opened.
 +
It will start a new session if the geometry/resolution doesn't match.
 +
 
 +
== See also ==
 +
* [[Virtual Network Computing]] - VNC, an alternative to RDP, also used as backend here

Revision as of 17:23, 13 March 2012

This template has only maintenance purposes. For linking to local translations please use interlanguage links, see Help:i18n#Interlanguage links.


Local languages: Català – Dansk – English – Español – Esperanto – Hrvatski – Indonesia – Italiano – Lietuviškai – Magyar – Nederlands – Norsk Bokmål – Polski – Português – Slovenský – Česky – Ελληνικά – Български – Русский – Српски – Українська – עברית – العربية – ไทย – 日本語 – 正體中文 – 简体中文 – 한국어


External languages (all articles in these languages should be moved to the external wiki): Deutsch – Français – Română – Suomi – Svenska – Tiếng Việt – Türkçe – فارسی

xrdp is a daemon that supports Microsoft's Remote Desktop Protocol (RDP). It uses Xvnc or X11rdp as a backend.

Installation

There is xrdpAUR in the AUR. However, this doesn't work without further changes and it depends on tightvnc, which has severe problems giving the correct colors.

With xrdp-gitAUR there is currently a better alternative. It depdens on tigervncAUR, which is a successor of tightvnc that doesn't have the mentioned problems.

Fixing Problems in xrdpAUR

You won't have these problems when you use xrdp-gitAUR so you can skip this section when you chose the git version.

You should have something like that at the end of

/etc/xrdp/sesman.ini
[Xvnc]
param1=-bs
param2=-ac
param3=-nolisten
param4=tcp
param5=-localhost
param6=-fp
param7=/usr/share/fonts/misc/

otherwise Xvnc (tightvnc) will not start, complaining:

Fatal server error:
could not open default font 'fixed'

xrdp will just fail without giving you that error. You can only see the error message when you try to start Xvnc manually for a test.

What you can't seem to fix is the message Couldn't open RGB_DB '/usr/X11R6/lib/X11/rgb'. There seems to be no file available to suppress that warning and it is probably because of this, that some colors seem to be wrong (pink or blue instead of black).

Autoboot at Startup

When you installed xrdp-gitAUR you can just add rdpd to the DAEMONS section of /etc/rc.conf file.

Otherwise you have to copy /etc/xrdp/xrdp.sh to /etc/rc.d and use that.

Usage

After starting xrdp you can point any RDP client to localhost (on standard RDP port 3389) xrdp will give a small message window.

When you choose sessman-Xvnc you can give a username and password for any account on your host and xrdp will start another Xvnc instance for you. Opening a window manager out of a SESSION list provided in /etc/xrdp/startwm.sh.

When you just close the RDP connection, you can access the same session again next time you connect with RDP. When you exit the window manager, the session will close and a new session will be opened the next time.

xrdp checks only if a session with the same geometry is already opened. It will start a new session if the geometry/resolution doesn't match.

See also