figma-linux icon indicating copy to clipboard operation
figma-linux copied to clipboard

Unable to login

Open KBeDevel opened this issue 5 years ago • 18 comments

  • App version: 0.6.2 Rev. 70 stable
  • Operating System (Platform and Version): Fedora 32 Workstation KDE
  • Type of installed package: Snap

Bug description I'm unable to pass the "login screen"

Steps to reproduce

  1. Open figma-linux
  2. Click on "Log in with browser"

Expected behavior

A new tab/window should be opened in the default browser with the generated auth link, and the session should be confirmed to the desktop app redirecting to the "app home".

Current behavior

The application remains in the "Go to the browser to complete login" screen without launching any event and/or GUI change.

Screenshots

image

image

Bash output:

... $ figma-linux 
WARNING: cgroup v2 is not fully supported yet, proceeding with partial confinement
Gtk-Message: 17:33:55.267: Failed to load module "appmenu-gtk-module"
Error org.freedesktop.DBus.Error.Failed: cannot use setting "default-url-scheme-handler": not allowed
You've got a 266 fonts in your os.
(node:71065) ProtocolDeprecateCallback: The callback argument of protocol module APIs is no longer needed.
(node:71065) ProtocolDeprecateCallback: The callback argument of protocol module APIs is no longer needed.
[wm] already signed in? false
[71140:0527/173355.660532:ERROR:buffer_manager.cc(488)] [.DisplayCompositor]GL ERROR :GL_INVALID_OPERATION : glBufferData: <- error from previous GL command
local fonts support is enabled
newWindow, url:  https://www.figma.com/app_auth/<AUTH_TOKEN>/grant
user-open error: cannot find snap for connection: not supported

Additional context

  • Using Fedora 32 KDE Spin with cgroup v2 by default
  • Using Firefox 76.0.1 as default browser
  • Clean snap installation
  • I can't install the RPM since the message file /usr/lib/.build-id/43/403913e1ccc0475b5e2d1d2ddca551b8815a99 from install of figma-linux-0.6.2-1.x86_64 conflicts with file from package discord-0.0.10-2.fc32.x86_64 is returned.

KBeDevel avatar May 27 '20 21:05 KBeDevel

there is a solution on the horizon? I have same problem from at least 3 months, fedora 31 and 32, same browser

MateuszKawka avatar Jun 07 '20 13:06 MateuszKawka

@MateuszKawka works for me just fine using an AUR package :thinking:

with Firefox 78 Dev Edition

v1rtl avatar Jul 24 '20 20:07 v1rtl

@talentlessguy Which version of figma are you using?

KBeDevel avatar Jul 31 '20 15:07 KBeDevel

@KBeDevel latest

v1rtl avatar Aug 01 '20 23:08 v1rtl

Today, I tested with the same workflow, but using Mozilla Firefox 79.0, and it works after the second try. On the first try, the app keeps on the loading... screen, showing a helper message on the top saying: Go back and try again

[UPDATE] The output is:

WARNING: cgroup v2 is not fully supported yet, proceeding with partial confinement
Gtk-Message: 19:54:47.170: Failed to load module "colorreload-gtk-module"
Gtk-Message: 19:54:47.170: Failed to load module "appmenu-gtk-module"
Error org.freedesktop.DBus.Error.Failed: cannot use setting "default-url-scheme-handler": not allowed
(node:57592) ProtocolDeprecateCallback: The callback argument of protocol module APIs is no longer needed.
(node:57592) ProtocolDeprecateCallback: The callback argument of protocol module APIs is no longer needed.
[wm] already signed in? false
local fonts support is enabled
newWindow, url:  https://www.figma.com/app_auth/<auth_token>/grant
second-instance, argv:  [
  '/snap/figma-linux/70/figma-linux',
  'figma://app_auth/redeem?g_secret=<secret_token>',
  '--no-sandbox'
]
local fonts support is enabled
figma.st cookie changed: explicit figma.st .www.figma.com 
newWindow, url:  https://www.figma.com/app_auth/<auth_token>/grant
second-instance, argv:  [
  '/snap/figma-linux/70/figma-linux',
  'figma://app_auth/redeem?g_secret=<secret_token>',
  '--no-sandbox'
]

KBeDevel avatar Aug 03 '20 23:08 KBeDevel

