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

Re: staying in stable but compiling for sid



Le samedi 14 avril 2007 10:43, Florent Rougon a écrit :
> [Running X apps in a chroot]
(...)
> This is a bit of a hack, but it does work.

Well, if it's only meant for using the application in your current X server,
you simply have to bind mount the /tmp directory in the chroot:
mount -t none -o bind /tmp /path/to/chroot/tmp

I think it's enough to get the chroot to use the X server with UNIX sockets..

Of course if you don't have the same users in the chroot, you may also
xhost +
to allow other users.. 
Et voila !


Romain
-- 
The lips of the righteous feed many:
but fools die for want of wisdom.
- Proverbs 10:21
The lips of the righteous teaches many
But fools die for want of wisdom
- Peter Tosh, Fools Die



Reply to: