From 1be510f9529cb082f802408b472a77d074b394c0 Mon Sep 17 00:00:00 2001 From: Nicolas Vigier Date: Sun, 14 Apr 2013 13:46:12 +0000 Subject: Add zarb MLs html archives --- zarb-ml/mageia-dev/2011-August/007310.html | 101 +++++++++++++++++++++++++++++ 1 file changed, 101 insertions(+) create mode 100644 zarb-ml/mageia-dev/2011-August/007310.html (limited to 'zarb-ml/mageia-dev/2011-August/007310.html') diff --git a/zarb-ml/mageia-dev/2011-August/007310.html b/zarb-ml/mageia-dev/2011-August/007310.html new file mode 100644 index 000000000..ebfc64cc6 --- /dev/null +++ b/zarb-ml/mageia-dev/2011-August/007310.html @@ -0,0 +1,101 @@ + + + + [Mageia-dev] Problems setting up chroot + + + + + + + + + +

[Mageia-dev] Problems setting up chroot

+ andre999 + andr55 at laposte.net +
+ Wed Aug 10 09:03:42 CEST 2011 +

+
+ +
Thierry Vignaud a écrit :
+> On 8 August 2011 06:42, andre999<andr55 at laposte.net>  wrote:
+>> Everything seemed to install ok, but when I try to run a gui application
+>> (such as rpmdrake) under chroot, I get the message :
+>>
+>> "No protocol specified
+>> Cannot be run in console mode."
+>
+> Which is expected
+>
+>> If anyone has an idea what I might be missing, it would be appreciated :)
+>
+> One way to run X11 stuff from a chroot is to run:
+> CHROOT=/where/is/my/chroot
+> xhost +SI:localuser:root
+> mount --bind /tmp/.X11-unix/ $CHROOT/tmp/.X11-unix/
+> chroot $CHROOT rpmdrake/gedit/firefox/...
+>
+> If instead you want to allow all local users, you could alternatively
+> replace the xhost call by:
+> xhost + local:
+
+Thanks for your detailed response.
+It lets me run everything.
+(Just chroot $CHROOT
+  gives me a terminal in chroot, which is what I wanted.)
+
+How do I restrict a chroot session to non-root privileges, so I can safely do 
+things like build packages locally ?
+I tried logging into my account, but it doesn't seem to work.
+
+-- 
+André
+
+ + + + + + + + + + + + + + + +
+

+ +
+More information about the Mageia-dev +mailing list
+ -- cgit v1.2.1