Your message dated Tue, 10 Feb 2026 21:50:57 +0000
with message-id <[email protected]>
and subject line Bug#617615: fixed in rdesktop 1.9.0-3
has caused the Debian Bug report #617615,
regarding rdesktop: Use of -g workarea causes X Error of failed request:
BadValue
to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)
--
617615: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=617615
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: rdesktop
Version: 1.6.0-3
Severity: normal
Tags: patch
User: [email protected]
Usertags: origin-ubuntu natty ubuntu-patch
In Ubuntu, the attached patch was applied to achieve the following:
* debian/patches/15_lp192218.dpatch: fix -g workarea on 64 bit machines
(LP: #192218)
Details can be found in the Ubuntu bug[1]. Basically, rdesktop assigns
an unsigned char * to an unsigned int and on 64 bit systems these are
different sizes. Comment #11 in the Ubuntu bug has full analysis. This
patch was taken from upstream[2].
Thanks for considering the patch.
[1]https://bugs.launchpad.net/ubuntu/+source/rdesktop/+bug/192218
[2]http://rdesktop.svn.sourceforge.net/viewvc/rdesktop?view=revision&revision=1550
-- System Information:
Debian Release: squeeze/sid
APT prefers natty-updates
APT policy: (500, 'natty-updates'), (500, 'natty-security'), (500, 'natty')
Architecture: amd64 (x86_64)
Kernel: Linux 2.6.38-5-generic (SMP w/4 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
diff -u rdesktop-1.6.0/debian/control rdesktop-1.6.0/debian/control
--- rdesktop-1.6.0/debian/control
+++ rdesktop-1.6.0/debian/control
@@ -1,7 +1,7 @@
Source: rdesktop
Section: x11
Priority: optional
-Maintainer: Ubuntu Core Developers <[email protected]>
+Maintainer: Ubuntu Developers <[email protected]>
XSBC-Original-Maintainer: Laszlo Boszormenyi (GCS) <[email protected]>
Build-Depends: debhelper (>= 6.0.0), dpatch (>= 2.0.9), pkg-config, autotools-dev, libasound2-dev, libxt-dev, libx11-dev, libssl-dev, libsamplerate-dev
Standards-Version: 3.8.2
@@ -17 +16,0 @@
-
diff -u rdesktop-1.6.0/debian/changelog rdesktop-1.6.0/debian/changelog
diff -u rdesktop-1.6.0/debian/patches/00list rdesktop-1.6.0/debian/patches/00list
--- rdesktop-1.6.0/debian/patches/00list
+++ rdesktop-1.6.0/debian/patches/00list
@@ -23,0 +24 @@
+15_lp192218.dpatch
only in patch2:
unchanged:
--- rdesktop-1.6.0.orig/debian/patches/15_lp192218.dpatch
+++ rdesktop-1.6.0/debian/patches/15_lp192218.dpatch
@@ -0,0 +1,27 @@
+#! /bin/sh /usr/share/dpatch/dpatch-run
+## Origin: http://rdesktop.svn.sourceforge.net/viewvc/rdesktop?view=revision&revision=1550
+## Description: _NET_WORKAREA is interpreted wrong on 64-bit machines (-g workarea)
+## Ubuntu-Bug: https://bugs.launchpad.net/ubuntu/+source/rdesktop/+bug/192218
+
+@DPATCH@
+diff -urNad '--exclude=CVS' '--exclude=.svn' '--exclude=.git' '--exclude=.arch' '--exclude=.hg' '--exclude=_darcs' '--exclude=.bzr' rdesktop-1.6.0~/ewmhints.c rdesktop-1.6.0/ewmhints.c
+--- rdesktop-1.6.0~/ewmhints.c 2008-04-02 06:13:22.000000000 -0500
++++ rdesktop-1.6.0/ewmhints.c 2011-03-09 15:14:22.000000000 -0600
+@@ -135,7 +135,7 @@
+ int current_desktop;
+ unsigned long nitems_return;
+ unsigned char *prop_return;
+- uint32 *return_words;
++ long *return_words;
+ const uint32 net_workarea_x_offset = 0;
+ const uint32 net_workarea_y_offset = 1;
+ const uint32 net_workarea_width_offset = 2;
+@@ -158,7 +158,7 @@
+ if (current_desktop < 0)
+ return -1;
+
+- return_words = (uint32 *) prop_return;
++ return_words = (long *) prop_return;
+
+ *x = return_words[current_desktop * 4 + net_workarea_x_offset];
+ *y = return_words[current_desktop * 4 + net_workarea_y_offset];
--- End Message ---
--- Begin Message ---
Source: rdesktop
Source-Version: 1.9.0-3
Done: Laszlo Boszormenyi (GCS) <[email protected]>
We believe that the bug you reported is fixed in the latest version of
rdesktop, which is due to be installed in the Debian FTP archive.
A summary of the changes between this version and the previous one is
attached.
Thank you for reporting the bug, which will now be closed. If you
have further comments please address them to [email protected],
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Laszlo Boszormenyi (GCS) <[email protected]> (supplier of updated rdesktop
package)
(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [email protected])
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512
Format: 1.8
Date: Tue, 10 Feb 2026 21:57:15 +0100
Source: rdesktop
Architecture: source
Version: 1.9.0-3
Distribution: unstable
Urgency: medium
Maintainer: Laszlo Boszormenyi (GCS) <[email protected]>
Changed-By: Laszlo Boszormenyi (GCS) <[email protected]>
Closes: 563114 573395 617615 639413 749056 839551 1110334
Changes:
rdesktop (1.9.0-3) unstable; urgency=medium
.
[ Andreas Tille <[email protected]> ]
* Maintain package in Debian team on Salsa
* Drop obsolete debian/README.source
Closes: #1110334
* debhelper-compat (= 13)
* d/control:
- Drop explicit Build-Depends: autoconf, automake
- Build-Depends: s/pkg-config/pkgconf/
* d/copyright:
- DEP5
- Review
* Add hint that upstream needs a new upstream maintainer to long
description.
* d/watch: version=5
* Verify that this upstream version contains the patch which fixes
DPI and Mouse Cursor for Windows 10
Closes: #839551
* Verify that code to fix redirected disk file transfer is included
in recent upstream version
Closes: #563114
* Verify that patch to nt duplicate scroll wheel events is included
in recent upstream version
Closes: #573395
* Verify that patch is applied upstream
Closes: #617615
* Verify that value for CallerAvailableAllocationUnits from
FileFsFullSizeInformation is correct in this version
Closes: #639413
* Verify that this version does support _WM_NET_PID
Closes: #749056
* Standards-Version: 4.7.3
Checksums-Sha1:
1fd99c229dcb7333aa33fe4572bea7657671203b 1982 rdesktop_1.9.0-3.dsc
8a09bed4c64b0d14678c2e7838fbc4738e5ea1b4 9500 rdesktop_1.9.0-3.debian.tar.xz
Checksums-Sha256:
9e9c3c1bb67bc5c9c4a8ba49600c81537d6c1a654d1e0f1a91ac980c93aabb89 1982
rdesktop_1.9.0-3.dsc
a5fbf714ab0ef4e902f591cd142a955f872ecd6a2c7f14b5851e0eb14be5b376 9500
rdesktop_1.9.0-3.debian.tar.xz
Files:
e53c6925782bbe98c04425a4cc7410be 1982 x11 optional rdesktop_1.9.0-3.dsc
53f635ed2f9c5d549588da73448ce3d1 9500 x11 optional
rdesktop_1.9.0-3.debian.tar.xz
-----BEGIN PGP SIGNATURE-----
iQIzBAEBCgAdFiEEfYh9yLp7u6e4NeO63OMQ54ZMyL8FAmmLnT8ACgkQ3OMQ54ZM
yL+g1RAAp9TTyU9qBrPZvtwe6IhStoHkK//JQcyObC6df3II/X1toXu08nIWNMP2
KUVPUVpWq2zfSiHpKmuLn4Or3AjCyxRnBkSqdcat9FjOqSs7xV/LNnnFAj9a1WwB
GVhM7n6R+6dDgyudB/LOB0Q+aFhtoEGoyX2o2N6EV1okIz7u8bfZ/NGqF0GaTbkF
/crojI2PIvS5ZxmGw/227scOjzo5TsRJw7E9+QwIoHZYdTws1UPkeg2lyK7Yl3PE
X6AK6s7af8m6R6uTXwZw88ETxRzbHTDmq/+JmgTIC7jDRQpeO57ALpfNcQ10mwbc
e+dRiAyuiKIpY+32N+QVptO8GLSyZBJc+AjXfPvRfbTsMov8xNhI/YBkuscNfEGQ
IZXwajEi7tSfgOwg5/dnUdBwHRgzHUPUxAa9BiEGX77daGtwjI19OrGGsChNiXaW
/XQiHv5htMnBYczOAHgTV7KLztXOHsS47XGkUPFtfQTJr5n9lm+Tu9H6yQwfqIcf
lKqiUkbRmKBDktT2yTh0Ws2gqBoJNsIrV3APVkYbZaTEyrXTi+eWKgxUAkzJoL4x
573rjdE0AUW8tD01HtjdxcV6FWes8K/gBUws6tAdVwEerj/rmdlFYq4uWn9x0nvO
mhuy5kVYsalbsD3JzmQ1pUrbPncpPPzeXFaYg7vsYulyrlpXleM=
=fsbj
-----END PGP SIGNATURE-----
pgp6C3HfXr2rI.pgp
Description: PGP signature
--- End Message ---