Open Source remote desktop protocol (RDP) server

Edit Package xrdp

A full functionnal Linux terminal server, capable of accepting
connection from rdesktop and Microsoft's own terminal server / remote
desktop clients.

Refresh
Refresh
Source Files
Filename Size Changed
ready 0000000000 0 Bytes
xrdp-0.4.1..48f00f.diff.bz2 0000144398 141 KB
xrdp-0.4.1.tar.bz2 0000189017 185 KB
xrdp-NOMAD.diff 0000284561 278 KB
xrdp-avahi.diff 0000005016 4.9 KB
xrdp-lsb.patch 0000007469 7.29 KB
xrdp-pam.patch 0000000888 888 Bytes
xrdp.changes 0000005747 5.61 KB
xrdp.fw 0000000146 146 Bytes
xrdp.spec 0000005270 5.15 KB
Latest Revision
David Reveman's avatar David Reveman (dreveman) committed (revision 14)
Fix display offset conflict problem. (bnc#518877)
--This line, and those below, will be ignored--

M    xrdp-NOMAD.diff
M    xrdp.changes

Diff for working copy: .
Index: xrdp-NOMAD.diff
===================================================================

--- xrdp-NOMAD.diff     (revision 13) 
+++ xrdp-NOMAD.diff     (working copy) 
@@ -280,10 +280,10 @@
 +
 diff --git a/dmx/dmx.c b/dmx/dmx.c
 new file mode 100644
-index 0000000..19ce950
+index 0000000..6289c6c
 --- /dev/null
 +++ b/dmx/dmx.c
-@@ -0,0 +1,2319 @@
+@@ -0,0 +1,2322 @@
 +/*
 +   This program is free software; you can redistribute it and/or modify
 +   it under the terms of the GNU General Public License as published by
@@ -334,6 +334,8 @@
 +#define _PATH_UNIX_X X_UNIX_PATH
 +
 +#define _PATH_UNIX_CR "/tmp/.CR-unix/C%u"
++
++#define DISPLAY_OFFSET 256
 +
 +#define DMX_ERROR_INVALID_SCREEN "org.x.config.dmx.InvalidScreen"
 +#define DMX_ERROR_SCREEN_IN_USE  "org.x.config.dmx.ScreenInUse"
@@ -999,9 +1001,10 @@
 +    return 1;
 +  }
 +
-+  mod->display = atoi (mod->port) + (MAX_SESSIONS_LIMIT * 2) - 6000;
-+
-+  while (mod->display <= (MAX_SESSIONS_LIMIT * 4))
++  mod->display = atoi (mod->port) +
++      (DISPLAY_OFFSET + MAX_SESSIONS_LIMIT * 2) - 6000;
++
++  while (mod->display <= (DISPLAY_OFFSET + MAX_SESSIONS_LIMIT * 4))
 +  {
 +      if (!x_server_running (mod->display))
 +	  break;
@@ -1009,7 +1012,7 @@
 +      mod->display++;
 +  }
 +
-+  if (mod->display > (MAX_SESSIONS_LIMIT * 4))
++  if (mod->display > (DISPLAY_OFFSET + MAX_SESSIONS_LIMIT * 4))
 +  {
 +    mod->server_msg(mod, "error - no available display offset", 0);
 +    LIB_DEBUG(mod, "out lib_mod_connect error");

Index: xrdp.changes
===================================================================

--- xrdp.changes     (revision 13) 
+++ xrdp.changes     (working copy) 
@@ -1,3 +1,7 @@
+Wed Jul 15 11:45:23 EDT 2009 - davidr@novell.com
+
+- Fix display offset conflict problem. (bnc#518877)
+
 Mon Jul 13 17:23:17 EDT 2009 - davidr@novell.com
 
 - Clean up lock files properly. (bnc#518877)
Comments 0
openSUSE Build Service is sponsored by