Popax21 / synaTudor

GNU Lesser General Public License v2.1
92 stars 10 forks source link

stuck in login screen after installing #24

Closed reneas closed 5 months ago

reneas commented 5 months ago

First of all thank you so much for bringing linux compatibility to this fingerprint sensor, really appreciated!

To the problem: After installation I tried to reboot and log into my account. After typing my password and hitting enter noting happened... I also couldn't access any options anymore. This behaviour kept ocurring so I basically couldn't use my computer anymore.

So I went ahead and opened a terminal via Ctrl + Alt + F2 and uninstalled some libfprint packages. After another reboot I could log in normally again. The weird thing is that the fingerprint sensor worked as intended and I could use it in terminal instead of entering a sudo password.

For the installation command meson build I had to install a lot of dependencies but then it went through with this output:

meson build output ``` meson build The Meson build system Version: 0.61.2 Source dir: /tmp/synaTudor Build dir: /tmp/synaTudor/build Build type: native build DEPRECATION: Option DBGWDF already exists. Project name: synaTudor Project version: 1.0.0 C compiler for the host machine: cc (gcc 11.4.0 "cc (Ubuntu 11.4.0-1ubuntu1~22.04) 11.4.0") C linker for the host machine: cc ld.bfd 2.38 Host machine cpu family: x86_64 Host machine cpu: x86_64 Program bash found: YES (/usr/bin/bash) Program ld found: YES (/usr/bin/ld) Run-time dependency threads found: YES Found pkg-config: /usr/bin/pkg-config (0.29.2) Run-time dependency libcrypto found: YES 3.0.2 Run-time dependency libusb-1.0 found: YES 1.0.25 Dependency threads found: YES unknown (cached) Dependency libcrypto found: YES 3.0.2 (cached) Dependency libusb-1.0 found: YES 1.0.25 (cached) Dependency threads found: YES unknown (cached) Dependency libcrypto found: YES 3.0.2 (cached) Dependency libusb-1.0 found: YES 1.0.25 (cached) Run-time dependency libcap found: YES 2.44 Run-time dependency libseccomp found: YES 2.5.3 Run-time dependency gio-2.0 found: YES 2.72.4 Run-time dependency gio-unix-2.0 found: YES 2.72.4 Run-time dependency dbus-1 found: YES 1.12.20 Configuring net.reactivated.TudorHostLauncher.service using configuration Run-time dependency libfprint-2-tod-1 found: YES 1.94.3+tod1+tod1 Run-time dependency udev found: YES 249 Dependency libusb-1.0 found: YES 1.0.25 (cached) Run-time dependency gusb found: YES 0.3.10 Run-time dependency json-glib-1.0 found: YES 1.6.6 Build targets in project: 6 Found ninja-1.10.1 at /usr/bin/ninja WARNING: custom_target 'driver-download' has more than one output! Using the first one. WARNING: custom_target 'driver-download' has more than one output! Using the first one. ```

The WARNING didn't sound too dangerous so I thought it might be okay to go to the next step. ninja gave following output:

