Your message dated Tue, 10 Feb 2026 21:50:57 +0000
with message-id <[email protected]>
and subject line Bug#749056: fixed in rdesktop 1.9.0-3
has caused the Debian Bug report #749056,
regarding rdesktop: Does not support _WM_NET_PID
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.)


-- 
749056: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=749056
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: rdesktop
Version: 1.7.1-1
Severity: normal
Tags: patch

rdesktop supports a number of extended window manager hints, but not 
_WM_NET_PID.

The attached patch fixes that.  I've tested it against 1.8.2 as well as 1.7.1.

Please let me know if you'd prefer for me to submit it directly upstream as 
well as here.

-- System Information:
Debian Release: jessie/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: i386 (i686)

Kernel: Linux 3.12-1-686-pae (SMP w/2 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages rdesktop depends on:
ii  libasound2    1.0.27.2-3
ii  libc6         2.18-5
ii  libpcsclite1  1.8.11-1
ii  libssl1.0.0   1.0.1g-3
ii  libx11-6      2:1.6.2-1
ii  libxrandr2    2:1.4.2-1

rdesktop recommends no packages.

Versions of packages rdesktop suggests:
pn  pcscd  <none>

-- no debconf information
>From 5a2fd7d8e2a43d3ac1645cd929f3d17cc7e970af Mon Sep 17 00:00:00 2001
From: Klee Dienes <[email protected]>
Date: Fri, 23 May 2014 08:14:39 -0400
Subject: [PATCH 1/3] Add _WM_NET_PID support.

---
 ewmhints.c | 10 +++++++++-
 xproto.h   |  1 +
 xwin.c     |  3 +++
 3 files changed, 13 insertions(+), 1 deletion(-)

diff --git a/ewmhints.c b/ewmhints.c
index ae132e5..e542ff4 100644
--- a/ewmhints.c
+++ b/ewmhints.c
@@ -35,7 +35,8 @@ extern Display *g_display;
 static Atom g_net_wm_state_maximized_vert_atom, g_net_wm_state_maximized_horz_atom,
 	g_net_wm_state_hidden_atom, g_net_wm_name_atom, g_utf8_string_atom,
 	g_net_wm_state_skip_taskbar_atom, g_net_wm_state_skip_pager_atom,
-	g_net_wm_state_modal_atom, g_net_wm_icon_atom, g_net_wm_state_above_atom;
+	g_net_wm_state_modal_atom, g_net_wm_icon_atom, g_net_wm_state_above_atom,
+	g_net_wm_pid_atom;
 
 Atom g_net_wm_state_atom, g_net_wm_desktop_atom;
 
@@ -191,6 +192,7 @@ ewmh_init()
 	g_net_wm_name_atom = XInternAtom(g_display, "_NET_WM_NAME", False);
 	g_net_wm_icon_atom = XInternAtom(g_display, "_NET_WM_ICON", False);
 	g_utf8_string_atom = XInternAtom(g_display, "UTF8_STRING", False);
+	g_net_wm_pid_atom = XInternAtom(g_display, "_NET_WM_PID", False);
 }
 
 
@@ -409,6 +411,12 @@ ewmh_set_wm_name(Window wnd, const char *title)
 			8, PropModeReplace, (unsigned char *) title, len);
 }
 
+void
+ewmh_set_wm_pid(Window wnd, pid_t pid)
+{
+	XChangeProperty(g_display, wnd, g_net_wm_pid_atom, XA_CARDINAL, sizeof(pid_t) * 8,
+			PropModeReplace, &pid, 1);
+}
 
 int
 ewmh_set_window_popup(Window wnd)
diff --git a/xproto.h b/xproto.h
index e3c07a5..3b7083a 100644
--- a/xproto.h
+++ b/xproto.h
@@ -7,6 +7,7 @@ int ewmh_change_state(Window wnd, int state);
 int ewmh_move_to_desktop(Window wnd, unsigned int desktop);
 int ewmh_get_window_desktop(Window wnd);
 void ewmh_set_wm_name(Window wnd, const char *title);
+void ewmh_set_wm_pid(Window wnd, pid_t pid);
 int ewmh_set_window_popup(Window wnd);
 int ewmh_set_window_modal(Window wnd);
 void ewmh_set_icon(Window wnd, int width, int height, const char *rgba_data);
diff --git a/xwin.c b/xwin.c
index 1637848..f321a05 100644
--- a/xwin.c
+++ b/xwin.c
@@ -506,6 +506,7 @@ sw_find_group(unsigned long id, RD_BOOL dont_create)
 	sg->wnd =
 		XCreateWindow(g_display, RootWindowOfScreen(g_screen), -1, -1, 1, 1, 0,
 			      CopyFromParent, CopyFromParent, CopyFromParent, 0, &attribs);
+	ewmh_set_wm_pid(sg->wnd, getpid());
 
 	sg->id = id;
 	sg->refcnt = 0;
@@ -2030,6 +2031,7 @@ ui_create_window(void)
 			      wndheight, 0, g_depth, InputOutput, g_visual,
 			      CWBackPixel | CWBackingStore | CWOverrideRedirect | CWColormap |
 			      CWBorderPixel, &attribs);
+	ewmh_set_wm_pid(g_wnd, getpid());
 
 	if (g_gc == NULL)
 	{
@@ -3930,6 +3932,7 @@ ui_seamless_create_window(unsigned long id, unsigned long group, unsigned long p
 	wnd = XCreateWindow(g_display, RootWindowOfScreen(g_screen), -1, -1, 1, 1, 0, g_depth,
 			    InputOutput, g_visual,
 			    CWBackPixel | CWBackingStore | CWColormap | CWBorderPixel, &attribs);
+	ewmh_set_wm_pid(wnd, getpid());
 
 	XStoreName(g_display, wnd, "SeamlessRDP");
 	ewmh_set_wm_name(wnd, "SeamlessRDP");
-- 
1.9.1


--- 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-----

Attachment: pgpOLYKy412Q5.pgp
Description: PGP signature


--- End Message ---

Reply via email to