On Thu, Feb 07, 2008 at 02:28:46PM +0200, Shachar Shemesh wrote: > Hi all, > > > I have several chroots on my machine that contain various system used > for development (i.e. - my main machine is Lenny, but I have Sid and > Etch as chroots). > > > Here's the thing, however. I want to be able to use X11 programs from > within the chroots. > > > As far as I can see it, there are two ways to approach this: > > 1. Move (duplicate?) the X11 socket so that it's visible inside the chroot
1.1 bind-mount /tmp/.X11-unix and hope for the best regarding /tmp/.X0.lock . > > 2. Tell X.org to listen on a TCP socket as well. > > > I have no idea how to accomplish 1 without a lot of manual work, which > is out of the question. I want the switch to be as easy as just running > a program. > > > I tried 2. Under Debian, the X server is run with "--nolisten tcp". I > tried changing every single place under /etc where the "nolisten" > keyword appears to no avail - it still runs it (through KDM) instructing > it not to listen for TCP connections. In gdm it seems to come from gdm.conf . I have no idea about KDM. With startx it comes from /etc/X11/xinit/xserverrc , IIRC. -- Tzafrir Cohen | [EMAIL PROTECTED] | VIM is http://tzafrir.org.il | | a Mutt's [EMAIL PROTECTED] | | best ICQ# 16849754 | | friend ================================================================= To unsubscribe, send mail to [EMAIL PROTECTED] with the word "unsubscribe" in the message body, e.g., run the command echo unsubscribe | mail [EMAIL PROTECTED]
