-
Notifications
You must be signed in to change notification settings - Fork 1.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Leveraging of Chrome's X server #1
Comments
(Edit 2015-02-14: this is way obsolete. xiwi (X in a window) is the best bet moving forwards.) You can actually do this, but you probably won't like the results.
So basically, integration is very poor, so you don't gain much. It has pretty much the same interface problems as the X11 approach, so you don't resolve much. And with its specialized X11 server and non-X11-compliant Aura interface, you win more issues. Not very appealing. But hey, if you can find a creative use for this, let me know... |
Hey, out of curiosity I tried the first few steps, but I'm getting some weird issues. Graphical programs do seem to start, but they flicker and disappear. e.g. If I start leafpad, I'm able to type some text in and save a a file even though I can't see leafpad anymore. The same thing occurs when I try starting fluxbox. Is there a way to fix this? Thanks, |
The ARM Chromebook's X server has some hacks to improve performance. crouton has a hack of its own to get around this, using ratpoison. Install crouton with |
Thanks for the response! It works as expected. I'll be sticking to the usual crouton targets, but it's nice to know this works as well. |
So I created an account just to join in this discussion :-) I really like the idea of pulling a specific app from chroot into the aura workspace and running it. For folks who love skype for instance, they could run chrome os, with a skype binary pulled across to run in chrome's x11 server. I realize the integration points (like making a launcher, proper alt-tab and copy/paste) might be difficult or impossible to pull off, but i'm curious to hear your thoughts on how to try. My own usecase for this is running my favorite editor (yes, I'd rather not be stuck with vim) in chrome's x11, thereby eschewing the need to run a full blown version of ubuntu desktop (or even have it installed in my chroot). Running openbox to get around the WM issue works well enough, dropping aura and all windows into an aura root, while giving you the basic window management features for the application itself. It's uber hacky, but if you could get corevents (mouse scrolling please!) it would be enough. So, how could you re-enable core events? |
Note that since my long post above, a few things have gotten easier with the introduction of the xephyr target: 1: If you install the xephyr target, the proper XAUTHORITY will be automatically copied to /etc/X11/host-Xauthority in the chroot. Integration:
If you can get something reasonable and reliable set up, this may be worthy of a target... |
Thanks for the updates. I'll try and fix the lock screen and mouse issues with your suggestions /fingers crossed. The other "big" integration point would be clipboard -- I tried hacking around with the xserver clipboard, but I've no idea how that is working in aura. On the other caveats:
|
Just a quick update to say the proof of concept worked out well. Croutonwheel (with some hacks) and croutonpowrd both work great. I switched the wm to fluxbox with some slight config changes, so I could remap alt+tab to something like the search key so alt+tab isn't broken in aura, and switching between your X11 app and the rest of aura is easy. The lock screen issue remains, I'll have to play around more with it. I was really hoping for clipboard support and I see this: #144. I'm watching with great interest :-) |
Cool! You might want to write up your solution on a new page in the wiki in case others want to do something similar. Additionally, once #126 is finished, your solution will probably be even simpler. |
The information in this ticket and #126 is awesome, thanks. With this information it becomes trivial to run synergy on the Chromebook, so sharing mouse/keyboard with a desktop works. See http://synergy-foss.org/spit/issues/details/3433/ |
This is really cool. I just started testing it, but it seems to be working for me. ( Openbox isn't working for me in the chroot I normally use with X11. I'll make a new one and see if it works for me there. I don't know if ChromeOS has improved since this issue was closed, but if we could get this working, it would be the holy-grail of running Linux apps on ChromeOS. =) |
The trick was |
So this would be the way to go rather than trying to port something like VirtualGL or TurboVNC to Chrome? |
I use Chrobuntu and just start the chroot with "sudo startunity" (I have unity installed not xfce) This automatically started unity in full screen, I can use graphical applications fine, but I have been looking for an X server extension for chrome, but instead of pulling apps into aurora, pull apps into ubuntu instead? Just an idea. |
I just wanted to stay that I successfully ran openbox + Aura on the native X server on arm (tegra K1) I'm VERY interested in having a reliable way of running X apps from debian running with Xforwarding on the native X server.
|
Can you give some steps how tor un native X sever on tegra k1? @msf Thanks in advance. |
I'm trying to follow this guide, but I'm getting some errors: Gtk-WARNING **: cannot open display: Invalid MIT-MAGIC-COOKIE-1 keyOpenbox-Message: I'm working on a Toshiba Chromebook 2, and have set up cinnamon, lxde, and xfce chroots. I'm assuming it's something stupid simple if the DISPLAY environment variable is having issues. |
This is mostly going the way of the dodo with the advent of xiwi (X in a window) and the migration to Freon (Chromium's new display server) fundamentally breaking host-x11. |
Hi
Not an issue, more a question/feature request:
Would it be possible to use Chorme's X server to run chroot-ed X/gtk apps?
Some quirky ssh tunneling?
Cheers
The text was updated successfully, but these errors were encountered: