unofficial mirror of bug-guix@gnu.org 
 help / color / mirror / code / Atom feed
From: Sarah Morgensen <iskarian@mgsn.dev>
To: ludovic.courtes@inria.fr (Ludovic Courtès)
Cc: 33325@debbugs.gnu.org
Subject: bug#33325: xpra doesn't work out-of-the-box (implicit dependencies)
Date: Fri, 24 Sep 2021 19:26:26 -0700	[thread overview]
Message-ID: <86o88hwfu5.fsf@mgsn.dev> (raw)
In-Reply-To: <8736sa2vcm.fsf@inria.fr> ("Ludovic Courtès"'s message of "Fri,  09 Nov 2018 15:12:25 +0100 (2 years, 45 weeks, 5 days ago)")

Hi,

I came across this old bug.

ludovic.courtes@inria.fr (Ludovic Courtès) writes:

> Hello Rutger and all,
>
> Our Xpra package seems to not be usable directly without installing
> additional items:
>
> $ guix environment --ad-hoc xpra --pure -- xpra start :100
> Warning: Xorg binary not found, assuming the wrapper is needed!
> Entering daemon mode; any further errors will be reported to:
>   /run/user/1000/xpra/:100.log
> $ cat /run/user/1000/xpra/:100.log
> 2018-11-09 14:37:42,986 Error: cannot enable SSH socket upgrades:
> 2018-11-09 14:37:42,986  No module named paramiko
> 2018-11-09 14:37:42,987 cannot access python uinput module:
> 2018-11-09 14:37:42,987  No module named uinput
> 2018-11-09 14:37:42,995 Error adding xauth entry for :100
> 2018-11-09 14:37:42,995  using command "xauth -f /home/ludo/.Xauthority add :100 MIT-MAGIC-COOKIE-1 7c2c66d9295545cfb1c27b1109b4b54e":
> [mi] Extension "Composite" is not recognized
> 2018-11-09 14:37:42,995  [Errno 2] No such file or directory
> [mi] Only the following extensions can be run-time enabled:
> [mi]    Generic Event Extension
> [mi]    MIT-SHM
> [mi]    XTEST
> [mi]    XINERAMA
> [mi]    XFIXES
> [mi]    RENDER
> [mi]    RANDR
> [mi]    COMPOSITE
> [mi]    DAMAGE
> [mi]    MIT-SCREEN-SAVER
> [mi]    DOUBLE-BUFFER
> [mi]    RECORD
> [mi]    DPMS
> [mi]    X-Resource
> [mi]    XVideo
> [mi]    XVideo-MotionCompensation
> [mi]    GLX
> No protocol specified
> No protocol specified
> No protocol specified
> No protocol specified
> No protocol specified
> No protocol specified
> No protocol specified
> No protocol specified
> No protocol specified
> No protocol specified
>
>
> On a foreign distro I see we’re also lacking a reference to
> ‘dbus-launch’:
>
> [courtes@devel13 ~]$ guix environment --ad-hoc xpra --pure -- xpra start :100
> Warning: Xorg binary not found, assuming the wrapper is needed!
> Entering daemon mode; any further errors will be reported to:
>   /run/user/10218/xpra/:100.log
> [courtes@devel13 ~]$ cat /run/user/10218/xpra/:100.log
> 2018-11-09 15:10:06,064 Error: cannot enable SSH socket upgrades:
> 2018-11-09 15:10:06,064  No module named paramiko
> 2018-11-09 15:10:06,066 cannot access python uinput module:
> 2018-11-09 15:10:06,066  No module named uinput
> 2018-11-09 15:10:06,079 Error adding xauth entry for :100
> 2018-11-09 15:10:06,080  using command "xauth -f /home/courtes/.Xauthority add :100 MIT-MAGIC-COOKIE-1 9519cb23f6a348eda7f068d9317a664c":
> 2018-11-09 15:10:06,080  [Errno 2] No such file or directory
> [mi] Extension "Composite" is not recognized
> [mi] Only the following extensions can be run-time enabled:
> [mi]    Generic Event Extension
> [mi]    MIT-SHM
> [mi]    XTEST
> [mi]    XINERAMA
> [mi]    XFIXES
> [mi]    RENDER
> [mi]    RANDR
> [mi]    COMPOSITE
> [mi]    DAMAGE
> [mi]    MIT-SCREEN-SAVER
> [mi]    DOUBLE-BUFFER
> [mi]    RECORD
> [mi]    DPMS
> [mi]    X-Resource
> [mi]    XVideo
> [mi]    XVideo-MotionCompensation
> [mi]    GLX
> 2018-11-09 15:10:06,472 Warning: some of the sockets are in an unknown state:
> 2018-11-09 15:10:06,473  /home/courtes/.xpra/devel13-100
> 2018-11-09 15:10:06,473  please wait as we allow the socket probing to timeout
> 2018-11-09 15:10:12,502 created unix domain socket: /home/courtes/.xpra/devel13-100
> /gnu/store/rbrandv7anzjxqkr40d7fkanzssslk4b-bash-minimal-4.4.19/bin/sh: dbus-launch: command not found
> dbus-launch failed to start using command 'dbus-launch --close-stderr':
>
>  exit code is 127
>
> Thoughts?
>
> Thanks in advance,
> Ludo’.

This command seems to work for me now (with xpra 4.2.1):

--8<---------------cut here---------------start------------->8---
$ guix environment --pure --ad-hoc xpra -- xpra start :100
Warning: using '/run/user/1001' as XDG_RUNTIME_DIR
Entering daemon mode; any further errors will be reported to:
  /run/user/1001/xpra/:100.log
$ guix environment --pure --ad-hoc xpra -- xpra list
Warning: using '/run/user/1001' as XDG_RUNTIME_DIR
Found the following xpra sessions:
/home/sarah/.xpra:
	LIVE session at :100
/run/user/1001/xpra:
	LIVE session at :100
--8<---------------cut here---------------end--------------->8---

And xpra now retains a reference to dbus, which has dbus_launch.

Can you still reproduce this?

--
Sarah




  parent reply	other threads:[~2021-09-25  2:27 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-11-09 14:12 bug#33325: xpra doesn't work out-of-the-box (implicit dependencies) Ludovic Courtès
2018-11-09 15:03 ` Rutger Helling
2018-11-12  8:21   ` Ludovic Courtès
2018-11-25 16:15     ` Ludovic Courtès
2018-11-26  8:37       ` Rutger Helling
2018-11-26  9:00         ` Ludovic Courtès
2018-11-26  9:39           ` Rutger Helling
2021-09-25  2:26 ` Sarah Morgensen [this message]
2021-09-30  7:30   ` Ludovic Courtès

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://guix.gnu.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=86o88hwfu5.fsf@mgsn.dev \
    --to=iskarian@mgsn.dev \
    --cc=33325@debbugs.gnu.org \
    --cc=ludovic.courtes@inria.fr \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).