Results 1 to 4 of 4

Thread: How to start X in chroot

  1. #1
    Join Date
    Mar 2012
    Beans
    2

    How to start X in chroot

    Hello,

    I have installed ubuntu 11.10 and it´s starting in text mode in my machine.

    I created the folder work/chroot and run a debootstrap to install the ubuntu inside chroot folder, I also installed gnome on it(chroot).
    I run the commands below in order to me be able to work on the ubuntu in chroot environment.
    sudo mount --bind /dev/ edit/dev sudo chroot chroot mount -t proc none /proc mount -t sysfs none /sys mount -t devpts none /dev/pts
    export HOME=/root export LC_ALL=C
    When I´m inside chroot and try to start X(startx) the display stay dark and gnome does not start...
    I´d like to start gnome from chroot without export display... is there any way to do that?
    I want to start the full gnome in order to personalize it.

    Thanks in advanced.

  2. #2
    Join Date
    May 2008
    Location
    United Kingdom
    Beans
    4,265
    Distro
    Ubuntu 12.04 Precise Pangolin

    Re: How to start X in chroot

    I really don't know how to answer your question, but I have read that X should not be started that way. I could be wrong, though.

    I would suggest that you start a new thread to solve your problem (Ubuntu starts in text mode) rather than trying to start X in chroot.
    Problems with WINE?
    Full Circle Magazine :: Confused "allot"? :: Cheap Linux stickers
    In my day, we had outdoors in which to run, play, and socialise. Now we have computers to do those.

  3. #3
    Join Date
    Mar 2012
    Beans
    2

    Re: How to start X in chroot

    Actually, I'd like to start ubuntu in text mode because I want to start X from chroot environment. I want to customize it in order to generate an livecd.

  4. #4
    Join Date
    Nov 2010
    Location
    India
    Beans
    4,827
    Distro
    Ubuntu Development Release

    Re: How to start X in chroot

    Raja

    రాజ శేఖర్ రెడ్డి

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •