Solvedcrouton Can't Initialize ubuntu with crouton

crosh> shell
chronos@localhost / $ sudo startunity
Entering /mnt/stateful_partition/crouton/chroots/xenial...
Unknown username "geoclue" in message bus configuration file

_XSERVTransmkdir: Owner of /tmp/.X11-unix should be set to root

X.Org X Server 1.18.4
Release Date: 2016-07-19
X Protocol Version 11, Revision 0
Build Operating System: Linux 4.4.0-83-generic x86_64 Ubuntu
Current Operating System: Linux localhost 4.4.79-11537-ga1d73b70a6f1 #1 SMP PREEMPT Mon Aug 28 03:09:13 PDT 2017 x86_64
Kernel command line: cros_secure console= loglevel=7 init=/sbin/init cros_secure oops=panic panic=-1 root=/dev/dm-0 rootwait ro dm_verity.error_behavior=3 dm_verity.max_bios=-1 dm_verity.dev_wait=1 dm="1 vroot none ro 1,0 3584000 verity payload=PARTUUID=e4e36f0d-ca2b-5940-a7fe-a61287b5a2d8/PARTNROFF=1 hashtree=PARTUUID=e4e36f0d-ca2b-5940-a7fe-a61287b5a2d8/PARTNROFF=1 hashstart=3584000 alg=sha1 root_hexdigest=98b12ddf2d5e154833ef89a3d7eb0a2b6b5678a2 salt=6bbf8d3c714ce08b545d8f5595ad3d9709caa853452cfaa2d2cfeec9c27d9f8f" noinitrd vt.global_cursor_default=0 kern_guid=e4e36f0d-ca2b-5940-a7fe-a61287b5a2d8 add_efi_memmap boot=local noresume noswap i915.modeset=1 tpm_tis.force=1 tpm_tis.interrupts=0 nmi_watchdog=panic,lapic
Build Date: 17 July 2017 05:05:12PM
xorg-server 2:1.18.4-0ubuntu0.3 (For technical support please see
Current version of pixman: 0.33.6
Before reporting problems, check
to make sure that you have the latest version.
Markers: (--) probed, (**) from config file, (==) default setting,
(++) from command line, (!!) notice, (II) informational,
(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
(++) Log file: "/tmp/Xorg.crouton.1.log", Time: Tue Aug 29 18:09:16 2017
(==) Using system config directory "/usr/share/X11/xorg.conf.d"
Error org.freedesktop.DBus.Error.UnknownMethod: Method "ReleaseDisplayOwnership" with signature "" on interface "org.chromium.LibCrosServiceInterface" doesn't exist

xf86EnableIOPorts: failed to set IOPL for I/O (Operation not permitted)
Fatal server error:
(EE) no screens found(EE)
Please consult the The X.Org Foundation support
for help.
(EE) Please also check the log file at "/tmp/Xorg.crouton.1.log" for additional information.
Error org.freedesktop.DBus.Error.UnknownMethod: Method "TakeDisplayOwnership" with signature "" on interface "org.chromium.LibCrosServiceInterface" doesn't exist

(EE) Server terminated with error (1). Closing log file.

46 Answers

✔️Accepted Answer

@sadams0 @coderofsalvation Download the new crouton binary from my last post, unzip it, then run sudo sh ~/Downloads/crouton -u -n <chroot name> and it will update your existing chroot with the fixes.

Other Answers:

So, I did a little bit of research and it looks like the dbus method calls that crouton uses have changed recently:

I changed the method calls in src/frecon.c, recompiled crouton, then ran sh crouton -u -n xenial. This fixed the issue. I'd open a pull request, but these changes would break crouton on Chrome OS versions that don't use the updated method calls. Still, it's good to know what the issue was and how to resolve it.

@dnschneid OK, pull request created, freon.c will now use both dbus interfaces (if one fails, then it will switch to the other one)

@dwaindibbly here's a binary for those that need these changes right away:

Related Issues:

crouton Can't Initialize ubuntu with crouton
@sadams0 @coderofsalvation Download the new crouton binary from my last post unzip it ...
crouton Can't run during setup, and can't access file when run separately
Thanks everyone! Was quite worried when I saw this error today as my chromebook is my main developme...
crouton Black Screen w/ Xorg but not Xiwi
FIXED! If your problem is the IOPL error Please describe your issue: Black screen after fresh instal...
outline client Using custom DNS server instead of OpenDNS
Solve it by It means: Any local user contacting out world to port tcp 53 send to $custom_dns_ip at p...
wslu Cannot create directory "//.cache": Permission denied
Hello Here an improved version Background Information: Build: 17763 WSL: Ubuntu 18.04.03 Version: ws...
DietPi ping: socket: Operation not permitted
This seems to be working here ADMIN EDIT Solution Read more
howdy Error when adding a face (since Ubuntu 20.04)
For newbies: I checked which device was the IR camera using ffmpeg Mine was /dev/video2 ...
uwsgi nginx flask docker Raspberry pi: standard_init_linux.go:190: exec user process caused "exec format error"
Thanks for the help! That solves it! Just for posterity these are the commands I ran from start to f...
jitsi meet Android SDK Crash when upgrading Gradle to version 3.5.0
Setting android.enableDexingArtifactTransform.desugaring=false on solves the probl...
howdy Error while installing Ubuntu 19.04
PIP changed their entry point so /usr/bin/pip3 broke Linux distribution (if applicable): Ubuntu 19.0...
devilutionX Diablo Hellfire support
We had a grate second hackathon 64bit support is now done and the road ahead is more clear Hellfire ...
DietPi DietPi-Software | Kodi on RPi Buster fails to start
some information: Kodi is back on official rpi repo ADMIN EDIT Bug does not apply anymore since Kodi...
howdy Error when trying to use IR sensors on Manjaro (Arch-based) with HP Spectre
@boltgolt I think this error is cause by some IR Cameras return Grayscale instead of RGB image ...
DietPi DietPi-Software | NextCloudPi convergence
Thanks both I just saw this thread comparing the two projects and see no reason you could not furthe...
DietPi Upgrade v6.25.3 -> v.6.30.0 fails: /DietPi/dietpi/func/dietpi-ramdisk: No such file or directory
Found it please do not do any of the mentioned steps the error can and should be ignored As can be s...
DietPi Image | Odroid HC4
Not partitioning just a mountpoint They created /media/boot as an empty folder and mount the bootfs ...
build Re-enable XR819 radio for orange pi zero
I am performing some WiFi testing on Orange Pi Zero with default installations of various distributi...
howdy IR camera flashing loop after auth
So i found the bug After authentication IR camera continues flashing on/off on loop until disabled L...
openmediavault Delay docker startup until all shared folders is mounted
@ejalal You are the first one that I remember reporting this problem So I guess it hasn't come up I ...
fluxion Airmon-ng doesn't support RTL8812AU
Ok I got monitor mode working Please see edit below Do you want to request a feature or report a bug...
atom Sometimes opening a file, Atom does not open in a new tab
This feature is called Pending Pane Items (formerly known as Preview Tabs) – this allows you to quic...
psutil psutil fails to install on python3.6 and Ubuntu16.04
I was just about to comment the same after I read the install file:
steam for linux symbol lookup error: /usr/lib/i386-linux-gnu/ undefined symbol: xcb_send_request_with_fds
Hello @milankragujevic this issue is already being tracked at #4816 Your system information Steam cl...
atom MacOS Mojave: The text in the editor is dimmed / hard to read.
Hey folks could you try running this command and then restart Atom: Hat tip to @alexanderyakusik in ...
node Error: Cannot find module 'internal/fs' when npm install on mac
If you run rm -rf /usr/local/lib/node_modules/npm and then re-install Node.js does it work? ...
node Missing stack traces from async functions after the first await
Thanks! And to put a point on the real problem Version: v7.7.3 Platform: Windows 7x64 The purpose of...
atom Add config option for MRU tabs
So a temporary fix for this issue is to insert this into the keymap correct? Prerequisites Can you r...
ddev In WSL2 ddev start fails at docker-credential-desktop.exe, "error listing credentials"
I had to set credsStore: in my ~/.docker/config.json .. it was previously set to credentials.exe ...
node Fatal error in ../deps/v8/src/, line 1051
i got it fixed Ran following commands Thanks node version 7.3.0 (even tried with 7.4.0 ...
dash to dock Dash to dock shows on lockscreen
Ok resolved the issue by removing default The dash to dock isnt disabled whe...
cncjs npm v5.0.3 installation integrity checksum failure
@pluggee @nomykk Have you tried npm install --update-binary --no-shrinkwrap? I had luck with that co...
node "ReferenceError: v8debug is not defined" when doing remote debug
bnoordhuis is right just add --expose_debug_as=v8debug to the Node parameters text field until JetBr...
atom "Multi Cursor on Click" seems to always be disabled in Atom 1.48.0
@HugoMcPhee posted and deleted a comment linking to #20804 which does indeed seem to offer a fix for...
nodegit Can't install via NPM
Latest Xcode just straight up broke things all across the world Try running sudo xcode-select --inst...
steam for linux Steam fails to start on new account because of outdated libxcb
LD_PRELOAD='/usr/$LIB/ /usr/$LIB/ /usr/$LIB/ /usr/$LIB/libgpg-...
termux packages npm install: Unhandled rejection Error: EACCES: permission denied
Give ownership to npm like this: uname -a: Linux localhost 3.18.14-11422779 #1 SMP PREEMPT Thu Jun 1...
electron builder Can not build the windows installer on macOS Catalina version 10.15
electron-builder 22.2.0 now includes a targeted workaround extracting the NSIS uninstaller without t...
node HTTP/HTTPS client requests throwing EPROTO
It sounds like you are trying to use port 80 for https? Reproduced via: My code is littered with bot...
electron builder Built application displays nothing but a white screen
If any of you guys use React Router one of the thing that might break your Electron build is Browser...
alacritty Tmux austostart?
It should be like this: Which operating system does the issue occur on? MacOS Catalina I understood ...
node Debugging v8.5 - always pauses in async_hooks.js on promise rejection
This also reproes in Node 8.6 Is anyone looking into this? Seems to be affecting quite a few people ...
atom Uncaught Error: Setting active pane that is not present in pane container
Alright so as an update [Enter steps to reproduce:] @ungb's repro steps from below: Open Atom with a...
atom Font Rendering issue with freetype 2.8.1
Workaround: Prerequisites [X ] Put an X between the brackets on this line Description The fonts are ...
node Can’t import fs Promises API with ECMAScript Modules
I may be missing something but: isn't good enough? Version: v10.2.1 Platform: Windows 10 64-bit Subs...
toggldesktop Linux: Ubuntu 16.04 installs GStreamer 1.0 series, not 0.10 series, by default
And a quick workaround tested on my machine with Ubuntu 16.10: In Ubuntu 16.04 (xenial) the core des...
alacritty Support for Alt+key (option as meta)
With latest alacritty and tmux I finally got forward and backward movement with the following: ...
node Chrome DevTools not able to connect to Node inspect since 7.5.0
I suspect #9691 is responsible Version: 7.5.0 ...
termux app 403 forbidden while update or pkg Install
If someone facing the issue when you run pkg install ... Issue : when ever I try to update / upgrade...
gitsome Command "python egg_info" failed with error code 1 in /tmp/pip-build-7SrToZ/gitsome/
I had the same problem on OSX and Solve my issue (I have both python versions installed). ...
polybar Dropping Unmatched Character
OK after quite a while fighting with this I've managed to get rid of the warnings On my (Arch) box s...