Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Element starts with white screen #14916

Closed
rebastion opened this issue Aug 9, 2020 · 10 comments
Closed

Element starts with white screen #14916

rebastion opened this issue Aug 9, 2020 · 10 comments

Comments

@rebastion
Copy link

rebastion commented Aug 9, 2020

Installed Element from Ubuntu Software on a fresh Ubuntu 20.04.1 installation (snapcraft), but it starts with a white screen....

EDIT (see further down): The reason it seems to start blank because it is indeed already running (but not showing anywhere, including tray - which may thus be the primary bug - on the other hand, it could be more user friendly by showing a message also in the UI that it is already running)

EDIT 2: Occurs with the snap install only.

Screenshot from 2020-08-09 09-45-24

@t3chguy
Copy link
Member

t3chguy commented Aug 9, 2020

Ctrl Shift I

should bring up the javascript console
Any errors there?

@rebastion
Copy link
Author

No javascript console opens.... unfortunately. Any other shortcuts to try? Is there an error log maybe?

@t3chguy
Copy link
Member

t3chguy commented Aug 11, 2020

Is there an error log maybe?

Try run it in the command line

@rebastion
Copy link
Author

Screenshot from 2020-08-11 11-51-31

Interesting. Any ideas?

@t3chguy
Copy link
Member

t3chguy commented Aug 11, 2020

So that just means it is already running in the background. Should be on your tray. Try kill the process and then run in command line again.

@rebastion
Copy link
Author

rebastion commented Aug 11, 2020

We are getting closer to the root of the issue. So I rebooted my system, just to make sure. Then opened system monitor to check if Element is running. It was not running. Then I open Element, and suddenly Element seems to be running, but nowhere to be seen. Not in the tray, and no app in the task bar.
Assumption: There is a problem with the app showing in the tray. What now?

This is what the terminal says when I launch it:

Error org.freedesktop.DBus.Error.Failed: cannot use setting "default-url-scheme-handler": not allowed
(node:6281) [DEP0005] DeprecationWarning: Buffer() is deprecated due to security and usability issues. Please use the Buffer.alloc(), Buffer.allocUnsafe(), or Buffer.from() methods instead.
No update_base_url is defined: auto update is disabled
[6401:0811/120436.993137:FATAL:platform_shared_memory_region_posix.cc(254)] This is frequently caused by incorrect permissions on /dev/shm.  Try 'sudo chmod 1777 /dev/shm' to fix.

@t3chguy
Copy link
Member

t3chguy commented Aug 12, 2020

[6401:0811/120436.993137:FATAL:platform_shared_memory_region_posix.cc(254)] This is frequently caused by incorrect permissions on /dev/shm. Try 'sudo chmod 1777 /dev/shm' to fix. looks like a culprit

@rebastion
Copy link
Author

Yea I could try chmodding around my system folders, but it puzzles me that a standard app wouldn't run without chmodding around an Ubuntu system folder, which is already drwxrwxrwt, isn't that 1777 ?

@rebastion
Copy link
Author

Anyways, I removed the snap and installed it from the deb archive, and it starts perfectly. Maybe something was wrong with the way it was packaged or regarding the permissions snaps have to access the tray dbus/architecture or whatever (there are some similar issues on that open I think)

@t3chguy
Copy link
Member

t3chguy commented Aug 12, 2020

That is possible, the Snap is unofficial so I recommend you reach out to its community maintainers.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants