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

Re: chroots, xnest and gnome



Julien Cristau wrote:
On Tue, Jan  6, 2009 at 13:39:26 +0100, schoappied wrote:

Hi,

I know how to start a 'chroot environment'
(chroot chroot)

How do I start gnome in xnest while in a chroot environment? So I can customize the gnome desktop?

Bind-mount /tmp inside your chroot, so the X11 socket directory is
shared.  And then "startx ... -- /usr/bin/Xnest :1" should work.
(btw, you might want to use Xephyr instead of Xnest)

I tried to start Xephyr:

debian-live$  Xephyr :1 -screen 1024x768 -ac
Could not init font path element /usr/share/fonts/X11/cyrillic, removing from list! Could not init font path element /usr/share/fonts/X11/100dpi/:unscaled, removing from list! Could not init font path element /usr/share/fonts/X11/75dpi/:unscaled, removing from list! Could not init font path element /usr/share/fonts/X11/100dpi, removing from list! Could not init font path element /usr/share/fonts/X11/75dpi, removing from list!


but then:

:/usr/bin# env DISPLAY=:1 gnome-session &

(gnome-session:3729): Gtk-WARNING **: Locale not supported by C library.
       Using the fallback 'C' locale.

(gnome-session:3729): Gtk-WARNING **: cannot open display: :1
[1] 3729
[1]+  Exit 1                  env DISPLAY=:1 gnome-session


What could this be?

Thanks in advance,

\d


Reply to: