Closed wjstarrsiii closed 9 years ago
Update: It is only an issue within the arch chroot. I have also used croagh to install a Trusty chroot, with xfce4, and it switches back out fine. Any ideas what may be missing that is causing me grief?
Can you provide the output of croutonversion
?
Does Ctrl-Alt-Left/Refresh work?
This is what I get from within arch:
crouton: version git release: arch architecture: x86_64 targets: xfce host: version 6158.70.0 (Official Build) stable-channel peppy
In trusty it's the same, except for release of course.
Ctrl-Alt-F5 (fullscreen key on my C720) will exit arch and take me to a blank screen, then Ctl-Alt-Left dumps me back to my shell tab, but I'm stuck there. If I try Sh-Ctl-Alt-Right to get back into arch, I get an error stating sudo: a password is required.
I then need to Ctl-C to get out of it. I updated trusty again to make sure they were at the same level of crouton and they are, and trusty still works.
I uninstalled i3, deleted any xfce4 config and session files, re-installed xfce4, and same happens. Here is everything after starting X (including the Clt-Alt-Maximize and Ctl-Alt-Left ) in case there are any clues.
/usr/bin/startxfce4: Starting X server
X.Org X Server 1.16.2
Release Date: 2014-11-10
X Protocol Version 11, Revision 0
Build Operating System: Linux 3.17.2-1-ARCH x86_64
Current Operating System: Linux localhost 3.8.11 #1 SMP Tue Oct 21 07:07:57 PDT 2014 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 2506752 verity payload=PARTUUID=2108ab06-76e7-fa43-a052-754223cfa385/PARTNROFF=1 hashtree=PARTUUID=2108ab06-76e7-fa43-a052-754223cfa385/PARTNROFF=1 hashstart=2506752 alg=sha1 root_hexdigest=3897918e4d421c10a12ab9246bc6750c302daba7 salt=74af5461f14c59db05156c0d064155837f4f30bfa3973aca7dae33cabf935a02" noinitrd vt.global_cursor_default=0 kern_guid=2108ab06-76e7-fa43-a052-754223cfa385 add_efi_memmap boot=local noresume noswap i915.modeset=1 tpm_tis.force=1 tpm_tis.interrupts=0 nmi_watchdog=panic,lapic iTCO_vendor_support.vendorsupport=3
Build Date: 10 November 2014 07:52:13PM
Current version of pixman: 0.32.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: "/var/log/Xorg.1.log", Time: Sat Nov 29 13:38:18 2014
(==) Using system config directory "/usr/share/X11/xorg.conf.d"
(xfsettingsd:23036): xfsettingsd-WARNING **: Failed to get the _NET_NUMBER_OF_DESKTOPS property.
Error creating proxy: Error calling StartServiceByName for org.gtk.Private.AfcVolumeMonitor: GDBus.Error:org.freedesktop.DBus.Error.Spawn.ChildExited: Process org.gtk.Private.AfcVolumeMonitor exited with status 127 (g-dbus-error-quark, 25)
(xfdesktop:23031): GLib-GIO-CRITICAL **: g_file_get_path: assertion 'G_IS_FILE (file)' failed
(xfdesktop:23031): GLib-GIO-CRITICAL **: g_file_get_path: assertion 'G_IS_FILE (file)' failed
(xfdesktop:23031): GLib-GIO-CRITICAL **: g_file_get_path: assertion 'G_IS_FILE (file)' failed
(xfdesktop:23031): GLib-GIO-CRITICAL **: g_file_get_path: assertion 'G_IS_FILE (file)' failed
(xfdesktop:23031): GLib-GIO-CRITICAL **: g_file_get_path: assertion 'G_IS_FILE (file)' failed
(II) AIGLX: Suspending AIGLX clients for VT switch
sudo: a password is required
^C
Session terminated, killing shell... ...killed.
Unmounting /mnt/stateful_partition/crouton/chroots/arch2...
g_dbus_connection_real_closed: Remote peer vanished with error: Underlying GIOStream returned 0 bytes on an async read (g-io-error-quark, 0). Exiting.
(xfce4-panel:23027): libxfce4ui-WARNING **: ICE I/O Error
(xfce4-panel:23027): libxfce4ui-WARNING **: Disconnected from session manager.
(xfsettingsd:23036): libxfce4ui-WARNING **: ICE I/O Error
(xfsettingsd:23036): libxfce4ui-WARNING **: Disconnected from session manager.
(xfdesktop:23031): libxfce4ui-WARNING **: ICE I/O Error
(xfdesktop:23031): libxfce4ui-WARNING **: Disconnected from session manager.
Yet one more update, I created a brand new arch chroot with chroagh 455e.... using:
sudo sh installer/main.sh -r arch -t xfce4 -e
And once complete, I still can't switch out of it.
Is there some terminal / alt-F2 command I can run to manually switch back over or am I just stuck?
I just wanted to pipe in that I also have this issue just after updating. I'm running openbox as my window manager. I was able to alt-ctrl-F2 to get to an alternate ChromeOS terminal, and then alt-ctrl-F1 to get back to my regular ChromeOS. But from there I couldn't figure how to get back into chroagh.
Having the same problem. Tried with xfce4 and e17. Doesn't seem to happen on crouton - ubuntu for me.
Fresh install with devmod enabled. Samsung Chromebook 2.
One thing I noticed: after changing back to the main ChromeOS, hitting the ctrl-alt-shift-F1 (which would normally switch back) shows an error in the terminal where I launched the chroot. It states:
sudo: a password is required
I did also just update ChromeOS; maybe they changed something in their bash that uses sudo? I'm on an Acer C720.
Same problem here (like dvbuntu). But i can still switch by using the croutoncycle script with root permissions from within the chroot.
I'm on Lenovo Thinkpad Yoga 11e chromebook (Glimmer) The problem occured after i accidentaly reset my chromebook and had to reinstall the chroot, i tried older commits, which didn't work either. Seems to be a problem of the new Chrome OS version like dvbuntu mentioned.
Thanks, didn't know about croutoncycle script. Now I can get back to ChromeOS, but only once. When I try to go back S-C-A-right, I get the sudo required in the original terminal. To switch back I need to open a second chroot with terminal only and execute the sudo croutoncycle command from it. A pain but lets me get back to my workflow.
For some reason i don't get the sudo error anymore when trying to switch from chrome to my arch, but this one:
/usr/local/bin/croutoncycle: line 47: /tmp/crouton-lock/cycle: Permission denied
seems to have something to do with root permissions as well.
@drinkcat Ctrl-Alt-Left/Refresh does work for me, i can switch from my xfce-session to Chrome OS by pressing Ctr-Alt-Left and get back from Chrome OS by pressing Ctrl-Alt-Right + Ctrl-Alt-Refresh, Thanks.
That combination seems to be working for me too. I think when I saw those key combos above in earlier posts it was not clear to me that the C-A-Rt, C-A-Refr had to be done sequentially. I'm not getting any permission-related errors using these combos though.
I am only getting the errors when pressing Ctrl-Alt-Shift-Left/RIght no errors for the refresh thing as well.
Sorry for the delay. Fixed by a1c36153dbfb9dfc0e4cc879dc45aae42e00dc80.
This still seems to be broken? I can switch out of chroagh just fine, but I C-A-S-Left/Right does nothing. This was on a fresh install with x11,audio, cli-extra targets and openbox as a manager. No errors show up when attempting to switch back, so that seems to be an improvement. xfce seemed to work ok, so I'm not sure what the problem is.
As a workaround, it is possible to launch a chroagh chroot from a different ChromeOS vt. So instead of making a new tab and launching a shell within that, I did C-A-Right to get a different ChromeOS virtual terminal, login with user chronos and your password. Then launch as normal. To switch between, I use C-A-Left and C-A-Right (as though they are C-A-F1, and C-A-F2, of course). This seems to be just as good.
It is working fine for me going back and forth with C-A-L/R after updating the evening of the 18th.
Hi, run arch in chroot with i3 as my window manager sitting on top of xfce4. (installed xfce4, disabled the desktop, window manager, panel from session, and then auto-started i3).
Worked like a charm for the longest time.
After the most recent update, i logged in and it went back to the full xfce4 desktop. I re-did my mods to return to i3, then noticed that Shift-Ctl-Alt-Right or Left no longer switch me back to ChromeOS. The only way to get back is to log out of the arch session. I don't see any messages in the shell terminal when I return that seem helpful. Anywhere else I can look or any suggestions?
Thanks