Page 1 of 1

Cannot run Atom editor

Posted: 10. Dec 2015, 15:55
by ExMachina
Hi,

I've recently installed Atom editor with gslapt and when I run it - it doesn't start.
To check what's going on I ran it in terminal. This is the output:

Code: Select all

exmachina[~]$ atom
exmachina[~]$ /usr/bin/atom: line 113:  1223 Aborted                 nohup "$ATOM_PATH" --executed-from="$(pwd)" --pid=$$ "$@" > "$ATOM_HOME/nohup.out" 2>&1
Fontconfig warning: FcPattern object size does not accept value 10(i)
Fontconfig warning: FcPattern object size does not accept value 10(i)
App load time: 490ms
[1223:1210/153941:FATAL:shared_memory_posix.cc(295)] This is frequently caused by incorrect permissions on /dev/shm.  Try 'sudo chmod 1777 /dev/shm' to fix.
Failed to get crash dump id.
Report Id: 

Then I ran this as per suggestion:

Code: Select all

sudo chmod 1777 /dev/shm
After I do that, Atom loads fine but whatever this command does, it's NOT persistent. If I reboot I have the same issue.
Is there a permanent fix to this? Thanks!

Re: Cannot run Atom editor

Posted: 10. Dec 2015, 18:31
by gapan
You can put

Code: Select all

chmod 1777 /dev/shm
at the end of your /etc/rc.d/rc.local

Re: Cannot run Atom editor

Posted: 10. Dec 2015, 19:19
by ExMachina
It works with that!!! Thank you!

Re: Cannot run Atom editor

Posted: 12. Dec 2015, 13:02
by mimosa
I found I needed to edit the SlackBuild to build this - the source tarball is now atom-v$version rather than v$version. I took the opportunity to go for the latest version.

Re: Cannot run Atom editor

Posted: 15. Dec 2015, 12:03
by ExMachina
Got it installed, working nicely... thank you! :)