From mboxrd@z Thu Jan 1 00:00:00 1970 From: Rutger Helling Subject: bug#33325: xpra doesn't work out-of-the-box (implicit dependencies) Date: Mon, 26 Nov 2018 10:39:14 +0100 Message-ID: <20181126103914.400d4bc0@mykolab.com> References: <8736sa2vcm.fsf@inria.fr> <20181109160321.3346add3@mykolab.com> <87a7mepuxl.fsf@inria.fr> <87y39huo9x.fsf@gnu.org> <20181126093711.77fbd92c@mykolab.com> <87bm6cb4cq.fsf@inria.fr> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; boundary="Sig_/FPePsTYkcf2YvsEe=7kS+1J"; protocol="application/pgp-signature" Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:45615) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gRDN8-0004JV-4j for bug-guix@gnu.org; Mon, 26 Nov 2018 04:40:07 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gRDN5-0007HC-0p for bug-guix@gnu.org; Mon, 26 Nov 2018 04:40:06 -0500 Received: from debbugs.gnu.org ([208.118.235.43]:43561) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1gRDN4-0007Gu-Oa for bug-guix@gnu.org; Mon, 26 Nov 2018 04:40:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1gRDN4-0001fg-Ix for bug-guix@gnu.org; Mon, 26 Nov 2018 04:40:02 -0500 Sender: "Debbugs-submit" Resent-Message-ID: In-Reply-To: <87bm6cb4cq.fsf@inria.fr> List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-guix-bounces+gcggb-bug-guix=m.gmane.org@gnu.org Sender: "bug-Guix" To: Ludovic =?UTF-8?Q?Court=C3=A8s?= Cc: 33325@debbugs.gnu.org --Sig_/FPePsTYkcf2YvsEe=7kS+1J Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable 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=3D/tmp/.X11-unix --share=3D/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=3D: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=C3=A8s) wrote: > Hi Rutger, >=20 > Rutger Helling skribis: >=20 > > 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? =20 >=20 > I=E2=80=99m using GuixSD. :-) >=20 > If we use =E2=80=98-C=E2=80=99 instead of =E2=80=98--pure=E2=80=99, we sh= ould both get the same > result: >=20 > --8<---------------cut here---------------start------------->8--- > $ guix environment --ad-hoc xpra -C=20 > [env]# xpra start :100 > Warning: Xorg binary not found, assuming the wrapper is needed! >=20 > Warning: running as root > [env]# Entering daemon mode; any further errors will be reported to: > /tmp/:100.log >=20 > [env]# xpra list > Warning: Xorg binary not found, assuming the wrapper is needed! >=20 > Warning: running as root > Found the following xpra sessions: > /home/ludo/.xpra: > UNKNOWN session at :100 > Re-probing unknown sessions in: /home/ludo/.xpra >=20 > UNKNOWN session at :100 (cleaned up) > [env]#=20 > [env]# xpra list > Warning: Xorg binary not found, assuming the wrapper is needed! >=20 > Warning: running as root > No xpra sessions found > --8<---------------cut here---------------end--------------->8--- >=20 > Same for you? >=20 > Thanks for your feedback, > Ludo=E2=80=99. --Sig_/FPePsTYkcf2YvsEe=7kS+1J Content-Type: application/pgp-signature Content-Description: OpenPGP digital signature -----BEGIN PGP SIGNATURE----- iQEzBAEBCAAdFiEEAVThuRzJ2e93ZI3n86cn20T8yjYFAlv7v0IACgkQ86cn20T8 yjYQBggAg1Yp1cFpPEc9Y/IPSMBtN6ujy1oWfzp/8cLyaqLws8X+K+jl/miUvcoK m+OcaCQtBRpSKD3k9cMd5bgeK8SKiURgmWFAN8rG10kKAVASanf3gMWToodafBzQ 23jD+MJu6Q2KyuDSa3Eoat/hFFGzJWJhRj/CPPnJBJ1p6fPzbRFqnY53Q+E3VWL4 VN3bx8hf2bCLHocuF3DWmyObj7QqJkz/tXfl1YM+oq2Vl8A2NNQf2U8cAa77KZBX hAwWmYd0CmPAhrBeiQ2TB6mUOan4dvfxp03VXvHxUzfrlsgUMnPKEvdCG3KfBfGU 1BUO1RfXStH/AO0hT+/h6hwL4BxslQ== =EZ1n -----END PGP SIGNATURE----- --Sig_/FPePsTYkcf2YvsEe=7kS+1J--