NC Desktop Client issues

XIO: fatal IO error 22 (Invalid argument) on X server

$ nextcloud 
The X11 connection broke: No error (code 0)
XIO:  fatal IO error 22 (Invalid argument) on X server ":0.0"
      after 439 requests (439 known processed) with 0 events remaining.
$ strace -f nextcloud

[pid 3614260] mount("/dev/fuse", ".", "fuse", MS_RDONLY|MS_NOSUID|MS_NODEV, "fd=6,rootmode=40000,user_id=1000"...) = -1 EPERM (Operation not permitted)
[pid 3614260] write(2, "fusermount: mount failed: Operat"..., 50fusermount: mount failed: Operation not permitted) = 50
...
[pid 3614258] write(1, "Cannot mount AppImage, please ch"..., 53Cannot mount AppImage, please check your FUSE setup.) = 53
[pid 3614258] write(1, "You might still be able to extra"..., 172You might still be able to extract the contents of this AppImage if you run it with the --appimage-extract option. See https://github.com/AppImage/AppImageKit/wiki/FUSE ) = 172
[pid 3614258] write(1, "for more information\n", 21for more information) = 21
...
write(4, "open dir error: No such file or "..., 42open dir error: No such file or directory
$ ./nextcloud --appimage-extract
$ cd squashfs-root
$ ./AppRun

linuxdeployqt  (commit 9447f60), build 9 built on 2022-01-23 15:58:30 UTC
ERROR: The host system is too new.
Please run on a system with a glibc version no newer than what comes with the oldest
currently still-supported mainstream distribution (Ubuntu Bionic), which is glibc 2.27.
This is so that the resulting bundle will work on most still-supported Linux distributions.
For more information, please see
https://github.com/probonopd/linuxdeployqt/issues/340

Solution for now: compile from git source

2023-01-01 Update: During startup of nextcloud dmesg prints:

[1734634.654842] NVRM: API mismatch: the client has the version 470.161.03, but
                 NVRM: this kernel module has the version 470.141.03.  Please
                 NVRM: make sure that this kernel module and all NVIDIA driver
                 NVRM: components have the same version.