Closed rheinandco closed 2 years ago
Hello,
I commented yesterday on a similar but much older issue, and was getting desperate for not finding anything actually related to my issue. I even did a powerwash and edited this line in src/fbserver.c
in order to differentiate between the two cases that produce the No fd is passed from findnacldaemon
error.
Below the ouput after running xiwi geany
and xiwi finished initializing built-in extensions. You should note that I get this bug in trusty, and that the error message from the outer condition in :
cmsg = CMSG_FIRSTHDR(&msg);
if (cmsg) { //cmsg evaluates to FALSE !
if (cmsg->cmsg_level == SOL_SOCKET && cmsg->cmsg_type == SCM_RIGHTS) {
fd = *((int *)CMSG_DATA(cmsg));
} else {
error("No fd is passed from findnacl daemon.");
}
} else {
error("No fd is passed from findnacl daemon.");
//I edited the line above so that the message ends with "because no data in cmsg"
}
/usr/bin/xinit: XFree86_VT property unexpectedly has 0 items instead of 1
crouton: version git
release: trusty
architecture: amd64
xmethod: xiwi
targets: audio,xiwi,xfce,cli-extra,keyboard,touch,x11,xorg
host: version 10176.5.0 (Official Build) dev-channel cyan
kernel: Linux localhost 3.18.0-16346-g4ffebefcbbdb #1 SMP PREEMPT Wed Dec 6 02:36:52 PST 2017 x86_64 x86_64 x86_64 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...
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.
deciding for version 4 due to this line: # i3 config file (v4)
12/08/2017 10:20:22 AM - ERROR: Could not translate string to key symbol: "button2"
The XKEYBOARD keymap compiler (xkbcomp) reports:
> Warning: Type "ONE_LEVEL" has 1 levels, but <RALT> has 2 symbols
> Ignoring extra symbols
Errors from xkbcomp are not fatal to the X server
12/08/2017 10:20:22 AM - ERROR: Could not translate string to key symbol: "button2"
12/08/2017 10:20:22 AM - ERROR: Could not translate string to key symbol: "button2"
recv_pid_fd: No fd is passed from findnacl daemon because no data in cmsg.
find_shm: Cannot open nacl file.
write_image: Cannot find shm, moving on...
recv_pid_fd: No fd is passed from findnacl daemon because no data in cmsg.
find_shm: Cannot open nacl file.
write_image: Cannot find shm, moving on...
recv_pid_fd: No fd is passed from findnacl daemon because no data in cmsg.
find_shm: Cannot open nacl file.
I tried to debug it myself but this is far beyond my abilities. I hope someone finds a fix because if I cannot launch geany, I will have to learn vim 😉
same findnacl problem. no fd is passed
just wanted to add that my debian-stretch broke on Dec6 with the chrome-os update.
existing xenial did NOT break. (both were created Nov30)
a xenial and debian-buster set up since the update get the same error.
maybe there is a clue in how xenial avoided breaking once.
(latest crouton downloaded. both xenial and buster updated. same error)
THANKS FOR CROUTON!!!
I'm having same issue, its really annoying. I think I am going to powerwash and move back to beta or stable, hopefully that fixes the issue.
This may be an older issue that has resurfaced, see these issues:
I don't see a fix for it but @drinkcat, one of the developers, asked for this info. below to help troubleshoot the issue -
Run these in the chroot:
The output of
croutonversion
in the chrootThe output of
ls -l /var/run/crouton-ext
Run this and see if it outputs any error:
/usr/local/bin/croutonfindnacld
And maybe the output of this, inside and outside the chroot:
cat /etc/group | grep video
It would probably be a good idea to have that information on hand here in case it's needed when someone can take a look at it.
-DennisL
Here is the requested info:
croutonversion:
crouton: version 1-20171122220410~master:99877eaf
release: xenial
architecture: amd64
xmethod: xiwi
targets: xfce,keyboard,touch,xiwi
host: version 10176.5.0 (Official Build) dev-channel eve
kernel: Linux localhost 4.4.96-12256-g1d37dc3a7cc4-dirty #1 SMP PREEMPT Wed Dec 6 02:42:10 PST 2017 x86_64 x86_64 x86_64 GNU/Linux
freon: yes
output of ls -l /var/run/crouton-ext
total 0 srwxrwx---. 1 root video 0 Dec 9 06:05 socket
output of sudo /usr/local/bin/croutonfindnacld
main: Failed to bind address: /var/run/crouton-ext/socket. (Address already in use)
output of cat /etc/group | grep video
:
Within chroot:
video:x:27:<myusername>
Outside:
video:!:27:root,chronos,arc-camera,dlm,rtanalytics
SUCCESS!
Compared croutonversion
of working versus non-working chroot. xorg works and xiwi doesn't.
enter-chroot with -X xorg
sudo sh /media/removable/kromulator/bin/enter-chroot -n krodeeb -X xorg startxfce4
added xorg to chroot that needed it... tested GOOD!
sudo sh ~/Downloads/crouton -u -n krodtest -t xorg -p /media/removable/kromulator/
Sorry @tocantonto but your fix did not do the trick for me...
output of ls -l /var/run/crouton-ext
total 0 srwxrwx---. 1 root video 0 Dec 9 06:05 socket
output of sudo /usr/local/bin/croutonfindnacld
main: Failed to bind address: /var/run/crouton-ext/socket. (Address already in use)
(which makes sense since the daemon is launched when the chroot is mounted (according to ps aux | grep findnacl
)
output of cat /etc/group | grep video
:
Within chroot:
video:x:27:<myusername>
Outside:
video:!:27:root,chronos,arc-camera,dlm,rtanalytics
Yes @pcouy i am running the full desktop environment startxfce4
. i can't get any sort of xiwi to work whether in a tab, as full environment, or single application.
attached is the requested info for troubleshooting evidence0.txt
Hello, I tried to get the different outputs like @DennisLfromGA recommended in a previous post but I think I do something wrong because I get only error messages. Could some one explain to me where to type the different commands? I tried in Shell and the only response I get is for: chronos@localhost / $ cat /etc/group | grep video video:!:27:root,chronos,arc-camera,dlm,rtanalytics the other commands I get like this: chronos@localhost / $ sudo ls -l /var/run/crouton-ext ls: cannot access '/var/run/crouton-ext': No such file or directory Sorry I'm not very familiar with a terminal. Is there a way to uninstall xiwi because Xenial worked before I installed xiwi? Thank you
@rheinandco
you're in crosh but you want to enter the chroot from there
sudo enter-chroot -n chrootname
you'll still be in the same crosh window, but logged into the chroot. the prompt will change to
(chrootname) username@localhost
as far as i know, you have to specify the -X xorg in order to avoid xiwi.
sudo enter-chroot -n chrootname -X xorg startxfce4
if your chroot needs xorg installed
sudo sh ~/Downloads/crouton -u -n chrootname -t xorg
@tocantonto I tried and got this: crosh> sudo enter-chroot -n chrootname ERROR: unknown command: sudo Thanks for your help!
Chiming in to this post to say I have the same issue. On dev channel on Sentry, 4 pieces of information are basically the same that @seldnplan posted. When I boot using xorg instead of xiwi I can enter the DE, but then the chromeos keyboard remap is missing, the special keys don't function as intended, and all control of the mouse is lost, but that's probably a separate issue.
Hello @THofstee how do you boot using xorg? What is the command line to type? (I'm beginner) I would like to check if I can access Xenial this way. And also see if I have the same issue with the mouse and keyboard. Thank you
@rheinandco
to begin with, enter shell
at the crosh prompt. this will get you the chronos@localhost
prompt.
from there, sudo should be recognized. you want to replace chrootname
with the actual name, which according to your first post is xenial
my previous post also explains how to use xorg at launch and how to add xorg if the chroot needs it.
Thanks to @tocantonto I can post the output of croutonversion crouton: version 1-20171122220410~master:99877eaf release: xenial architecture: amd64 xmethod: xiwi targets: xiwi,xfce host: version 10176.5.0 (Official Build) dev-channel reef-unibuild (reef pyro snappy sand electro basking alan bigdaddy) kernel: Linux localhost 4.4.96-12256-g1d37dc3a7cc4-dirty #1 SMP PREEMPT Wed Dec 6 02:47:19 PST 2017 x86_64 x86_64 x86_64 GNU/Linux freon: yes
ls -l /var/run/crouton-ext total 0 srwxrwx---. 1 root video 0 Dec 11 08:57 socket
/usr/local/bin/croutonfindnacld main: Cannot set gid to 27 (Operation not permitted)
cat /etc/group | grep video Within chroot: video:x:27:toto Outside: video:!:27:root,chronos,arc-camera,dlm,rtanalytics
For the moment I have to go back to my old Ubuntu computer to work on some specific software that worked great in Crouton. :-( Hope there will be a fix soon!
Hello, I followed the different information and got my Crouton running like @tocantonto in full window. For the moment I can work using my chromebook:-)
if anyone can point out some differences between xorg and xiwi, i would be glad to try to find out why xiwi can't connect. crouton and X are pretty new to me but i'm having fun learning by solving problems.
Just adding my voice to the complaint. Seems that the xorg workaround is an option for me but I'd rather have xiwi to be functional.
Hello, Did some one try xiwi with the new upgrade of ChromeOS that came this morning? For the moment I have copy/paste isues onther Xorg but for the rest I can work properly. Have a nice day.
xiwi appears to be working again!
Hello, What is the comand line to go back to xiwi when you used Xorg? Is it? sudo enter-chroot -n xenial -X xiwi startxfce4 Thanks for your help!
yes, that's it. good luck
Xiwi works again since the last update on dev channel. Weird bug
Hello, It is working again in a window! Great! Thanks all of you for your help.
2017-12-14 21:44 GMT+01:00 GuyP notifications@github.com:
yes, that's it. good luck
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/dnschneid/crouton/issues/3549#issuecomment-351830503, or mute the thread https://github.com/notifications/unsubscribe-auth/AAh8Ua-eGbcPWXYT1vDoJ6PDqHcedfhAks5tAYi0gaJpZM4Q6tTI .
-- Cordialement
Canopé Aquitaine-Limousin-Poitou-Charentes
christophe.rhein@reseau-canope.fr christophe.rhein@ac-limoges.fr Tél. +33 (0)5 55 29 93 86 | +33 (0)6 30 34 56 16 Nos ressources de formation: https://atelier-canope-19.canoprof.fr/
@rheinandco,
Just for completeness another shorter command to launch via 'xiwi' is:
sudo startxfce4 -n xenial -X xiwi
Hope this helps, -DennisL
Thank you @DennisL for this shorter command! Have a nice day!
2017-12-15 1:17 GMT+01:00 DennisL notifications@github.com:
@rheinandco https://github.com/rheinandco,
Just for completeness another shorter command to launch via 'xiwi' is:
sudo startxfce4 -n xenial -X xiwi
Hope this helps, -DennisL
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/dnschneid/crouton/issues/3549#issuecomment-351875903, or mute the thread https://github.com/notifications/unsubscribe-auth/AAh8Ubw7AWxT0-TwFM4ZUauko7EqtRILks5tAbqZgaJpZM4Q6tTI .
-- Cordialement
Canopé Aquitaine-Limousin-Poitou-Charentes
christophe.rhein@reseau-canope.fr christophe.rhein@ac-limoges.fr Tél. +33 (0)5 55 29 93 86 | +33 (0)6 30 34 56 16 Nos ressources de formation: https://atelier-canope-19.canoprof.fr/
Hello @DennisLfromGA Could you please stop signing your messages with "dennisl". People think that it is your github username and mention it using @. Since dennisl is my github username I end up being subscribed to conversations I'm not interested in. Thank you!
@dennisl,
Whoops, sorry. I slipped up again and used 'DennisL' in here, I use it elsewhere so it's kind of a force of habit. I'll try to remember but I just changed my 'saved replies' to remove the 'L' so that should help.
EDIT: Looks like there's a 'https://github.com/dennis' also so I'll go back to the long form and sign things @dennislfromga
~-Dennis~ -DennisLfromGA
name: xenial encrypted: no Entering /mnt/stateful_partition/crouton/chroots/xenial... crouton: version 1-20171122220410~master:99877eaf release: xenial architecture: amd64 xmethod: xiwi targets: xiwi,xfce host: version 10176.5.0 (Official Build) dev-channel reef-unibuild (reef pyro snappy sand electro basking alan bigdaddy) kernel: Linux localhost 4.4.96-12256-g1d37dc3a7cc4-dirty #1 SMP PREEMPT Wed Dec 6 02:47:19 PST 2017 x86_64 x86_64 x86_64 GNU/Linux freon: yes Unmounting /mnt/stateful_partition/crouton/chroots/xenial...