Crouton: TakeDisplayOwnership error

Created on 14 Dec 2017  路  11Comments  路  Source: dnschneid/crouton

Hi there, I returned to ChromeOS from Gallium, and when trying to get my chroot to start up (using xorg) I get a TakeDisplayOwnership error. I am on the Dev channel (v64). I tried Unity and Gnome with bionic and artful. Is there any way to get it to work ?

All 11 comments

Same issue for me. Started right after I updated to the most recent beta channel release of ChromOS - Version 64.0.3282.24 (Official Build) beta (64-bit). I updated my chroot to the latest and greatest and tried again, to no avail.

crosh shell output:

Entering /media/removable/SD Card/chroots/xenial...
awk: run time error: redirection not allowed in sandbox mode
        FILENAME="" FNR=0 NR=0
Unknown username "geoclue" in message bus configuration file
-su: 25: [[: not found

_XSERVTransmkdir: ERROR: euid != 0,directory /tmp/.X11-unix will not be created.

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-97-generic x86_64 Ubuntu
Current Operating System: Linux localhost 3.14.0 #1 SMP PREEMPT Wed Dec 13 11:52:36 PST 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=067732c0-1715-5341-9d19-fada9bec7601/PARTNROFF=1 hashtree=PARTUUID=067732c0-1715-5341-9d19-fada9bec7601/PARTNROFF=1 hashstart=3584000 alg=sha1 root_hexdigest=d8d72764ebe61e91fd81c351e6a0fe4215cbc9be salt=c211d78d02bd6fdb1c349168c458466eff91640b50b364314cf775190760f6a9" noinitrd vt.global_cursor_default=0 kern_guid=067732c0-1715-5341-9d19-fada9bec7601 add_efi_memmap boot=local noresume noswap i915.modeset=1 tpm_tis.force=1 tpm_tis.interrupts=0 nmi_watchdog=panic,lapic  
Build Date: 13 October 2017  01:57:05PM
xorg-server 2:1.18.4-0ubuntu0.7 (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: Sat Dec 16 13:48:51 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)
Error executing command as another user: Not authorized

This incident has been reported.
crouton: version 1-20171122220410~master:99877eaf
release: xenial
architecture: amd64
xmethod: xorg
targets: unity
host: version 10176.13.1 (Official Build) beta-channel lulu 
kernel: Linux localhost 3.14.0 #1 SMP PREEMPT Wed Dec 13 11:52:36 PST 2017 x86_64 x86_64 x86_64 GNU/Linux
freon: yes
xrandr: Output eDP1 is not disconnected but has no modes
xrandr: Output HDMI1 is not disconnected but has no modes
Kicking xrandr again
(II) AIGLX: Suspending AIGLX clients for VT switch
Error org.freedesktop.DBus.Error.UnknownMethod: Method "TakeDisplayOwnership" with signature "" on interface "org.chromium.LibCrosServiceInterface" doesn't exist

I have probably the same error starting gnome on artful on an asus c302.

ChromeOS Version 62.0.3202.97 (Official Build) (64-bit)

Gnome starts briefly, I even see the background and then it immediately crashes.

chronos@localhost ~/Downloads $ sudo startgnome
Entering /mnt/stateful_partition/crouton/chroots/artful...
Unknown username "whoopsie" in message bus configuration file

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

X.Org X Server 1.19.5
Release Date: 2017-10-12
X Protocol Version 11, Revision 0
Build Operating System: Linux 4.4.0-97-generic x86_64 Ubuntu
Current Operating System: Linux localhost 3.18.0-16037-gf59ef0b48a68 #1 SMP PREEMPT Mon Nov 13 16:33:49 PST 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=e3485cda-c0bc-f24c-89b2-5342e2a2c39b/PARTNROFF=1 hashtree=PARTUUID=e3485cda-c0bc-f24c-89b2-5342e2a2c39b/PARTNROFF=1 hashstart=3584000 alg=sha1 root_hexdigest=b88364180551536f6fb39be949c71e323b989902 salt=254478eebd08e24b94c7205d2f5b54b561d95691fa489aa1fad577dbaf8086fc" noinitrd vt.global_cursor_default=0 kern_guid=e3485cda-c0bc-f24c-89b2-5342e2a2c39b add_efi_memmap boot=local noresume noswap i915.modeset=1 tpm_tis.force=1 tpm_tis.interrupts=0 nmi_watchdog=panic,lapic intel_idle.max_cstate=7  
Build Date: 15 October 2017  05:51:19PM
xorg-server 2:1.19.5-0ubuntu2 (For technical support please see http://www.ubuntu.com/support) 
Current version of pixman: 0.34.0
        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: Thu Dec 21 01:33:41 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

method return time=1513838022.548944 sender=:1.11 -> destination=:1.47609 serial=20812 reply_serial=2
   boolean true
crouton: version 1-20171122220410~master:99877eaf
release: artful
architecture: amd64
xmethod: xorg
targets: xfce,gnome
host: version 9901.77.0 (Official Build) stable-channel cave 
kernel: Linux localhost 3.18.0-16037-gf59ef0b48a68 #1 SMP PREEMPT Mon Nov 13 16:33:49 PST 2017 x86_64 x86_64 x86_64 GNU/Linux
freon: yes
Running exit commands...
/usr/bin/xinit: connection to X server lost

waiting for X server to shut down Hangup
Error org.freedesktop.DBus.Error.UnknownMethod: Method "TakeDisplayOwnership" with signature "" on interface "org.chromium.LibCrosServiceInterface" doesn't exist

method return time=1513838029.449516 sender=:1.11 -> destination=:1.47611 serial=20814 reply_serial=2
   boolean true
(II) Server terminated successfully (0). Closing log file.

Unmounting /mnt/stateful_partition/crouton/chroots/artful...
Sending SIGTERM to processes under /mnt/stateful_partition/crouton/chroots/artful...
chronos@localhost ~/Downloads $

Me too.

$ sudo startxfce4
Enter encryption passphrase for xenial: 
Entering /mnt/stateful_partition/crouton/chroots/xenial...
/usr/bin/startxfce4: Starting X server

_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 3.18.0-16037-gf59ef0b48a68 #1 SMP PREEMPT Mon Nov 13 16:34:36 PST 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=1c4b0e24-5098-8e49-ab1e-853c9c72d8b0/PARTNROFF=1 hashtree=PARTUUID=1c4b0e24-5098-8e49-ab1e-853c9c72d8b0/PARTNROFF=1 hashstart=3584000 alg=sha1 root_hexdigest=a6a501cdb3158ff186d009b8a63e8fba56a47344 salt=6d5e898897dd649af64eea278004bfd4bda5022c225754c5bb69e71d177b3747" noinitrd vt.global_cursor_default=0 kern_guid=1c4b0e24-5098-8e49-ab1e-853c9c72d8b0 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 Dec 26 10:58:41 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.
/usr/bin/xinit: giving up
/usr/bin/xinit: unable to connect to X server: Connection refused
/usr/bin/xinit: server error
Unmounting /mnt/stateful_partition/crouton/chroots/xenial...
$

Does anyone have any advice on this issue or https://github.com/dnschneid/crouton/issues/3254 which I also am experiencing? I'm completely unable to switch into my Ubuntu environment now. Thanks.

For anyone else with this issue, in the end I deleted crouton completely per https://github.com/dnschneid/crouton/issues/10 and reinstalled from scratch. I'm back up and running and didn't lose anything I can't recreate or restore.

In my case doing a simple update of crouton fixed the issue

You don't need to wipe your chroot.
Just run
sudo sh ~/Downloads/crouton -u
this wil update all you chroots so everything should be up and running again.
Wiping the chroot worked because the preporation fase was run again, you practacaly did -u with the side effect of wiping everything. @smartyw

Thanks @quinten1333 , I'll keep that in mind for the future.

After a month, still not working, created a new chroot today (sid, gnome). Any updates ?

Just hit this on a PixelBook 2018 with Unity. Crouton update didn't help.

@LufyCZ why did you close this?

Was this page helpful?
0 / 5 - 0 ratings