xrdp server fails to start on ppc64el
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
xrdp (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
xrdp fails to start with the following error on 14.10 ppc64el with :
# dpkg -l xrdp
ii xrdp 0.6.1-1 ppc64el Remote Desktop Protocol (RDP) server
** error log below **
* Starting Remote Desktop Protocol server
** error log end **
Following which "ps" and "netstat -anp" confirms xrdp is not running.
Upon examination, it seems to be connected to how common/arch.h is detecting endianness, assuming that PPC is *always* big endian (whereas the power architecture has dual endianness).
The following patch eleviates the issue :
*** PATCH STARTS HERE ***
--- xrdp-0.
+++ xrdp-0.
@@ -24,6 +24,12 @@
#if !defined(ARCH_H)
#define ARCH_H
+#if defined(
+#define L_ENDIAN
+#else
+#define B_ENDIAN
+#endif
+
#if !(defined(L_ENDIAN) || defined(B_ENDIAN))
/* check endianess */
#if defined(__sparc__) || defined(__PPC__) || defined(__ppc__) || \
*** PATCH ENDS HERE ***
Tested by dpkg-buildpackage. Other problems ensue, but are already declared (and not directly related to xrdp).
--Ivan
tags: | added: ibm power powerpc ppc |
Changed in xrdp (Ubuntu): | |
status: | Confirmed → Fix Released |
Status changed to 'Confirmed' because the bug affects multiple users.