Atom quits immediately and silently


#1

Hi,
on my Ubuntu 16.04 box atom does not launch at all. I can get the help message but nothing else.
I tried all the suggestions in the debug guide but nothing helps: invoking from the command line returns almost immediately without any message and without any window coming up. None of the suggested flags (like .–safe) makes a difference nor does deleting the ~/.atom directory. It tried the .deb as well as the .tar.gz, neither seems to work.

Atom : 1.25.1
Electron: 1.7.11
Chrome : 58.0.3029.110
Node : 7.9.0

Any suggestions?

frank

ps: other GUIs (like emacs or xclock have no such problem, of course)


#2

I can get the help message but nothing else.

Just to confirm, you mean atom --help?

I tried all the suggestions in the debug guide but nothing helps:

Can you confirm which steps you tried? You mentioned safe mode and resetting to factory defaults - did you also try clearing saved state?

Didi Atom work in previous versions (e.g. 1.24) and stopped working when you installed 1.25.1?


#3

Thanks for your reply.

Yes, I meant ‘–help’.

Yes, I tried clearing saved state (–clear-window-state) an various gpu/rasterization options, no difference. I also checked for crash logs: there are none.

I checked that the launcher script does invoke the actual executable, but it quits almost immediately.

It’s my first contact to atom, so no previous install existed.


#4

Thanks for confirming - if you start Atom in the foreground, are there any extra messages shown on the command line?

atom -f

#5

No, no extra messages with ‘-f’.

Are there any env vars atom re/acts on?


#6

I also tried with a clean environment without any luck.


#7

Two that I can think of and they’re mentioned in atom --help:

  ATOM_DEV_RESOURCE_PATH  The path from which Atom loads source code in dev mode.
                          Defaults to `~/github/atom`.

  ATOM_HOME               The root path for all configuration files and folders.
                          Defaults to `~/.atom`.

Doesn’t seem like they would apply in your situation.

Can you clarify what you mean here? A clean install of Ubuntu 16.04?

Do you see anything in /var/log/syslog related to Atom?

Also, if you install the beta does that make any difference?


#8

With clean environment I meant “empty” env, e.g. starting atom under “env -i”.

No messages in syslog and using beta made no difference.


#9

Just throwing out ideas now, what if you install the previous stable (1.24.1)?