Update:

Don’t use atom on WSL, it is way too laggy.

Original post on 2018-9-6:

When I tried to run atom on WSL, I get the following error:

/usr/sbin/atom: line 57:    67 Aborted                 (core dumped)
nohup "$ATOM_PATH" --executed-from="$(pwd)" --pid=$$ "$@" > "$ATOM_HOME/nohup.out" 2>&1
FATAL: error reading `/proc/sys/crypto/fips_enabled' in libgcrypt: Invalid argument

The problem here is that WSL has no /proc/sys/crypto directory. So we need to disable fips manually, using:

echo 0 > /etc/gcrypt/fips_enabled

发表评论