Bug#908156: xpra cannot create directories in /run

2019-12-25 Thread Dmitry Smirnov
On Thursday, 26 December 2019 12:31:41 PM AEDT Paul Szabo wrote:
> I just upgraded from stretch to buster, using xpra version 2.4.3+dfsg1-1

Thanks. I can not reproduce on 3.x from buster-backports so I reckon the 
problem is already fixed in a newer release.

-- 
All the best,
 Dmitry Smirnov.

---

Morality is doing what is right, no matter what you are told. Religion
is doing what you are told, no matter what is right.
-- H. L. Mencken, 1925



signature.asc
Description: This is a digitally signed message part.


Bug#908156: xpra cannot create directories in /run

2019-12-25 Thread Paul Szabo
Dear Dmitry,

>> I seem to get good results by modifying script /usr/bin/xpra as below.
>
> Is this still necessary with the latest release from backports?
> Which reproducer command exhibits this problem?

I just upgraded from stretch to buster, using xpra version 2.4.3+dfsg1-1
(in buster, not backports). The issue did not seem to be present at
stretch, was "new" at buster. I start xpra "normally": on my home PC
(running some Ubuntu version), use

  xpra start ssh/psz@work --no-speaker --start-child=xterm

connecting to my work server running Debian buster; the error is shown
by the work server.

Cheers, Paul
-- 
Paul Szabo   p...@maths.usyd.edu.au   http://www.maths.usyd.edu.au/u/psz/
School of Mathematics and Statistics   University of SydneyAustralia

I support NTEU members taking a stand for workplace rights in the face of
poorly-run change management. Visit www.nteu.org.au/sydney to learn more.


Bug#908156: xpra cannot create directories in /run

2019-12-25 Thread Dmitry Smirnov
On Thursday, 26 December 2019 11:21:47 AM AEDT Paul Szabo wrote:
> I seem to get good results by modifying script /usr/bin/xpra as below.

Is this still necessary with the latest release from backports?

Which reproducer command exhibits this problem?

Thanks.

-- 
Regards,
 Dmitry Smirnov.

---

A man does what he must - in spite of personal consequences, in spite of
obstacles and dangers and pressures - and that is the basis of all human
morality.
-- Winston Churchill


signature.asc
Description: This is a digitally signed message part.


Bug#908156: xpra cannot create directories in /run

2019-12-25 Thread Paul Szabo
I seem to get good results by modifying script /usr/bin/xpra as below.

Cheers, Paul


--- /usr/bin/xpra.bak   2019-01-20 17:23:10.0 +1100
+++ /usr/bin/xpra   2019-12-26 11:17:42.455901905 +1100
@@ -1,5 +1,14 @@
 #! /usr/bin/python2

+# PSz 26 Dec 2019
+# Avoid error like:
+#   Warning: failed to create script directory '/run/user/1001/xpra':
+#[Errno 2] No such file or directory: '/run/user/1001/xpra'
+#($XDG_RUNTIME_DIR has not been created?)
+# We do not have /run/user/UID directories.
+import os
+os.environ["XDG_RUNTIME_DIR"] = os.environ["HOME"] + "/.xpra"
+
 import sys
 try:
 import xpra

-- 
Paul Szabo   p...@maths.usyd.edu.au   http://www.maths.usyd.edu.au/u/psz/
School of Mathematics and Statistics   University of SydneyAustralia

I support NTEU members taking a stand for workplace rights in the face of
poorly-run change management. Visit www.nteu.org.au/sydney to learn more.

Bug#908156: xpra cannot create directories in /run

2018-09-21 Thread Alex
Hi.
It seems to work, but still logs an error about the directory to stdout:

Warning: cannot use the system proxy for 'start' subcommand,
 failed to connect to '/run/xpra/system':
 [Errno 2] No such file or directory
 more information may be available in your system log
2018-09-22 00:08:12,217 Warning: failed to write script file in
'/run/user/1000/xpra':
2018-09-22 00:08:12,217  [Errno 2] No such file or directory:
'/run/user/1000/xpra'
2018-09-22 00:08:12,217  ($XDG_RUNTIME_DIR has not been created?)
Entering daemon mode; any further errors will be reported to:
  /home/allo/.xpra/:10.log

Alex



Bug#908156: xpra cannot create directories in /run

2018-09-07 Thread Dmitry Smirnov
On Friday, 7 September 2018 5:07:22 AM AEST Alex wrote:
> xpra in debian buster does not work anymore. The error messages when
> trying to start it from another host with xpra start are:
> 
> $ xpra start ssh:remotehost:10 --encoding=vp9 --min-quality=50
> --start=konsole

Does it work with "--systemd-run=no"?

-- 
Regards,
 Dmitry Smirnov.

---

No person, no idea, and no religion deserves to be illegal to insult,
not even the Church of Emacs.
-- Richard Stallman


signature.asc
Description: This is a digitally signed message part.


Bug#908156: xpra cannot create directories in /run

2018-09-06 Thread Alex
Package: xpra
Version: 2.3.3+dfsg1-1
Severity: important

Dear Maintainer,
xpra in debian buster does not work anymore. The error messages when
trying to start it from another host with xpra start are:

$ xpra start ssh:remotehost:10 --encoding=vp9 --min-quality=50 --start=konsole

