Devdraw error when starting acme

874 views
Skip to first unread message

Ethan Burns

unread,
Feb 12, 2014, 4:10:27 PM2/12/14
to plan9p...@googlegroups.com
Hi Everyone,

Has anyone seen this error when trying to start acme:
$ acme
acme: exec devdraw: Required key not available
acme: can't open display: muxrpc: unexpected eof

Occasionally after a reboot I get it every time that I try to start acme.  The only way that I've found to fix it is to re-run ./INSTALL, but it's frustrating to wait for a reinstall before I can open my editor again.  I'd really appreciate any help.



Best,
Ethan

Russ Cox

unread,
Feb 12, 2014, 4:29:57 PM2/12/14
to Ethan Burns, plan9port-dev
When it happens, can you run 'devdraw' by itself?

Russ

Ethan Burns

unread,
Feb 12, 2014, 4:37:11 PM2/12/14
to Russ Cox, plan9port-dev
I'll try next time it comes up, but it may not be for a while (I don't restart unless I have to).  My recollection from last time it happened is that I could not run devdraw, but I don't recall what the error message was, if I got one.

Steve McCoy

unread,
Feb 13, 2014, 10:14:33 AM2/13/14
to plan9p...@googlegroups.com
Looks exec.c:1579 may be printing the the errno string for ENOKEY, which is frustratingly hard to find the meaning of, except it *might* be related to some kind of encryption… Do you have filesystem encryption enabled or anything like that?

Russ Cox

unread,
Feb 13, 2014, 10:32:44 AM2/13/14
to mcc...@gmail.com, plan9port-dev
My guess is that you have something that requires a key (for example, Kerberized NFS) in your $PATH before $PLAN9/bin, the key has expired, and so the search for devdraw gets ENOKEY in that directory before finding the real devdraw in $PLAN9/bin. While waiting for ./INSTALL to run, you do other work and incidentally authenticate to whatever file system needs the key. Then the next time, the lookup sees ENOENT instead and the path search does make it down to $PLAN9/bin.

Russ

Ethan Burns

unread,
Feb 13, 2014, 12:51:38 PM2/13/14
to plan9p...@googlegroups.com, mcc...@gmail.com
Hi Russ,

Yes.  I just verified that this is the case.  Thanks for your help.


Ethan

Tholane Makhalemele

unread,
Oct 3, 2020, 5:46:13 AM10/3/20
to plan9port-dev
Hello, I did a fresh install of fedora on my machine, I face this problem running acme:
usage: devdraw (don't run  directly)
acme: can't open display: muxrpc: unexpected eof


Reply all
Reply to author
Forward
0 new messages