Public bug reported:

Ubuntu realease: 24.04 "noble"
Package version affected: xpra* 3.1.5+dfsg1-0.2ubuntu1 

Expected behavior:
Running an X11 aplication remotely works as usual by:

# ssh -p $PORT $USER@$HOST xpra start :$SOCKET-NO --start-child="$1" 
--exit-with-children
# xpra attach ssh://$USER@$HOST:$PORT/$SOCKET-NO

and the exported window is way more reactive than X11 forwarding

What actually happens:
After successfully attaching (the client)  to a running xpra socket (the 
server), the client keeps crashing and restarting in an endless loop. Window 
updates (redrawing) and reactions to user input are only happening in the 
milliseconds between each restart and crash. Each crash produces the error 
message: 

AttributeError: module 'PIL.Image' has no attribute 'ANTIALIAS'

This makes xpra essentially unusable.

Apparent reason:
xpra version (3.1.5+dfsg1-0.2ubuntu1) in noble got incompatible with the 
included version of python3-pil (10.2.0-1ubuntu1)

According to
(https://stackoverflow.com/questions/76616042/attributeerror-module-pil-
image-has-no-attribute-antialias), new version of PIL (10.0.0) has no
ANTIALIAS, as it's deprecated.

Apparent solution:

Upgrading xpra to Version 5.0.10

I successfully tested xpra upstream version 5.0.10-r0-1 from 
https://xpra.org/dists/noble .
It runs flawlessly out of the box.

CAVEAT:
Note that newer versions (6.x.x) raise lots of errors that point to a 
communication problem with gnome appindicator.

ProblemType: Bug
DistroRelease: Ubuntu 24.04
Package: xpra 3.1.5+dfsg1-0.2ubuntu1
ProcVersionSignature: Ubuntu 6.8.0-45.45-generic 6.8.12
Uname: Linux 6.8.0-45-generic x86_64
ApportVersion: 2.28.1-0ubuntu3.1
Architecture: amd64
CasperMD5CheckResult: pass
CloudArchitecture: x86_64
CloudID: none
CloudName: none
CloudPlatform: none
CloudSubPlatform: config
Date: Sat Sep 28 11:10:49 2024
InstallationDate: Installed on 2021-03-25 (1283 days ago)
InstallationMedia: Ubuntu-Server 20.04.2 LTS "Focal Fossa" - Release amd64 
(20210201.2)
SourcePackage: xpra
UpgradeStatus: Upgraded to noble on 2024-09-25 (2 days ago)
modified.conffile..etc.init.d.apport: [modified]
modified.conffile..etc.xpra.conf.d.60_server.conf: [modified]
mtime.conffile..etc.init.d.apport: 2024-07-22T16:59:07
mtime.conffile..etc.xpra.conf.d.60_server.conf: 2022-08-23T12:19:14.604427

** Affects: xpra (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: amd64 noble python3-pil x11 xpra

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2083096

Title:
  xpra in 24.04 not compatible with python pillow version

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/xpra/+bug/2083096/+subscriptions


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to