njradford / my-dear-watson

Bash script to help install Elementary OS on Chromebooks
53 stars 6 forks source link

Elementary Won't Start #17

Open awbaader opened 7 years ago

awbaader commented 7 years ago

Hi there, I'm trying to install Elementary via crouton on my HP Chromebook 14. The install seemed to go ok but when I try to start Elementary with sudo startelementary the screen goes black for a moment before I'm returned to the shell with the following output.

(precise)andy@localhost:~$ sudo startelementary 
[sudo] password for andy: 
/usr/bin/startelementary: Starting X server

X.Org X Server 1.13.0
Release Date: 2012-09-05
X Protocol Version 11, Revision 0
Build Operating System: Linux 2.6.42-54-highbank armv7l Ubuntu
Current Operating System: Linux localhost 3.10.18 #1 SMP Fri Jan 6 23:44:58 PST 2017 armv7l
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 2539520 verity payload=PARTUUID=0d53de4f-5192-bd47-82ae-50b2b374f653/PARTNROFF=1 hashtree=PARTUUID=0d53de4f-5192-bd47-82ae-50b2b374f653/PARTNROFF=1 hashstart=2539520 alg=sha1 root_hexdigest=6ef367912a553f6965093096e539ccc53dd00955 salt=8ea8bf909909c50ee576f0650b05e2afe250c58be7308ea305fb65956716165d" noinitrd vt.global_cursor_default=0 kern_guid=0d53de4f-5192-bd47-82ae-50b2b374f653  
Build Date: 05 November 2013  03:23:26PM
xorg-server 2:1.13.0-0ubuntu6.5~precise1 (For technical support please see http://www.ubuntu.com/support) 
Current version of pixman: 0.30.2
        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: "/var/log/Xorg.1.log", Time: Fri Jan 13 20:12:27 2017
(==) Using system config directory "/usr/share/X11/xorg.conf.d"
Initializing built-in extension Generic Event Extension
Initializing built-in extension SHAPE
Initializing built-in extension MIT-SHM
Initializing built-in extension XInputExtension
Initializing built-in extension XTEST
Initializing built-in extension BIG-REQUESTS
Initializing built-in extension SYNC
Initializing built-in extension XKEYBOARD
Initializing built-in extension XC-MISC
Initializing built-in extension SECURITY
Initializing built-in extension XINERAMA
Initializing built-in extension XFIXES
Initializing built-in extension RENDER
Initializing built-in extension RANDR
Initializing built-in extension COMPOSITE
Initializing built-in extension DAMAGE
Initializing built-in extension MIT-SCREEN-SAVER
Initializing built-in extension DOUBLE-BUFFER
Initializing built-in extension RECORD
Initializing built-in extension DPMS
Initializing built-in extension X-Resource
Initializing built-in extension XVideo
Initializing built-in extension XVideo-MotionCompensation
Initializing built-in extension XFree86-VidModeExtension
Initializing built-in extension XFree86-DGA
Initializing built-in extension XFree86-DRI
Initializing built-in extension DRI2
Loading extension GLX
crouton: version 1-20161129162558~master:5f2f11f9
release: precise
architecture: armhf
xmethod: xorg
targets: xfce,keyboard,extension
host: version 8872.76.0 (Official Build) stable-channel nyan_blaze 
kernel: Linux localhost 3.10.18 #1 SMP Fri Jan 6 23:44:58 PST 2017 armv7l armv7l armv7l GNU/Linux
freon: no
/usr/bin/xinit_pantheon: 2: /usr/bin/xinit_pantheon: /usr/sbin/lightdm-session: not found
Running exit commands...
/usr/bin/xinit: connection to X server lost

waiting for X server to shut down Hangup
Hangup
Hangup
Server terminated successfully (0). Closing log file.

I have had Ubuntu running on this machine before but really want to give Elementary a go so any advice you can offer would be a great help. Thanks in advance

Andy

kimtoufectis commented 7 years ago

I think I've run into a similar problem. Everything seemed to go fine, but upon completion and the "Welcome to Pantheon" message, Ctrl-Alt-Shift-Forward/Backward does nothing. I should say that I'm trying to do this on an LG Chromebase, so a ChromeOS device but not a Chromebook.

The installation log lost in the mists of the rear view mirror, I tried to repeat the installation process to see what would happen and got the following in case it offers someone clues about what went wrong.

crosh> shell chronos@localhost / $ sudo sh watson.sh sh: Can't open watson.sh chronos@localhost / $ cd ~/Downloads chronos@localhost ~/Downloads $ sudo sh watson.sh Downloading latest crouton installer... ######################################################################## 100.0% /usr/local/chroots/xenial already has stuff in it! Either delete it, specify a different name (-n), or specify -u to update it. Entering /mnt/stateful_partition/crouton/chroots/xenial... Reading package lists... Done Building dependency tree
Reading state information... Done python-software-properties is already the newest version (0.96.20.7). 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. /root/Downloads/watson.sh: 8: /root/Downloads/watson.sh: add-apt-repository: not found Hit:1 http://archive.ubuntu.com/ubuntu xenial InRelease Get:2 http://archive.ubuntu.com/ubuntu xenial-updates InRelease [102 kB] Get:3 http://archive.ubuntu.com/ubuntu xenial-security InRelease [102 kB] Get:4 http://archive.ubuntu.com/ubuntu xenial-updates/main Sources [251 kB] Get:5 http://archive.ubuntu.com/ubuntu xenial-updates/main amd64 Packages [543 kB] Get:6 http://archive.ubuntu.com/ubuntu xenial-updates/main i386 Packages [528 kB] Get:7 http://archive.ubuntu.com/ubuntu xenial-updates/universe amd64 Packages [469 kB] Get:8 http://archive.ubuntu.com/ubuntu xenial-updates/universe i386 Packages [454 kB] Get:9 http://archive.ubuntu.com/ubuntu xenial-security/main Sources [74.0 kB] Get:10 http://archive.ubuntu.com/ubuntu xenial-security/main amd64 Packages [273 kB] Get:11 http://archive.ubuntu.com/ubuntu xenial-security/main i386 Packages [260 kB] Get:12 http://archive.ubuntu.com/ubuntu xenial-security/main Translation-en [117 kB] Get:13 http://archive.ubuntu.com/ubuntu xenial-security/universe amd64 Packages [122 kB] Get:14 http://archive.ubuntu.com/ubuntu xenial-security/universe i386 Packages [109 kB] Get:15 http://archive.ubuntu.com/ubuntu xenial-security/universe Translation-en [63.1 kB] Fetched 3467 kB in 5s (641 kB/s)
Reading package lists... Done Reading package lists... Done Building dependency tree
Reading state information... Done E: Unable to locate package elementary-desktop Reading package lists... Done Building dependency tree
Reading state information... Done gtk2-engines-pixbuf is already the newest version (2.24.30-1ubuntu1). 0 upgraded, 0 newly installed, 0 to remove and 2 not upgraded. Unmounting /mnt/stateful_partition/crouton/chroots/xenial... Entering /mnt/stateful_partition/crouton/chroots/xenial... /usr/bin/startelementary: Starting X server

_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-45-generic x86_64 Ubuntu Current Operating System: Linux localhost 3.8.11 #1 SMP Wed May 17 18:04:39 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 2539520 verity payload=PARTUUID=1744bc90-07ef-0a4b-879c-708956646928/PARTNROFF=1 hashtree=PARTUUID=1744bc90-07ef-0a4b-879c-708956646928/PARTNROFF=1 hashstart=2539520 alg=sha1 root_hexdigest=6fedfd0d184f4eb1f4a3fc40ab3019c82f6dec0e salt=8f775cfeedf331bc753fcb5cb08aec36d8b51f3983853c8d2e13d44f9b03df4f" noinitrd vt.global_cursor_default=0 kern_guid=1744bc90-07ef-0a4b-879c-708956646928 add_efi_memmap boot=local noresume noswap i915.modeset=1 tpm_tis.force=1 tpm_tis.interrupts=0 nmi_watchdog=panic,lapic
Build Date: 02 November 2016 10:06:10PM xorg-server 2:1.18.4-0ubuntu0.2 (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 May 30 18:01:44 2017 (==) Using system config directory "/usr/share/X11/xorg.conf.d" xf86EnableIOPorts: failed to set IOPL for I/O (Operation not permitted) crouton: version 1-20170315143304~master:95589555 release: xenial architecture: amd64 xmethod: xorg targets: xfce,keyboard,extension host: version 9334.72.0 (Official Build) stable-channel monroe kernel: Linux localhost 3.8.11 #1 SMP Wed May 17 18:04:39 PDT 2017 x86_64 x86_64 x86_64 GNU/Linux freon: yes xrandr: Output DP1 is not disconnected but has no modes xrandr: Output HDMI1 is not disconnected but has no modes Kicking xrandr again xrandr: Output DP1 is not disconnected but has no modes xrandr: Output HDMI1 is not disconnected but has no modes Kicking xrandr again /usr/bin/xinit_pantheon: 2: /usr/bin/xinit_pantheon: /usr/sbin/lightdm-session: not found /usr/bin/xinit_pantheon: 4: /usr/bin/xinit_pantheon: /usr/sbin/lightdm-session: not found Running exit commands... /usr/bin/xinit: connection to X server lost

waiting for X server to shut down Hangup Hangup Hangup (II) Server terminated successfully (0). Closing log file.

Unmounting /mnt/stateful_partition/crouton/chroots/xenial... WELCOME TO PANTHEON chronos@localhost ~/Downloads $ pantheon bash: pantheon: command not found chronos@localhost ~/Downloads $ PANTHEON bash: PANTHEON: command not found chronos@localhost ~/Downloads $ crosh> sudo sh watson.sh e Usage: crosh [options]

Options: --dev Force dev mode. --removable Force removable (USB) mode. --usb Same as above. --help, -h Show this help string. ERROR: Unknown option: sh chronos@localhost ~/Downloads $ ERROR: unknown command: sudo

bash: ERROR:: command not found chronos@localhost ~/Downloads $

chronos@localhost ~/Downloads $ crosh> shell

crosh> chronos@localhost / $ sudo sh watson.sh

crosh> sh: Can't open watson.sh

crosh> chronos@localhost / $ cd ~/Downloads

crosh> chronos@localhost ~/Downloads $ sudo sh watson.sh

crosh> Downloading latest crouton installer...

crosh> ######################################################################## 100.0%

crosh> /usr/local/chroots/xenial already has stuff in it!

crosh> Either delete it, specify a different name (-n), or specify -u to update it.

crosh> Entering /mnt/stateful_partition/crouton/chroots/xenial...

crosh> Reading package lists... Done

crosh> Building dependency tree

crosh> Reading state information... Done

crosh> python-software-properties is already the newest version (0.96.20.7).

crosh> 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. crosh> /root/Downloads/watson.sh: 8: /root/Downloads/watson.sh: add-apt-repository: not found crosh> Hit:1 http://archive.ubuntu.com/ubuntu xenial InRelease crosh> Get:2 http://archive.ubuntu.com/ubuntu xenial-updates InRelease [102 kB] crosh> Get:3 http://archive.ubuntu.com/ubuntu xenial-security InRelease [102 kB] crosh> Get:4 http://archive.ubuntu.com/ubuntu xenial-updates/main Sources [251 kB] crosh> Get:5 http://archive.ubuntu.com/ubuntu xenial-updates/main amd64 Packages [543 kB] crosh> Get:6 http://archive.ubuntu.com/ubuntu xenial-updates/main i386 Packages [528 kB] crosh> Get:7 http://archive.ubuntu.com/ubuntu xenial-updates/universe amd64 Packages [469 kB] crosh> Get:8 http://archive.ubuntu.com/ubuntu xenial-updates/universe i386 Packages [454 kB] crosh> Get:9 http://archive.ubuntu.com/ubuntu xenial-security/main Sources [74.0 kB] crosh> Get:10 http://archive.ubuntu.com/ubuntu xenial-security/main amd64 Packages [273 kB] crosh> Get:11 http://archive.ubuntu.com/ubuntu xenial-security/main i386 Packages [260 kB] crosh> Get:12 http://archive.ubuntu.com/ubuntu xenial-security/main Translation-en [117 kB] crosh> Get:13 http://archive.ubuntu.com/ubuntu xenial-security/universe amd64 Packages [122 kB] crosh> Get:14 http://archive.ubuntu.com/ubuntu xenial-security/universe i386 Packages [109 kB] crosh> Get:15 http://archive.ubuntu.com/ubuntu xenial-security/universe Translation-en [63.1 kB] crosh> Fetched 3467 kB in 5s (641 kB/s)
crosh> Reading package lists... Done crosh> Reading package lists... Done crosh> Building dependency tree
crosh> Reading state information... Done crosh> E: Unable to locate package elementary-desktop crosh> Reading package lists... Done crosh> Building dependency tree
crosh> Reading state information... Done crosh> gtk2-engines-pixbuf is already the newest version (2.24.30-1ubuntu1). crosh> 0 upgraded, 0 newly installed, 0 to remove and 2 not upgraded. crosh> Unmounting /mnt/stateful_partition/crouton/chroots/xenial... crosh> Entering /mnt/stateful_partition/crouton/chroots/xenial... crosh> /usr/bin/startelementary: Starting X server crosh> crosh> _XSERVTransmkdir: ERROR: euid != 0,directory /tmp/.X11-unix will not be created. crosh> crosh> X.Org X Server 1.18.4 crosh> Release Date: 2016-07-19 crosh> X Protocol Version 11, Revision 0 crosh> Build Operating System: Linux 4.4.0-45-generic x86_64 Ubuntu crosh> Current Operating System: Linux localhost 3.8.11 #1 SMP Wed May 17 18:04:39 PDT 2017 x86_64 crosh> 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 2539520 verity payload=PARTUUID=1744bc90-07ef-0a4b-879c-708956646928/PARTNROFF=1 hashtree=PARTUUID=1744bc90-07ef-0a4b-879c-708956646928/PARTNROFF=1 hashstart=2539520 alg=sha1 root_hexdigest=6fedfd0d184f4eb1f4a3fc40ab3019c82f6dec0e salt=8f775cfeedf331bc753fcb5cb08aec36d8b51f3983853c8d2e13d44f9b03df4f" noinitrd vt.global_cursor_default=0 kern_guid=1744bc90-07ef-0a4b-879c-708956646928 add_efi_memmap boot=local noresume noswap i915.modeset=1 tpm_tis.force=1 tpm_tis.interrupts=0 nmi_watchdog=panic,lapic
crosh> Build Date: 02 November 2016 10:06:10PM crosh> xorg-server 2:1.18.4-0ubuntu0.2 (For technical support please see http://www.ubuntu.com/support) crosh> Current version of pixman: 0.33.6 crosh> Before reporting problems, check http://wiki.x.org crosh> to make sure that you have the latest version. crosh> Markers: (--) probed, (**) from config file, (==) default setting, crosh> (++) from command line crosh> (WW) warning, (EE) e crosh> crosh> (==) Using s crosh> xf86EnableIOPorts: failed to set IOPL f crosh> crouton: version 1-20170 crosh> release: xenial crosh> architecture: amd64 crosh> crosh> targets: xfce,keyboard,extension crosh> host: version 93 crosh> kernel: Linux localhost 3.8.11 #1 SMP W crosh> freon: yes crosh> xrandr: Output DP1 is not disconnected but has no modes crosh> xrandr: Outp crosh> Kicking xrandr again crosh> xrandr: Output DP1 is not dis crosh> xrandr: Output HDMI1 is not disconnected but has no modes crosh> Kicking xrandr aga crosh> /usr/bin/xinit_pantheon: 2: /usr/bin/xinit_pantheon: /usr/ crosh> /usr/bin/xinit_pantheon: 4: / crosh> Running exit commands... crosh> /usr/b crosh> crosh> waiting for X server to shut dow crosh> Hangup crosh> Hangup crosh> (II) Server terminated successfully (0). Closing log fi crosh> crosh> Unmounting /mnt/stateful_partition/crouton/chroots/xenial...

Any help in figuring out what went wrong?

jdbowma commented 7 years ago

Not sure if bumping is allowed but I seriously would like this issue resolved. Kind of ridiculous that this issue seems to be so common without any support or help

ghost commented 3 years ago

Sorry for such a late response. I think that the person who created this stopped supporting the project, however I'll attempt to resurrect it. I used to have this problem as well. To fix it install chromebrew(can be found on github) and then run it via cd /usr/local/ && mkdir elem && cd elem && git clone https://github.com/njradford/my-dear-watson.git && cd my-dear-watson && sudo sh warson.sh