LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   ChromeOS (https://www.linuxquestions.org/questions/chromeos-130/)
-   -   Cannot bring up Ubuntu unity desktop from chromeOS (https://www.linuxquestions.org/questions/chromeos-130/cannot-bring-up-ubuntu-unity-desktop-from-chromeos-4175687806/)

andrew.acyk@gmail.com 01-01-2021 12:16 AM

Cannot bring up Ubuntu unity desktop from chromeOS
 
Hi,

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. 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...

sgosnell 01-02-2021 10:45 AM

It's not recognizing the display. Do yo have an external monitor attached?

andrew.acyk@gmail.com 01-05-2021 08:39 PM

sgosnell, thanks for the suggestion. I might have external disk drive attached to the USB port. Let me rerun startunity with nothing attached to the USB. Thanks again.

andrew.acyk@gmail.com 01-06-2021 01:16 AM

Sgosnell, I re-ran "sudo startunity" with pretty much the same problem. There was no device connecting to the USB port. There was no external monitor connecting to the chromebook. Here are the steps that created the ubuntu 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

and the error log is below the dash line. Would you please look at the error again and let me know of any suggestion to try. I would very appreciate your help.

Best regards,

Andrew

-----------------------------------

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 Jan 5 20:11:25 2021
(==) 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.Error org.freedesktop.DBus.Error.ServiceUnknown: The name org.chromium.LibCrosService was not provided by any .service files
(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.

sgosnell 01-08-2021 10:19 PM

I haven't used crouton in several years, so I'm pretty far behind the power curve on it. Have you read and followed the instructions from here? This is the only up-to-date and official source of crouton and its documentation. Using any other site will likely not work. Google changes ChromeOS so frequently that it's difficult to keep up, and most other sites are out of date.

andrew.acyk@gmail.com 01-11-2021 01:02 AM

I checked the unity desktop again. I was able to log in. But it was not showing the left tool bar as I expected. Do you know how to fix the tool bar problem. Let me also check out the instructions that you posted. Thank you very much on the suggestions.

sgosnell 01-14-2021 07:48 PM

I have never used Unity, and do not ever plan to. Sorry, but I can't help with that.


All times are GMT -5. The time now is 09:00 PM.