diff options
Diffstat (limited to 'zarb-ml/mageia-dev/2011-August/007310.html')
-rw-r--r-- | zarb-ml/mageia-dev/2011-August/007310.html | 101 |
1 files changed, 101 insertions, 0 deletions
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 @@ +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN"> +<HTML> + <HEAD> + <TITLE> [Mageia-dev] Problems setting up chroot + </TITLE> + <LINK REL="Index" HREF="index.html" > + <LINK REL="made" HREF="mailto:mageia-dev%40mageia.org?Subject=Re%3A%20%5BMageia-dev%5D%20Problems%20setting%20up%20chroot&In-Reply-To=%3C4E422D4E.5050009%40laposte.net%3E"> + <META NAME="robots" CONTENT="index,nofollow"> + <META http-equiv="Content-Type" content="text/html; charset=us-ascii"> + <LINK REL="Previous" HREF="007293.html"> + <LINK REL="Next" HREF="007311.html"> + </HEAD> + <BODY BGCOLOR="#ffffff"> + <H1>[Mageia-dev] Problems setting up chroot</H1> + <B>andre999</B> + <A HREF="mailto:mageia-dev%40mageia.org?Subject=Re%3A%20%5BMageia-dev%5D%20Problems%20setting%20up%20chroot&In-Reply-To=%3C4E422D4E.5050009%40laposte.net%3E" + TITLE="[Mageia-dev] Problems setting up chroot">andr55 at laposte.net + </A><BR> + <I>Wed Aug 10 09:03:42 CEST 2011</I> + <P><UL> + <LI>Previous message: <A HREF="007293.html">[Mageia-dev] Problems setting up chroot +</A></li> + <LI>Next message: <A HREF="007311.html">[Mageia-dev] Problems setting up chroot +</A></li> + <LI> <B>Messages sorted by:</B> + <a href="date.html#7310">[ date ]</a> + <a href="thread.html#7310">[ thread ]</a> + <a href="subject.html#7310">[ subject ]</a> + <a href="author.html#7310">[ author ]</a> + </LI> + </UL> + <HR> +<!--beginarticle--> +<PRE>Thierry Vignaud a écrit : +><i> On 8 August 2011 06:42, andre999<<A HREF="https://www.mageia.org/mailman/listinfo/mageia-dev">andr55 at laposte.net</A>> wrote: +</I>>><i> Everything seemed to install ok, but when I try to run a gui application +</I>>><i> (such as rpmdrake) under chroot, I get the message : +</I>>><i> +</I>>><i> "No protocol specified +</I>>><i> Cannot be run in console mode." +</I>><i> +</I>><i> Which is expected +</I>><i> +</I>>><i> If anyone has an idea what I might be missing, it would be appreciated :) +</I>><i> +</I>><i> One way to run X11 stuff from a chroot is to run: +</I>><i> CHROOT=/where/is/my/chroot +</I>><i> xhost +SI:localuser:root +</I>><i> mount --bind /tmp/.X11-unix/ $CHROOT/tmp/.X11-unix/ +</I>><i> chroot $CHROOT rpmdrake/gedit/firefox/... +</I>><i> +</I>><i> If instead you want to allow all local users, you could alternatively +</I>><i> replace the xhost call by: +</I>><i> xhost + local: +</I> +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é +</PRE> + + + + + + + + + + + + + + +<!--endarticle--> + <HR> + <P><UL> + <!--threads--> + <LI>Previous message: <A HREF="007293.html">[Mageia-dev] Problems setting up chroot +</A></li> + <LI>Next message: <A HREF="007311.html">[Mageia-dev] Problems setting up chroot +</A></li> + <LI> <B>Messages sorted by:</B> + <a href="date.html#7310">[ date ]</a> + <a href="thread.html#7310">[ thread ]</a> + <a href="subject.html#7310">[ subject ]</a> + <a href="author.html#7310">[ author ]</a> + </LI> + </UL> + +<hr> +<a href="https://www.mageia.org/mailman/listinfo/mageia-dev">More information about the Mageia-dev +mailing list</a><br> +</body></html> |