Debian Bug report logs - #692587
Don't use -xshm for remote displays

version graph

Package: scratch; Maintainer for scratch is Miriam Ruiz <miriam@debian.org>; Source for scratch is src:scratch (PTS, buildd, popcon).

Reported by: Alkis Georgopoulos <alkisg@gmail.com>

Date: Wed, 7 Nov 2012 16:54:07 UTC

Severity: normal

Found in version scratch/1.4.0.6~dfsg1-2

Fixed in version 1.4.0.6~dfsg1-3

Done: Jeremy Bicha <jbicha@ubuntu.com>

Bug is archived. No further changes may be made.

Toggle useless messages

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to debian-bugs-dist@lists.debian.org, Miriam Ruiz <little_miry@yahoo.es>:
Bug#692587; Package scratch. (Wed, 07 Nov 2012 16:54:10 GMT) (full text, mbox, link).


Acknowledgement sent to Alkis Georgopoulos <alkisg@gmail.com>:
New Bug report received and forwarded. Copy sent to Miriam Ruiz <little_miry@yahoo.es>. (Wed, 07 Nov 2012 16:54:10 GMT) (full text, mbox, link).


Message #5 received at submit@bugs.debian.org (full text, mbox, reply):

From: Alkis Georgopoulos <alkisg@gmail.com>
To: submit@bugs.debian.org
Subject: Don't use -xshm for remote displays
Date: Wed, 07 Nov 2012 18:52:31 +0200
Package: scratch
Version: 1.4.0.6~dfsg1-2
Severity: normal

Hi, scratch doesn't work with LTSP thin clients because -xshm is forced.
Here's a patch that works around the problem:


=== modified file 'debian/bin/scratch'
--- debian/bin/scratch	2012-07-02 14:58:46 +0000
+++ debian/bin/scratch	2012-11-07 16:48:23 +0000
@@ -7,7 +7,8 @@
 VM_VERSION=`find /usr/lib/squeak/ -name "squeakvm" -type f|cut -f5 -d"/"`
 SQ_DIR=/usr/lib/squeak/$VM_VERSION
 VM="$SQ_DIR/squeakvm"
-VMOPTIONS="-encoding UTF-8 -vm-display-x11 -xshm -plugins
/usr/lib/scratch/plugins/:$SQ_DIR/"
+test -z "${DISPLAY%:*}" && XSHM="-xshm"
+VMOPTIONS="-encoding UTF-8 -vm-display-x11 $XSHM -plugins
/usr/lib/scratch/plugins/:$SQ_DIR/"
 IMAGE="/usr/share/scratch/Scratch.image"
 IMOPTIONS=""
 DOCUMENT=""



Reply sent to Jeremy Bicha <jbicha@ubuntu.com>:
You have taken responsibility. (Fri, 15 Mar 2013 19:56:27 GMT) (full text, mbox, link).


Notification sent to Alkis Georgopoulos <alkisg@gmail.com>:
Bug acknowledged by developer. (Fri, 15 Mar 2013 19:56:27 GMT) (full text, mbox, link).


Message #10 received at 692587-done@bugs.debian.org (full text, mbox, reply):

From: Jeremy Bicha <jbicha@ubuntu.com>
To: 692587-done@bugs.debian.org
Subject: Re: Don't use -xshm for remote displays
Date: Fri, 15 Mar 2013 11:07:58 -0400
Version: 1.4.0.6~dfsg1-3

-xshm causes other problems so it's been disabled:

scratch (1.4.0.6~dfsg1-3) unstable; urgency=low

  [ Miriam Ruiz ]
  * Added support for help in starting script. Thanks to Alec Clews.
  * Changed my email to miriam@debian.org

  [ Amos Blanton ]
  * Prefer pulse plugin if pulse is present, because pulse ALSA emulation
    fails when user records sounds.
  * Remove -xshm switch to squeakvm to prevent Ubuntu Bug 1025013.



Bug archived. Request was from Debbugs Internal Request <owner@bugs.debian.org> to internal_control@bugs.debian.org. (Sat, 13 Apr 2013 07:28:47 GMT) (full text, mbox, link).


Send a report that this bug log contains spam.


Debian bug tracking system administrator <owner@bugs.debian.org>. Last modified: Fri Jan 12 11:37:46 2018; Machine Name: buxtehude

Debian Bug tracking system

Debbugs is free software and licensed under the terms of the GNU Public License version 2. The current version can be obtained from https://bugs.debian.org/debbugs-source/.

Copyright © 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson, 2005-2017 Don Armstrong, and many other contributors.