Find the answer to your Linux question:
Results 1 to 4 of 4
Is it possible to run an X application in a chroot, or could you only run a console application in it?...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Linux Newbie
    Join Date
    Oct 2004
    Posts
    139

    run an X application in a chroot?


    Is it possible to run an X application in a chroot, or could you only run a console application in it?

  2. #2
    Linux Guru budman7's Avatar
    Join Date
    Oct 2004
    Location
    Knee deep in Grand Rapids, Michigan
    Posts
    3,242
    Never tried.
    But try "startx" after the chroot.
    If you can't do that....
    How to know if you are a geek.
    when you respond to "get a life!" with "what's the URL?"
    - Birger

    New users read The FAQ

  3. #3
    Linux Engineer
    Join Date
    Mar 2005
    Posts
    1,431
    Quote Originally Posted by budman7
    But try "startx" after the chroot.
    If you can't do that....
    In tried it once on the gentoo livecd,the screen went black and the system just froze, nothing worked... I had to use the reboot-button at the cabinette to get out!

  4. #4
    Linux Newbie
    Join Date
    Oct 2004
    Posts
    139
    Quote Originally Posted by jaboua
    Quote Originally Posted by budman7
    But try "startx" after the chroot.
    If you can't do that....
    In tried it once on the gentoo livecd,the screen went black and the system just froze, nothing worked... I had to use the reboot-button at the cabinette to get out!
    I wonder if it's possible to set up a "remote" X Server for the chroot? Maybe with the "DISPLAY=[*]" variable? By the way, a framebuffer X Server might work. You'll need to boot into a framebuffer console first, of course.

Posting Permissions

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