Closed jgyllinsky closed 2 years ago
@jgyllinsky,
It looks like you have 'xorg' installed also, that's good.
Maybe try launching your desktop with 'xorg' to see if the issue shows up there too.
You can launch it with: sudo startxfce4 -n xenial -X xorg
Let us know how it goes.
crosh> sudo edit-chroot-all ERROR: unknown command: sudo
The problem above is after you open a crosh
session you have to also enter shell
to get a bash session before doing crouton commands and other things.
$ sudo edit-chroot-all sudo: edit-chroot-all: command not found
The problem with the above is there needs to be a space '`' after
edit-chroot` like:
sudo
edit-chroot
-all
Hope this helps, -DennisL
Running sudo startxfce4 -n linil -X xorg
instead of the usual sudo startxfce4 -n linil
, results in it loading to a black screen and being completely unresponsive until Chrome OS just reboots itself (about a minute) or I hold the power.
$ sudo edit-chroot -all
name: linil
encrypted: no
Entering /mnt/stateful_partition/crouton/chroots/linil...
crouton: version 1-20170901092920~master:0216f9d1
release: xenial
architecture: arm64
xmethod: xiwi
targets: touch,kde,xiwi,core,cli-extra,xfce,xorg
host: version 9901.77.0 (Official Build) stable-channel kevin
kernel: Linux localhost 4.4.79-11654-g7e0f59a105a1 #1 SMP PREEMPT Mon Nov 13 16:29:42 PST 2017 aarch64 aarch64 aarch64 GNU/Linux
freon: yes
Unmounting /mnt/stateful_partition/crouton/chroots/linil...
name: thetech
encrypted: no
Entering /mnt/stateful_partition/crouton/chroots/thetech...
crouton: version 1-20171122220410~master:99877eaf
release: stretch
architecture: arm64
xmethod: xorg
targets: xfce,xorg,xiwi
host: version 9901.77.0 (Official Build) stable-channel kevin
kernel: Linux localhost 4.4.79-11654-g7e0f59a105a1 #1 SMP PREEMPT Mon Nov 13 16:29:42 PST 2017 aarch64 GNU/Linux
freon: yes
Unmounting /mnt/stateful_partition/crouton/chroots/thetech...
name: xenial
encrypted: no
Entering /mnt/stateful_partition/crouton/chroots/xenial...
crouton: version 1-20170901092920~master:0216f9d1
release: xenial
architecture: arm64
xmethod: xiwi
targets: touch,kde,xiwi,core,cli-extra,xfce,xorg
host: version 9901.77.0 (Official Build) stable-channel kevin
kernel: Linux localhost 4.4.79-11654-g7e0f59a105a1 #1 SMP PREEMPT Mon Nov 13 16:29:42 PST 2017 aarch64 aarch64 aarch64 GNU/Linux
freon: yes
Unmounting /mnt/stateful_partition/crouton/chroots/xenial...
@jgyllinsky,
I suggested trying 'xorg' on your 'xenial' chroot, you chose to try it on your 'linil' chroot which probably doesn't matter since they look to have an identical release and targets.
What does matter is both your 'linil' and your 'xenial' chroots are about 25 versions (commits) behind. There have been significant fixes and improvements since you last updated so before we go any further it would be best to update those chroots.
For more details on updating and troubleshooting see the steps outlined in:
Hope this helps, -DennisL
@DennisLfromGA thank you for your help on this.
I updated both the linil
and xenial
chroots. This was done using sudo sh ~/Downloads/crouton -n xenial -u
and sudo sh ~/Downloads/crouton -n linil -u
. Updating did not change the blackscreen and then reboot caused by sudo startxfce4 -n xenial -X xorg
or sudo startxfce4 -n linil -X xorg
.
@jgyllinsky,
Sorry to hear that. I'd try launching in 'xiwi' again and see if that works.
Hope this helps, -DennisL
I apparently cannot always launch using xiwi
. Here is the output the one time it worked after several launches (I lost the output of the others), followed by a typical run where it slows down essentially freezing thus requiring to be quit using ctrl
+c
from the shell
tab:
(I tried it again to post the error message when it crashes when writing this, but it loaded ok this one time.)
` $ sudo startxfce4 -n linil -X xiwi
Password:
Entering /mnt/stateful_partition/crouton/chroots/linil...
/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-97-generic aarch64 Ubuntu
Current Operating System: Linux localhost 4.4.79-11654-g7e0f59a105a1 #1 SMP PREEMPT Mon Nov 13 16:29:42 PST 2017 aarch64
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 3334144 verity payload=PARTUUID=f6981aeb-43f5-5244-96ea-ade55c62cc3d/PARTNROFF=1 hashtree=PARTUUID=f6981aeb-43f5-5244-96ea-ade55c62cc3d/PARTNROFF=1 hashstart=3334144 alg=sha1 root_hexdigest=a071e6b8e6ccbfbf469a307c340eda33c30cc440 salt=d5c1b01c9c1b1a9eb5c753ffba5258a77a740e96f7320f545023bb389e4acce0" noinitrd vt.global_cursor_default=0 kern_guid=f6981aeb-43f5-5244-96ea-ade55c62cc3d
Build Date: 13 October 2017 01:58:44PM
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: Tue Dec 12 12:18:08 2017
(++) Using config file: "/etc/X11/xorg-dummy.conf"
(==) Using system config directory "/usr/share/X11/xorg.conf.d"
/usr/bin/xinit: XFree86_VT property unexpectedly has 0 items instead of 1
crouton: version 1-20171122220410~master:99877eaf
release: xenial
architecture: arm64
xmethod: xiwi
targets: touch,kde,xiwi,core,cli-extra,xfce,xorg
host: version 9901.77.0 (Official Build) stable-channel kevin
kernel: Linux localhost 4.4.79-11654-g7e0f59a105a1 #1 SMP PREEMPT Mon Nov 13 16:29:42 PST 2017 aarch64 aarch64 aarch64 GNU/Linux
freon: yes
Error: not connected.
Cannot connect to extension, retrying...
Error: not connected.
Cannot connect to extension, retrying...
Error: not connected.
Cannot connect to extension, retrying...
Error: not connected.
Cannot connect to extension, retrying...
Error: not connected.
Cannot connect to extension, retrying...
Error: not connected.
Cannot connect to extension, retrying...
Cannot open /sys/class/tty/tty0/active: No such file or directory
Connected to extension, launched crouton in a window.
_IceTransmkdir: Owner of /tmp/.ICE-unix should be set to root
gpg-agent[21163]: WARNING: "--write-env-file" is an obsolete option - it has no effect
gpg-agent[21164]: gpg-agent (GnuPG) 2.1.11 started
(xfce4-session:21113): xfce4-session-WARNING **: gpg-agent returned no PID in the variables
/usr/bin/xbindkeys_autostart: line 24: CONF: unbound variable
Failure: Module initialization failed
Setting the name of 0x3be08de0 to "org.kde.ActivityManager.Resources.Scoring"
Creating directory: "/home/salt/.local/share/kactivitymanagerd/resources/"
KActivities: Database connection: "kactivities_db_resources_543629643776_readwrite"
query_only: QVariant(qlonglong, 0)
journal_mode: QVariant(QString, "wal")
wal_autocheckpoint: QVariant(qlonglong, 100)
synchronous: QVariant(qlonglong, 1)
Setting the name of 0x3be377c0 to "org.kde.ActivityManager.RunApplication"
Setting the name of 0x3be0c470 to "org.kde.ActivityManager.ActivityTemplates"
Service started, version: 6.2.0
/usr/share/system-config-printer/applet.py:45: PyGIWarning: Notify was imported without specifying a version first. Use gi.require_version('Notify', '0.7') before import to ensure that the right version gets loaded.
from gi.repository import Notify
system-config-printer-applet: failed to start NewPrinterNotification service
system-config-printer-applet: failed to start PrinterDriversInstaller service: org.freedesktop.DBus.Error.AccessDenied: Connection ":1.47" is not allowed to own the service "com.redhat.PrinterDriversInstaller" due to security policies in the configuration file`
`$ sudo startxfce4 -n linil -t xfce
Entering /mnt/stateful_partition/crouton/chroots/linil...
/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-97-generic aarch64 Ubuntu
Current Operating System: Linux localhost 4.4.79-11654-g7e0f59a105a1 #1 SMP PREEMPT Mon Nov 13 16:29:42 PST 2017 aarch64
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 3334144 verity payload=PARTUUID=f6981aeb-43f5-5244-96ea-ade55c62cc3d/PARTNROFF=1 hashtree=PARTUUID=f6981aeb-43f5-5244-96ea-ade55c62cc3d/PARTNROFF=1 hashstart=3334144 alg=sha1 root_hexdigest=a071e6b8e6ccbfbf469a307c340eda33c30cc440 salt=d5c1b01c9c1b1a9eb5c753ffba5258a77a740e96f7320f545023bb389e4acce0" noinitrd vt.global_cursor_default=0 kern_guid=f6981aeb-43f5-5244-96ea-ade55c62cc3d
Build Date: 13 October 2017 01:58:44PM
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: Tue Dec 12 10:49:36 2017
(++) Using config file: "/etc/X11/xorg-dummy.conf"
(==) Using system config directory "/usr/share/X11/xorg.conf.d"
/usr/bin/xinit: XFree86_VT property unexpectedly has 0 items instead of 1
crouton: version 1-20171122220410~master:99877eaf
release: xenial
architecture: arm64
xmethod: xiwi
targets: touch,kde,xiwi,core,cli-extra,xfce,xorg
host: version 9901.77.0 (Official Build) stable-channel kevin
kernel: Linux localhost 4.4.79-11654-g7e0f59a105a1 #1 SMP PREEMPT Mon Nov 13 16:29:42 PST 2017 aarch64 aarch64 aarch64 GNU/Linux
freon: yes
Error: not connected.
Cannot connect to extension, retrying...
Error: not connected.
Cannot connect to extension, retrying...
Error: not connected.
Cannot connect to extension, retrying...
Cannot open /sys/class/tty/tty0/active: No such file or directory
Connected to extension, launched crouton in a window.
_IceTransmkdir: Owner of /tmp/.ICE-unix should be set to root
gpg-agent[26645]: WARNING: "--write-env-file" is an obsolete option - it has no effect
gpg-agent[26648]: gpg-agent (GnuPG) 2.1.11 started
(xfce4-session:26602): xfce4-session-WARNING **: gpg-agent returned no PID in the variables
/usr/bin/xbindkeys_autostart: line 24: CONF: unbound variable
Setting the name of 0x1fbb3810 to "org.kde.ActivityManager.Resources.Scoring"
Creating directory: "/home/salt/.local/share/kactivitymanagerd/resources/"
KActivities: Database connection: "kactivities_db_resources_491349606400_readwrite"
query_only: QVariant(qlonglong, 0)
journal_mode: QVariant(QString, "wal")
wal_autocheckpoint: QVariant(qlonglong, 100)
synchronous: QVariant(qlonglong, 1)
Setting the name of 0x1fbbddc0 to "org.kde.ActivityManager.RunApplication"
Setting the name of 0x1fbe3d70 to "org.kde.ActivityManager.ActivityTemplates"
Service started, version: 6.2.0
Failure: Module initialization failed
/usr/share/system-config-printer/applet.py:45: PyGIWarning: Notify was imported without specifying a version first. Use gi.require_version('Notify', '0.7') before import to ensure that the right version gets loaded.
from gi.repository import Notify
system-config-printer-applet: failed to start NewPrinterNotification service
system-config-printer-applet: failed to start PrinterDriversInstaller service: org.freedesktop.DBus.Error.AccessDenied: Connection ":1.46" is not allowed to own the service "com.redhat.PrinterDriversInstaller" due to security policies in the configuration file
(xfwm4:26649): xfwm4-WARNING **: output size (1180x699) and logical screen size (1200x800) do not match
thunar-volman: Unsupported USB device type "usb".
thunar-volman: Unsupported USB device type "uvcvideo".
thunar-volman: Unsupported USB device type "uvcvideo".
(xfwm4:26649): xfwm4-WARNING **: output size (1180x699) and logical screen size (1200x719) do not match
** (xfdesktop:26778): CRITICAL **: xfce_backdrop_loader_closed_cb: assertion 'XFCE_IS_BACKDROP(backdrop)' failed
(xfwm4:26649): xfwm4-WARNING **: output size (1180x699) and logical screen size (1200x800) do not match
(xfwm4:26649): xfwm4-WARNING **: output size (1180x699) and logical screen size (1200x719) do not match
** (xfdesktop:26778): CRITICAL **: xfce_backdrop_loader_closed_cb: assertion 'XFCE_IS_BACKDROP(backdrop)' failed
(xfwm4:26649): xfwm4-WARNING **: output size (1180x699) and logical screen size (1200x800) do not match
(xfwm4:26649): xfwm4-WARNING **: output size (1180x699) and logical screen size (1200x719) do not match
** (xfdesktop:26778): CRITICAL **: xfce_backdrop_loader_closed_cb: assertion 'XFCE_IS_BACKDROP(backdrop)' failed
(xfwm4:26649): xfwm4-WARNING **: output size (1180x699) and logical screen size (1200x800) do not match
(xfwm4:26649): xfwm4-WARNING **: output size (1180x699) and logical screen size (1200x719) do not match
** (xfdesktop:26778): CRITICAL **: xfce_backdrop_loader_closed_cb: assertion 'XFCE_IS_BACKDROP(backdrop)' failed
(xfwm4:26649): xfwm4-WARNING **: output size (1180x699) and logical screen size (1200x800) do not match
recv_pid_fd: No fd is passed from findnacl daemon.
find_shm: Cannot open nacl file.
write_image: Cannot find shm, moving on...
socket_client_read_frame_header: Connection close from WebSocket client.
^C
Session terminated, terminating shell.../usr/bin/xinit: connection to X server lost
waiting for X server to shut down xscreensaver: 12:14:33: SIGHUP received: restarting...
xscreensaver: 12:14:33: running as salt/salt (1000/1000)
Hangup
Hangup
Hangup
Running exit commands...
ICE default IO error handler doing an exit(), pid = 26825, errno = 11
Closing SQL connection: "kactivities_db_resources_491349606400_readwrite"
xfdesktop: Fatal IO error 11 (Resource temporarily unavailable) on X server :1.0.
xfsettingsd: Fatal IO error 11 (Resource temporarily unavailable) on X server :1.0.
(II) Server terminated successfully (0). Closing log file.
xscreensaver: 12:14:33: Can't open display: :1.0
xscreensaver: 12:14:33: running as salt/salt (1000/1000)
xscreensaver: 12:14:33: Errors at startup are usually authorization problems.
But you're not logging in as root (good!) so something
else must be wrong. Did you read the manual and the FAQ?
http://www.jwz.org/xscreensaver/faq.html
http://www.jwz.org/xscreensaver/man.html
/usr/bin/xinit: unexpected signal 2
...terminated.
Unmounting /mnt/stateful_partition/crouton/chroots/linil...
Sending SIGTERM to processes under /mnt/stateful_partition/crouton/chroots/linil...
gpg-agent[26648]: SIGTERM received - shutting down ...
gpg-agent[26648]: gpg-agent (GnuPG) 2.1.11 stopped
Sending SIGKILL to processes under /mnt/stateful_partition/crouton/chroots/linil...`
Just because I mentioned it, remmina
crashes all the time, especially on scrolling. This happens on the up-to-date version (~1.2) as well as the officially supported version from the Ubuntu arm repos (1.1.2).
$ remmina
Remmina plugin VNC (type=Protocol) registered.
Remmina plugin VNCI (type=Protocol) registered.
Remmina plugin RDP (type=Protocol) registered.
Remmina plugin RDPF (type=File) registered.
Remmina plugin RDPS (type=Preference) registered.
Remmina plugin SFTP (type=Protocol) registered.
Remmina plugin SSH (type=Protocol) registered.
(remmina:23240): Gdk-CRITICAL **: gdk_window_thaw_toplevel_updates: assertion 'window->update_and_descendants_freeze_count > 0' failed
Gtk-Message: GtkDialog mapped without a transient parent. This is discouraged.
Segmentation fault (core dumped)
Can I valgrind crouton? The behavior, at least to me, seems like a memory leak or similar. This is because at other times it will slow the whole thing down and I have to close crouton.
Keyboard starts repeating characters after some time on an Samsung Chromebook Plus (2017, model XE513C24-K01US) running up-to-date crouton. The instances uses xfce and launched using command
sudo startxfce4
.After some point (somewhere between 20 minutes and an hour) virtual terminal(s) becomes unusable and crouton must be restarted.
Extra boot info:
A separate, but possibly caused by the same root issue is that when using
remmina
on locking and re-loging into the chromebook the keyboard is unresponsive. This also sometimes happens when the screen just goes off (not sure if it is in sleep mode or something.)...crosh> sudo edit-chroot-all ERROR: unknown command: sudo
$ sudo edit-chroot-all sudo: edit-chroot-all: command not found