unofficial mirror of bug-guix@gnu.org 
 help / color / mirror / code / Atom feed
From: Rutger Helling <rhelling@mykolab.com>
To: "Ludovic Courtès" <ludovic.courtes@inria.fr>
Cc: 33325@debbugs.gnu.org
Subject: bug#33325: xpra doesn't work out-of-the-box (implicit dependencies)
Date: Mon, 26 Nov 2018 10:39:14 +0100	[thread overview]
Message-ID: <20181126103914.400d4bc0@mykolab.com> (raw)
In-Reply-To: <87bm6cb4cq.fsf@inria.fr>

[-- Attachment #1: Type: text/plain, Size: 2161 bytes --]

So it should actually work in the container if you run the command xpra
upgrade, like so:

container$ xpra start :100 # wait a few seconds for it to start
container$ xpra upgrade :100
container$ xpra list

Just starting it in a container isn't terribly useful though since that
way you can't attach to it. If you run
guix environment --ad-hoc xpra -C --share=/tmp/.X11-unix
--share=/home/$USER/.xpra

and then start the server with the above commands you should be
able to attach to it outside of the container, like:
$ xpra attach :100
$ DISPLAY=:100 gui-program # on a different terminal

Does this work for you too?

I'm not sure why the 'xpra upgrade' command seems to be required in a
container. I have no idea how to fix that.

On Mon, 26 Nov 2018 10:00:37 +0100
ludovic.courtes@inria.fr (Ludovic Courtès) wrote:

> Hi Rutger,
> 
> Rutger Helling <rhelling@mykolab.com> skribis:
> 
> > apologies for the delayed reaction, I've been quite busy. Oddly
> > enough the commands seem to work fine on GuixSD. Can you maybe tell
> > me what distro you're using?  
> 
> I’m using GuixSD.  :-)
> 
> If we use ‘-C’ instead of ‘--pure’, we should both get the same
> result:
> 
> --8<---------------cut here---------------start------------->8---
> $ guix environment --ad-hoc xpra -C 
> [env]# xpra start :100
> Warning: Xorg binary not found, assuming the wrapper is needed!
> 
> Warning: running as root
> [env]# Entering daemon mode; any further errors will be reported to:
>   /tmp/:100.log
> 
> [env]# xpra list
> Warning: Xorg binary not found, assuming the wrapper is needed!
> 
> Warning: running as root
> Found the following xpra sessions:
> /home/ludo/.xpra:
>         UNKNOWN session at :100
> Re-probing unknown sessions in: /home/ludo/.xpra
> 
>         UNKNOWN session at :100 (cleaned up)
> [env]# 
> [env]# xpra list
> Warning: Xorg binary not found, assuming the wrapper is needed!
> 
> Warning: running as root
> No xpra sessions found
> --8<---------------cut here---------------end--------------->8---
> 
> Same for you?
> 
> Thanks for your feedback,
> Ludo’.


[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 488 bytes --]

  reply	other threads:[~2018-11-26  9:40 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 [this message]
2021-09-25  2:26 ` Sarah Morgensen
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=20181126103914.400d4bc0@mykolab.com \
    --to=rhelling@mykolab.com \
    --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).