joaomgcd / JoinDesktop

A desktop app for Join built in Electron
240 stars 20 forks source link

Errors running in Ubuntu 16.04 #9

Open quickreactor opened 4 years ago

quickreactor commented 4 years ago

Installing from .deb package.

When I run com.joaomcd.join I get Trace/breakpoint trap

When I run sudo com.joaomgcd.join i get [20150:0729/125555.265642:FATAL:electron_main_delegate.cc(264)] Running as root without --no-sandbox is not supported. See https://crbug.com/638180. Trace/breakpoint trap

When I run sudo com.joaomgcd.join --no-sandbox It opens then when I try to sign in it says Failed to execute default web browser input/output error

I have no idea what to do now.

joaomgcd commented 4 years ago

Thanks for the report. Does the AppImage version work for you?

MeanderingCode commented 3 years ago

This happens for me, as well, on Debian (hybrid, Buster with testing and experimental repos).

The difference is that with sudo, I do not get that error. It simply does nothing after the output Opening url or file https://testsjoaomgcd.appspot.com/?settings&connectoport=9876 in the terminal. The UI shows a loading spinner in the upper right corner. This behavior is the same with the Debian package and the AppImage.

  % sudo com.joaomgcd.join --no-sandbox
Checking local ip...
Start monitoring clipboard 1000
App Info {
  platform: 'linux',
  version: '0.5.0',
  isWindowsSystem: false,
  isMacSystem: false,
  isLinuxSystem: true,
  ipAddress: Promise { <pending> }
}
9876
Got IP null 10.0.0.148
Package version from github 0.5.0
Access token expired. Getting new one
Saving to local storage SettingCompanionAppPortToReceive 9876
9876
IP Address: 10.0.0.148
Opening url or file https://testsjoaomgcd.appspot.com/?settings&connectoport=9876
joaomgcd commented 3 years ago

Is your system maybe blocking the app opening the URL for some reason? Can you try opening the URL in a browser manually and see if that works?

jfacemyer commented 1 year ago

I'm having the same issue as MeanderingCode (output is basically the same, just stalls at "Opening url..."), and I can open the url on my browser no problem.

I'm on Ubuntu 22.10

Please help!