2018-09-01 00:16:30,119 Xpra gtk2 client version 0.17.6-r14322
2018-09-01 00:16:30,120  running on Linux debian 9.5
Warning: failed to import GStreamer:
 GStreamer 1.0: Namespace Gst not available
 GStreamer 0.10: could not import gobject (could not find _PyGObject_API object)
2018-09-01 00:16:30,419 Error: failed to query sound subsystem:
2018-09-01 00:16:30,419  query did not return any data
2018-09-01 00:16:30,772 PyOpenGL warning: missing accelerate module
2018-09-01 00:16:38,282  detected keyboard: rules=evdev, model=pc101, layout=de
2018-09-01 00:16:38,283  desktop size is 1920x1080 with 1 screen:
2018-09-01 00:16:38,284   :0.0 (508x285 mm - DPI: 96x96) workarea: 1920x1020
2018-09-01 00:16:38,284 monitor 1 (309x174 mm - DPI: 157x157)

(Then SSH connects)

Warning: failed to write script file in '/run/user/1000/xpra':
 [Errno 2] No such file or directory: '/run/user/1000/xpra'
 ($XDG_RUNTIME_DIR has not been created?)
Warning: cannot use the system proxy for 'start' subcommand,
 failed to connect to '/run/xpra/system':
 [Errno 2] No such file or directory
 more information may be available in your system log
2018-09-01 00:17:07,417 Warning: failed to write script file in 
'/run/user/1000/xpra':
2018-09-01 00:17:07,417  [Errno 2] No such file or directory: 
'/run/user/1000/xpra'
2018-09-01 00:17:07,418  ($XDG_RUNTIME_DIR has not been created?)
Entering daemon mode; any further errors will be reported to:
  /home/allo/.xpra/:10.log
xpra initialization error:
 failed to identify the new server display!
bash: /xpra/run-xpra: Datei oder Verzeichnis nicht gefunden
Warning: cannot use the system proxy for 'start' subcommand,
 failed to connect to '/run/xpra/system':
 [Errno 2] No such file or directory
 more information may be available in your system log
2018-09-01 00:17:29,904 Warning: failed to write script file in 
'/run/user/1000/xpra':
2018-09-01 00:17:29,904  [Errno 2] No such file or directory: 
'/run/user/1000/xpra'
2018-09-01 00:17:29,905  ($XDG_RUNTIME_DIR has not been created?)
Entering daemon mode; any further errors will be reported to:
  /home/allo/.xpra/:10.log
xpra initialization error:
 failed to identify the new server display!
2018-09-01 00:17:30,787 The SSH process has terminated with exit code 0
2018-09-01 00:17:30,788  the command line used was:
2018-09-01 00:17:30,788  ssh -x -T neptune xpra initenv;~/.xpra/run-xpra 
_proxy_start :10 "--start=konsole" --encoding=vp9 || 
$XDG_RUNTIME_DIR/xpra/run-xpra _proxy_start :10 "--start=konsole" 
--encoding=vp9 || xpra _proxy_start :10 "--start=konsole" --encoding=vp9

After that, xpra terminates.

with kind regards,
Alex

-- System Information:
Debian Release: buster/sid
  APT prefers testing
  APT policy: (500, 'testing'), (1, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 4.16.0-2-amd64 (SMP w/8 CPU cores)
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8), 
LANGUAGE=de_DE.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: sysvinit (via /sbin/init)
LSM: AppArmor: enabled

Versions of packages xpra depends on:
ii  adduser   3.117
ii  init-system-helpers   1.54
ii  libavcodec58  7:4.0.2-1+b1
ii  libavformat58 7:4.0.2-1+b1
ii  libavutil56   7:4.0.2-1+b1
ii  libc6 2.27-5
ii  libglib2.0-0  2.56.1-2
ii  libgtk2.0-0   2.24.32-3
ii  libpam0g  1.1.8-3.8
ii  libswscale5   7:4.0.2-1+b1
ii  libturbojpeg0 1:1.5.2-2+b1
ii  libvpx5   1.7.0-3
ii  libwebp6  0.6.1-2
ii  libx11-6  2:1.6.6-1
ii  libx264-152   3:0.152.2851+gitba24899-dmo2
ii  libx265-160   2.8-4
ii  libxcomposite11:0.4.4-2
ii  libxdamage1   1:1.1.4-3
ii  libxext6  2:1.3.3-1+b2
ii  libxfixes31:5.0.3-1
ii  libxi62:1.7.9-1
ii  libxkbfile1   1:1.0.9-2
ii  libxrandr22:1.5.1-1
ii  libxtst6  2:1.2.3-1
ii  python2.7.15-3
ii  python-gi-cairo   3.28.3-1
ii  python-gtk2   2.24.0-5.1+b1
ii  python-rencode1.0.5-1+b2
ii  x11-xserver-utils 7.7+8
ii  xserver-xorg-input-void   1:1.4.1-1+b2
ii  xserver-xorg-video-dummy  1:0.3.8-1+b1

Versions of packages xpra recommends:
ii  keyboard-configuration 1.185
ii  ksshaskpass [ssh-askpass]  4:5.13.4-1
ii  kwalletcli [ssh-askpass]   3.01-1
ii  openssh-client 1:7.7p1-4
ii  python-dbus1.2.8-2+b1
ii  python-gtkglext1   1.1.0-9.1
ii  python-imaging 4.3.0-2
ii  python-lz4