When loading up crosh in Chrome OS, crosh is just completely blank. No text or anything. I just get the resolution pop up but thats about it. I kinda need crosh to be able to run Ubuntu. How do I fix this so I can run it again? Does it have to do with my version? I have Chrome OS version Dev 68.0.3431.0 and Ubuntu version Trusty 14.04 (I know. Its old).
42 Answers
on the tab that you have crosh open in, open developer tools and run the following in the console (This will have to be run each time you open an instance of crosh, until the accessibility method gets fixed on the dev branch):
Crosh.init = function() { const qs = lib.f.parseQuery(document.location.search); const profileName = qs['profile']; var terminal = new hterm.Terminal(profileName); terminal.decorate(document.querySelector('#terminal')); const runCrosh = function() { terminal.keyboard.bindings.addBinding('Ctrl-Shift-P', function() { nassh.openOptionsPage(); return hterm.Keyboard.KeyActions.CANCEL; }); terminal.setCursorPosition(0, 0); terminal.setCursorVisible(true); terminal.runCommandClass(Crosh, qs['args'] || []); terminal.command.keyboard_ = terminal.keyboard; }; terminal.onTerminalReady = function() { runCrosh(); }; // Useful for console debugging. window.term_ = terminal; console.log(nassh.msg( 'CONSOLE_CROSH_OPTIONS_NOTICE', ['Ctrl-Shift-P', lib.f.getURL('/html/nassh_preferences_editor.html')])); return true;
};
Crosh.init(); 0 Previous answer did not work for me. Acer C710 q1vzc. I ran crouton via Dev Mode terminal (CTRL-ALT-F2) to install Ubuntu.
To start it though, you have to be in the ChromeOS GUI.
WORKAROUND: I used an SSH Chrome extension to ssh chronos@localhost and ran the command from there. In my case, the xfce version.
sudo startxfce4Default version is Unity:
sudo startunity