dnschneid / crouton

Chromium OS Universal Chroot Environment
https://goo.gl/fd3zc?si=1
BSD 3-Clause "New" or "Revised" License
8.57k stars 1.24k forks source link

Is it possible to run GUI programs with cli-extra? #2351

Closed henrywright closed 8 years ago

henrywright commented 8 years ago

Is it possible to open programs such as gedit without a desktop installed? I'm using cli-extra. When I run sudo gedit I get the message "Cannot open display:". Also, the gksudo command doesn't seem to be found.

divx118 commented 8 years ago

@henrywright No, you will need at least x11 target be it using xiwi or xorg, so you can have a display. I think for you it will be best and easiest to use xiwi. You can add it to your current chroot when you update it with -t xiwi. Then you are able to launch gedit in a chromeos window with sudo startxiwi gedit from a crosh shell.

henrywright commented 8 years ago

Thanks for this info, @divx118