Find the answer to your Linux question:
Results 1 to 4 of 4
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1

    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,901
    Never tried.
    But try "startx" after the chroot.
    If you can't do that....
    If you want to learn more about linux take a linux journey
    https://linuxjourney.com/
    Use CODE tags when posting output of commands. Thank you.
    https://www.linuxcounter.net/cert/608410.png

  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. $spacer_open
    $spacer_close
  5. #4
    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
  •