LiveCD Customization: Using GNOME in chroot environment trick

(=?utf-8?q?=60=60-=5F-=C2=B4=C2=B4?=) -- Fernando ubuntu at
Mon Mar 10 22:13:02 UTC 2008

On Saturday 08 March 2008 05:27:22 FameR wrote:
> I've try to use trick below in this tutorial
> (
> But when i can't login in login window with root or ubuntu (with no
> pass) users. I've try "useradd -d /home/din din" before starting gdm,
> it starts login but breaks with error can't create dir ~/din/Documents
> ~/din/Music and etc.. What can I do to see gnome?
> ###
> sudo /etc/init.d/networking restart
> sudo cp /etc/resolv.conf edit/etc/
> sudo cp /etc/X11/xorg.conf edit/etc/X11/
> sudo chroot edit
> mount -o none /proc
> mount -o none /sys
> export HOME=/etc/skel/
> cd /dev/
> MAKEDEV generic
> /etc/init.d/dbus start
> /etc/init.d/gdm start
> ###

Instead of:
> /etc/init.d/gdm start

just use:

it will start X as root, without gdm, but good enough for your tests.
that's what I do.

BUGabundo  :o)
Linux user #443786    GPG key 1024D/A1784EBB
My new micro-blog @
ps. My emails tend to sound authority and aggressive. I'm sorry in advance. I'll try to be more assertive as time goes by...

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part.
URL: <>

More information about the ubuntu-users mailing list