for me the [open the desktop app] does nothing as button.

Gtk-Message: 10:02:01.049: Failed to load module "appmenu-gtk-module" Error org.freedesktop.DBus.Error.Failed: cannot use setting "default-url-scheme-handler": not allowed You've got a 885 fonts in your os. (node:37406) ProtocolDeprecateCallback: The callback argument of protocol module APIs is no longer needed. (node:37406) ProtocolDeprecateCallback: The callback argument of protocol module APIs is no longer needed. [wm] already signed in? false local fonts support is enabled newWindow, url: https://www.figma.com/app_auth/[token]/grant

dospuntocero avatar Aug 15 '20 14:08 dospuntocero

Same issue on CentOS 8 installed via snap. However I see this error

[user@host ~]$ sudo snap install figma-linux
[sudo] password for user: 
figma-linux 0.7.1 from YouDontHavePermission (youdonthavepermissiony) installed
[user@host ~]$ figma-linux 
Error org.freedesktop.DBus.Error.Failed: cannot set "default-url-scheme-handler" setting to invalid value "figma"
Gtk-Message: 14:46:55.949: Failed to load module "pk-gtk-module"
Gtk-Message: 14:46:55.952: Failed to load module "pk-gtk-module"
[1/11/2021, 2:46:56 PM]:[INFO] - [wm] already signed in? false

daravi avatar Jan 11 '21 23:01 daravi

@daravi do you have the latest version of Snapd?

ChugunovRoman avatar Jan 12 '21 05:01 ChugunovRoman

@daravi try non-snap package

ChugunovRoman avatar Jan 12 '21 06:01 ChugunovRoman

@daravi https://youtrack.jetbrains.com/issue/SPACE-11892

ChugunovRoman avatar Jan 12 '21 07:01 ChugunovRoman

Same issue here, in 2022....

StiliyanKushev avatar Nov 04 '22 19:11 StiliyanKushev

I have tested the RPM package (v0.10.0), this time using Fedora 37 KDE Workstation under Wayland with Firefox 106.0.4 and works like a charm.

KBeDevel avatar Nov 23 '22 00:11 KBeDevel

image Help Meee!! can't login on figma for Linux/Ubuntu Pro

Fandyfr avatar Jan 03 '24 07:01 Fandyfr

@Fandyfr What's your desktop env?

KBeDevel avatar Jan 11 '24 14:01 KBeDevel

im use Ubuntu Pro Gnome version 22.04.3 LTS OS Type: 64 Bit Gnome Version: 42.9 Windowing System X11 Hardware model: ROG Strix G712LU

Pada Kam, 11 Jan 2024 22.10, Benjamin @.***> menulis:

@Fandyfr https://github.com/Fandyfr What's your desktop env?

— Reply to this email directly, view it on GitHub https://github.com/Figma-Linux/figma-linux/issues/108#issuecomment-1887244460, or unsubscribe https://github.com/notifications/unsubscribe-auth/BAGA5L6Z2S7MYBQA5UN7R6TYN7XHBAVCNFSM4NMRBAG2U5DIOJSWCZC7NNSXTN2JONZXKZKDN5WW2ZLOOQ5TCOBYG4ZDINBUGYYA . You are receiving this because you were mentioned.Message ID: @.***>

Fandyfr avatar Jan 11 '24 14:01 Fandyfr

@Fandyfr Which figma-linux version are you using? Are you using the Snap package? If that's the case, you can try to use the last version (0.11.2). In Snapcraft is registered as the "edge" version:

snap install figma-linux --edge

KBeDevel avatar Jan 11 '24 14:01 KBeDevel

@Fandyfr Which figma-linux version are you using? Are you using the Snap package? If that's the case, you can try to use the last version (0.11.2). In Snapcraft is registered as the "edge" version:

snap install figma-linux --edge

it's the same bro, I installed it and used it snap install figma-linux --edge that same An error occured. Please try Again.

Fandyfr avatar Jan 11 '24 14:01 Fandyfr

@ChugunovRoman Sorry to pin you. Any ideas about this?

@Fandyfr give a try to the Flatpak package, works like a charm (at least on KDE x11). I'm not longer using the Snap package (neither Snapd itself) so I haven't tested this exact issue again.

KBeDevel avatar Jan 12 '24 00:01 KBeDevel