bug-guix
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#33325: xpra doesn't work out-of-the-box (implicit dependencies)


From: Sarah Morgensen
Subject: bug#33325: xpra doesn't work out-of-the-box (implicit dependencies)
Date: Fri, 24 Sep 2021 19:26:26 -0700

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





reply via email to

[Prev in Thread] Current Thread [Next in Thread]