ninja output ``` ninja [49/84] Generating libtudor/driver-download with a custom command --2024-04-28 16:06:07-- https://download.lenovo.com/pccbbs/mobiles/r19fp02w.exe Resolving download.lenovo.com (download.lenovo.com)... 23.37.236.223 Connecting to download.lenovo.com (download.lenovo.com)|23.37.236.223|:443... connected. HTTP request sent, awaiting response... 200 OK Length: 2618016 (2,5M) [application/octet-stream] Saving to: ‘libtudor/synaFpAdapter104.dll.p/installer.exe’ 0K .......... .......... .......... .......... .......... 1% 2,51M 1s 50K .......... .......... .......... .......... .......... 3% 3,56M 1s 100K .......... .......... .......... .......... .......... 5% 3,57M 1s 150K .......... .......... .......... .......... .......... 7% 6,96M 1s 200K .......... .......... .......... .......... .......... 9% 7,13M 1s 250K .......... .......... .......... .......... .......... 11% 11,8M 0s 300K .......... .......... .......... .......... .......... 13% 12,8M 0s 350K .......... .......... .......... .......... .......... 15% 4,31M 0s 400K .......... .......... .......... .......... .......... 17% 282M 0s 450K .......... .......... .......... .......... .......... 19% 28,8M 0s 500K .......... .......... .......... .......... .......... 21% 15,3M 0s 550K .......... .......... .......... .......... .......... 23% 13,4M 0s 600K .......... .......... .......... .......... .......... 25% 15,9M 0s 650K .......... .......... .......... .......... .......... 27% 9,68M 0s 700K .......... .......... .......... .......... .......... 29% 11,4M 0s 750K .......... .......... .......... .......... .......... 31% 12,6M 0s 800K .......... .......... .......... .......... .......... 33% 17,9M 0s 850K .......... .......... .......... .......... .......... 35% 10,9M 0s 900K .......... .......... .......... .......... .......... 37% 7,86M 0s 950K .......... .......... .......... .......... .......... 39% 13,5M 0s 1000K .......... .......... .......... .......... .......... 41% 29,5M 0s 1050K .......... .......... .......... .......... .......... 43% 9,30M 0s 1100K .......... .......... .......... .......... .......... 44% 13,5M 0s 1150K .......... .......... .......... .......... .......... 46% 14,0M 0s 1200K .......... .......... .......... .......... .......... 48% 11,6M 0s 1250K .......... .......... .......... .......... .......... 50% 17,5M 0s 1300K .......... .......... .......... .......... .......... 52% 8,85M 0s 1350K .......... .......... .......... .......... .......... 54% 11,3M 0s 1400K .......... .......... .......... .......... .......... 56% 18,3M 0s 1450K .......... .......... .......... .......... .......... 58% 13,2M 0s 1500K .......... .......... .......... .......... .......... 60% 10,5M 0s 1550K .......... .......... .......... .......... .......... 62% 13,2M 0s 1600K .......... .......... .......... .......... .......... 64% 9,78M 0s 1650K .......... .......... .......... .......... .......... 66% 25,1M 0s 1700K .......... .......... .......... .......... .......... 68% 10,4M 0s 1750K .......... .......... .......... .......... .......... 70% 13,3M 0s 1800K .......... .......... .......... .......... .......... 72% 12,6M 0s 1850K .......... .......... .......... .......... .......... 74% 7,97M 0s 1900K .......... .......... .......... .......... .......... 76% 7,57M 0s 1950K .......... .......... .......... .......... .......... 78% 294M 0s 2000K .......... .......... .......... .......... .......... 80% 9,24M 0s 2050K .......... .......... .......... .......... .......... 82% 12,6M 0s 2100K .......... .......... .......... .......... .......... 84% 34,1M 0s 2150K .......... .......... .......... .......... .......... 86% 8,93M 0s 2200K .......... .......... .......... .......... .......... 88% 13,8M 0s 2250K .......... .......... .......... .......... .......... 89% 15,2M 0s 2300K .......... .......... .......... .......... .......... 91% 11,3M 0s 2350K .......... .......... .......... .......... .......... 93% 10,3M 0s 2400K .......... .......... .......... .......... .......... 95% 10,9M 0s 2450K .......... .......... .......... .......... .......... 97% 14,4M 0s 2500K .......... .......... .......... .......... .......... 99% 4,10M 0s 2550K ...... 100% 270M=0,3s 2024-04-28 16:06:08 (9,94 MB/s) - ‘libtudor/synaFpAdapter104.dll.p/installer.exe’ saved [2618016/2618016] Extracting "version 6.0.33.1104(Synaptics FingerPrint FM3463 Driver)(R19FP02W)" - setup data version 5.5.7 (unicode) - "codeGetExtractPath/synaWudfBioUsbUwpSgx.inf" - overwritten - "codeGetExtractPath/Setup.bat" - "codeGetExtractPath/sgx_capable.dll" - "codeGetExtractPath/synaDriverLoader104.dll" - "codeGetExtractPath/synaFpAdapter104.dll" - "codeGetExtractPath/synaTEE104.signed.dll" - "codeGetExtractPath/synaumdfsgx.cat" - "codeGetExtractPath/synaWudfBioUsb104.dll" - "codeGetExtractPath/synaWudfBioUsbSGX104.dll" - "codeGetExtractPath/synaWudfBioUsbUwpSgx.inf" Done. [75/84] Compiling C object libfprint-tod/libtudor_tod.so.p/src_open.c.o ../libfprint-tod/src/open.c: In function ‘init_host_proc’: ../libfprint-tod/src/open.c:207:27: warning: initialization of ‘void **’ from incompatible pointer type ‘GUsbDevicePrivate *’ {aka ‘struct _GUsbDevicePrivate *’} [-Wincompatible-pointer-types] 207 | void **dev_priv = usb_dev->priv; | ^~~~~~~ [84/84] Linking target tudor-host/tudor_host ```

I can't really make sense of the warning at the end of that but since the fingerprint sensor worked I didn't think that would be a problem.

sudo ninja install went through with no warnings or any weird behavior.

Any idea why this problem occurs or how to fix it? Maybe i should say that i cloned the repo to /tmp and installed everything there so maybe that is a point

I'm running Kubuntu 22.04.