I installed Ubuntu and Unity Desktop on Asus Chromebook using Crouton. The Ubuntu part seemed to work. But when I started Unity Desktop (sudo startunity). It threw errors and failed to start. However, a week ago, I installed the same Ubuntu and Unity Desktop on a different Chromebook (Acer) and it worked fine. This is how I install and start unity desktop:
- download crouton from link on the webpage https://github.com/dnschneid/crouton
- copy crouton to /sur/local/bin and set the chmod bits.
- bash> sudo sh /usr/local/bin/crouton -t extension,keyboard,audio,unity
- bash> sudo startunity
I wonder how someone help me to find out what the problem is. I would very appreciate your help. I have the log message attached below the dash line.
Thanks,
Acyk
Entering /mnt/stateful_partition/crouton/chroots/xenial...
WARNING: Unable to register core dump handler.
Unknown username "geoclue" in message bus configuration file
X.Org X Server 1.18.4
Release Date: 2016-07-19
X Protocol Version 11, Revision 0
Build Operating System: Linux 4.15.0-124-generic x86_64 Ubuntu
Current Operating System: Linux localhost 3.18.0-20580-g316002d076437 #1 SMP PREEMPT Thu Dec 10 19:22:52 PST 2020 x86_64
Kernel command line: cros_secure console= loglevel=7 init=/sbin/init cros_secure drm.trace=0x106 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 4077568 verity payload=PARTUUID=a248715f-5e54-9a42-b007-8d54b9488ca3/PARTNROFF=1 hashtree=PARTUUID=a248715f-5e54-9a42-b007-8d54b9488ca3/PARTNROFF=1 hashstart=4077568 alg=sha256 root_hexdigest=2c35207090fc5379b2d51a04180713a8ac0c4fbc49bfecd07b6cef632011fc9b salt=88b01890baf330613bdb09007283e534bed891a18fe0f74bf41f24e775ee0f21" noinitrd vt.global_cursor_default=0 kern_guid=a248715f-5e54-9a42-b007-8d54b9488ca3 add_efi_memmap boot=local noresume noswap i915.modeset=1 nmi_watchdog=panic,lapic intel_idle.max_cstate=7
Build Date: 30 November 2020 08:02:24PM
xorg-server 2:1.18.4-0ubuntu0.11 (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 22 00:13:58 2020
(==) Using system config directory "/usr/share/X11/xorg.conf.d"
Error org.freedesktop.DBus.Error.ServiceUnknown: The name org.chromium.LibCrosService was not provided by any .service files
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-20200724165050~master:08dac970
release: xenial
architecture: amd64
xmethod: xorg
targets: extension,keyboard,audio,unity
host: version 13505.73.0 (Official Build) stable-channel cave
kernel: Linux localhost 3.18.0-20580-g316002d076437 #1 SMP PREEMPT Thu Dec 10 19:22:52 PST 2020 x86_64 x86_64 x86_64 GNU/Linux
freon: yes
xrandr: Output eDP1 is not disconnected but has no modes
xrandr: Output DP1 is not disconnected but has no modes
xrandr: Output DP2 is not disconnected but has no modes
xrandr: Output HDMI1 is not disconnected but has no modes
xrandr: Output HDMI2 is not disconnected but has no modes
Kicking xrandr again
xrandr: Output eDP1 is not disconnected but has no modes
xrandr: Output DP1 is not disconnected but has no modes
xrandr: Output DP2 is not disconnected but has no modes
xrandr: Output HDMI1 is not disconnected but has no modes
xrandr: Output HDMI2 is not disconnected but has no modes
Kicking xrandr again
Timeout waiting for extension to connect.
Cannot open /sys/class/tty/tty0/active: No such file or directory
croutonwebsocket error: Error: not connected.(II) AIGLX: Suspending AIGLX clients for VT switch
Error org.freedesktop.DBus.Error.ServiceUnknown: The name org.chromium.LibCrosService was not provided by any .service files
croutonwebsocket error: EError: not connected.
^C
Session terminated, terminating shell.../usr/bin/xinit: connection to X server lost
waiting for X server to shut down Hangup
Hangup
Hangup
Running exit commands...
(II) Server terminated successfully (0). Closing log file.
/usr/bin/xinit: unexpected signal 2
...terminated.
Unmounting /mnt/stateful_partition/crouton/chroots/xenial...
question from:
https://stackoverflow.com/questions/65623593/error-in-starting-unity-desktop-on-chromebook 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…