I’ve ran into a problem using sublime under linux (minimal installation).
I downloaded sublime and copied into /opt. When I run the executable as a root, sublime starts and I see the GUI. As soon as I try to open it with a non-root user, nothing happens.
I already tried strace and it is a nearly identical output:
How did you run ST as root? Did you log in as a normal user and then ran ST with sudo?
If that is the case, you probably have a situation where root has taken ownership of one or more ST files in your normal user’s home directory. Try checking all the files in “~/.config/sublime-text-3”.
You may already know this, but you should use gksu/gksudo and not sudo if you must run a GUI program as root.
PS doesn’t show another ST running. The only things that come to my mind now are that xorg, openbox or my xinitrc do something weird because I didn’t configure them right or that the user needs to be added to the wheel or video group or something like this.
The /bin/sublime is just a symbolic link to the /opt/sublime-text-3/sublime_text executable.
When I start it as root, the plugin_host gets started, when I start it as non-root, neither the plugin_host nor the sublime process get started and the CPU stays normal.
I’m having the same problem. I guess I don’t know what you mean by /dev/shm not mounted correctly. It is not in fstab.
I changed permissions of /dev/shm and its contents to 777. Still same problem: ~$ sublime doesn’t run but ~$ sudo sublime runs. The output of sublime -v and sublime -h (with and without sudo) are correct, same as yours was.
Very strange behavior. I checked permissions of ~/.config/sublime_text_3 and its contents and /usr/bin/sublime and /opt/sublime_text_3/ are all owned by non-root user (me) and chmod are set to 755. Anyone else having this problem? Here are the pertinent files.