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 http://www.ubuntu.com/support)
Current version of pixman: 0.33.6
Before reporting problems, check http://wiki.x.org
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)
(EE)
Fatal server error:
(EE) no screens found(EE)
(EE)
Please consult the The X.Org Foundation support
at http://wiki.x.org
for help.
(EE) Please also check the log file at "/tmp/Xorg.crouton.1.log" for additional information.
(EE)
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: https://chromium.googlesource.com/chromiumos/platform/frecon/+/059fe66fb49d32e236d358d754d988d4602d9f79%5E%21/#F1

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:
crouton.zip

Related Issues:

12
crouton Can't Initialize ubuntu with crouton
@sadams0 @coderofsalvation Download the new crouton binary from my last post unzip it ...
7
crouton Can't run prepare.sh 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...
3
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...
15
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...
65
wslu Cannot create directory "//.cache": Permission denied
Hello Here an improved version Background Information: Build: 17763 WSL: Ubuntu 18.04.03 Version: ws...
29
DietPi ping: socket: Operation not permitted
This seems to be working here ADMIN EDIT Solution Read more https://fedoraproject.org/wiki/Changes/E...
22
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 ...
15
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...
14
jitsi meet Android SDK Crash when upgrading Gradle to version 3.5.0
Setting android.enableDexingArtifactTransform.desugaring=false on gradle.properties solves the probl...
13
howdy Error while installing Ubuntu 19.04
PIP changed their entry point so /usr/bin/pip3 broke Linux distribution (if applicable): Ubuntu 19.0...
9
devilutionX Diablo Hellfire support
We had a grate second hackathon 64bit support is now done and the road ahead is more clear Hellfire ...
5
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...
4
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 ...
3
DietPi DietPi-Software | NextCloudPi convergence
Thanks both I just saw this thread comparing the two projects and see no reason you could not furthe...
3
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...
3
DietPi Image | Odroid HC4
Not partitioning just a mountpoint They created /media/boot as an empty folder and mount the bootfs ...
3
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...
3
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...
3
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 ...
4
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...
358
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...
331
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: https://github.com/giampaolo/psu...
191
steam for linux symbol lookup error: /usr/lib/i386-linux-gnu/libxcb-dri3.so.0: undefined symbol: xcb_send_request_with_fds
Hello @milankragujevic this issue is already being tracked at #4816 Your system information Steam cl...
176
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 ...
155
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? ...
147
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...
142
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...
139
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 ...
129
node Fatal error in ../deps/v8/src/api.cc, line 1051
i got it fixed Ran following commands Thanks node version 7.3.0 (even tried with 7.4.0 ...
116
dash to dock Dash to dock shows on lockscreen
Ok resolved the issue by removing default ubuntu-dock@ubuntu.com: The dash to dock isnt disabled whe...
110
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...
109
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...
108
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...
104
nodegit Can't install via NPM
Latest Xcode just straight up broke things all across the world Try running sudo xcode-select --inst...
100
steam for linux Steam fails to start on new account because of outdated libxcb
LD_PRELOAD='/usr/$LIB/libstdc++.so.6 /usr/$LIB/libgcc_s.so.1 /usr/$LIB/libxcb.so.1 /usr/$LIB/libgpg-...
100
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...
96
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...
96
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...
91
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...
86
alacritty Tmux austostart?
It should be like this: Which operating system does the issue occur on? MacOS Catalina I understood ...
84
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 ...
83
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...
83
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 ...
80
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...
79
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...
78
alacritty Support for Alt+key (option as meta)
With latest alacritty and tmux I finally got forward and backward movement with the following: ...
78
node Chrome DevTools not able to connect to Node inspect since 7.5.0
I suspect #9691 is responsible Version: 7.5.0 ...
76
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...
75
gitsome Command "python setup.py 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). ...
71
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...