Nomachine client not working from Garuda

Hello.

I'm having trouble connecting to a machine (Manjaro XFCE) from my Garuda Linux Desktop. The window closes on connecting. I can authenticate, then shows for a moment, and closes.

I'm able to connect from my laptop (Manjaro Cinnamon) and from a Linux Mint desktop machine, so not a server problem.

garuda-inxi

System:
  Kernel: 5.18.14-zen1-1-zen arch: x86_64 bits: 64 compiler: gcc v: 12.1.0
    parameters: BOOT_IMAGE=/@/boot/vmlinuz-linux-zen
    root=UUID=b4ca416f-530b-4ae4-bf0b-835736bc4fe7 rw [email protected]
    quiet quiet splash rd.udev.log_priority=3 vt.global_cursor_default=0
    loglevel=3 ibt=off
  Desktop: KDE Plasma v: 5.25.3 tk: Qt v: 5.15.5 info: latte-dock
    wm: kwin_x11 vt: 1 dm: SDDM Distro: Garuda Linux base: Arch Linux
Machine:
  Type: Desktop Mobo: Gigabyte model: B450 GAMING X v: x.x
    serial: <superuser required> UEFI: American Megatrends v: F50
    date: 11/27/2019
CPU:
  Info: model: AMD Ryzen 7 3700X bits: 64 type: MT MCP arch: Zen 2 gen: 3
    built: 2020-22 process: TSMC n7 (7nm) family: 0x17 (23)
    model-id: 0x71 (113) stepping: 0 microcode: 0x8701013
  Topology: cpus: 1x cores: 8 tpc: 2 threads: 16 smt: enabled cache:
    L1: 512 KiB desc: d-8x32 KiB; i-8x32 KiB L2: 4 MiB desc: 8x512 KiB
    L3: 32 MiB desc: 2x16 MiB
  Speed (MHz): avg: 3719 high: 4264 min/max: 2200/4426 boost: enabled
    scaling: driver: acpi-cpufreq governor: performance cores: 1: 3687 2: 4077
    3: 3592 4: 4264 5: 3733 6: 3592 7: 3593 8: 3583 9: 3821 10: 4087 11: 3517
    12: 3594 13: 3593 14: 3592 15: 3592 16: 3594 bogomips: 114987
  Flags: avx avx2 ht lm nx pae sse sse2 sse3 sse4_1 sse4_2 sse4a ssse3 svm
  Vulnerabilities:
  Type: itlb_multihit status: Not affected
  Type: l1tf status: Not affected
  Type: mds status: Not affected
  Type: meltdown status: Not affected
  Type: mmio_stale_data status: Not affected
  Type: retbleed
    mitigation: untrained return thunk; SMT enabled with STIBP protection
  Type: spec_store_bypass
    mitigation: Speculative Store Bypass disabled via prctl
  Type: spectre_v1
    mitigation: usercopy/swapgs barriers and __user pointer sanitization
  Type: spectre_v2
    mitigation: Retpolines, IBPB: conditional, STIBP: always-on, RSB filling
  Type: srbds status: Not affected
  Type: tsx_async_abort status: Not affected
Graphics:
  Device-1: NVIDIA GK208B [GeForce GT 710] vendor: Gigabyte driver: nvidia
    v: 470.129.06 alternate: nouveau,nvidia_drm non-free: 470.xx+
    status: legacy-active (EOL~2023/24) arch: Fermi 2 process: TSMC 28nm
    built: 2010-16 pcie: gen: 2 speed: 5 GT/s lanes: 8 bus-ID: 07:00.0
    chip-ID: 10de:128b class-ID: 0300
  Display: x11 server: X.Org v: 21.1.4 with: Xwayland v: 22.1.3
    compositor: kwin_x11 driver: X: loaded: nvidia
    unloaded: modesetting,nouveau alternate: fbdev,nv,vesa gpu: nvidia
    display-ID: :0 screens: 1
  Screen-1: 0 s-res: 3840x1080 s-dpi: 92 s-size: 1060x301mm (41.73x11.85")
    s-diag: 1102mm (43.38")
  Monitor-1: DVI-I-1 pos: primary,right res: 1920x1080 hz: 60 dpi: 92
    size: 531x299mm (20.91x11.77") diag: 609mm (23.99") modes: N/A
  Monitor-2: HDMI-0 pos: primary,left res: 1920x1080 hz: 60 dpi: 94
    size: 521x293mm (20.51x11.54") diag: 598mm (23.53") modes: N/A
  OpenGL: renderer: NVIDIA GeForce GT 710/PCIe/SSE2
    v: 4.6.0 NVIDIA 470.129.06 direct render: Yes
Audio:
  Device-1: NVIDIA GK208 HDMI/DP Audio vendor: Gigabyte driver: snd_hda_intel
    v: kernel pcie: gen: 2 speed: 5 GT/s lanes: 8 bus-ID: 07:00.1
    chip-ID: 10de:0e0f class-ID: 0403
  Device-2: AMD Starship/Matisse HD Audio vendor: Gigabyte
    driver: snd_hda_intel v: kernel pcie: gen: 4 speed: 16 GT/s lanes: 16
    bus-ID: 09:00.4 chip-ID: 1022:1487 class-ID: 0403
  Sound Server-1: ALSA v: k5.18.14-zen1-1-zen running: yes
  Sound Server-2: PulseAudio v: 16.1 running: no
  Sound Server-3: PipeWire v: 0.3.56 running: yes
Network:
  Device-1: Realtek RTL8111/8168/8411 PCI Express Gigabit Ethernet
    vendor: Gigabyte driver: r8169 v: kernel pcie: gen: 1 speed: 2.5 GT/s
    lanes: 1 port: f000 bus-ID: 04:00.0 chip-ID: 10ec:8168 class-ID: 0200
  IF: eno1 state: up speed: 1000 Mbps duplex: full mac: <filter>
  IF-ID-1: br-0230801b624c state: down mac: <filter>
  IF-ID-2: br-343196377ad6 state: up speed: 10000 Mbps duplex: unknown
    mac: <filter>
  IF-ID-3: br-56d4a7bc9270 state: up speed: 10000 Mbps duplex: unknown
    mac: <filter>
  IF-ID-4: br-96c3f4053d28 state: up speed: 10000 Mbps duplex: unknown
    mac: <filter>
  IF-ID-5: br-e28deef329de state: up speed: 10000 Mbps duplex: unknown
    mac: <filter>
  IF-ID-6: docker0 state: up speed: 10000 Mbps duplex: unknown
    mac: <filter>
  IF-ID-7: tun0 state: unknown speed: 10 Mbps duplex: full mac: N/A
  IF-ID-8: veth00ca22f state: up speed: 10000 Mbps duplex: full
    mac: <filter>
  IF-ID-9: veth0e6de89 state: up speed: 10000 Mbps duplex: full
    mac: <filter>
  IF-ID-10: veth102d812 state: up speed: 10000 Mbps duplex: full
    mac: <filter>
  IF-ID-11: veth1f9fbdb state: up speed: 10000 Mbps duplex: full
    mac: <filter>
  IF-ID-12: veth1fc1e4f state: up speed: 10000 Mbps duplex: full
    mac: <filter>
  IF-ID-13: veth29276a1 state: up speed: 10000 Mbps duplex: full
    mac: <filter>
  IF-ID-14: veth2def335 state: up speed: 10000 Mbps duplex: full
    mac: <filter>
  IF-ID-15: veth572f50c state: up speed: 10000 Mbps duplex: full
    mac: <filter>
  IF-ID-16: veth8940918 state: up speed: 10000 Mbps duplex: full
    mac: <filter>
  IF-ID-17: veth95d0f26 state: up speed: 10000 Mbps duplex: full
    mac: <filter>
  IF-ID-18: vetha1cd32f state: up speed: 10000 Mbps duplex: full
    mac: <filter>
  IF-ID-19: vetha3038cb state: up speed: 10000 Mbps duplex: full
    mac: <filter>
  IF-ID-20: vetha4840e3 state: up speed: 10000 Mbps duplex: full
    mac: <filter>
  IF-ID-21: vethbbc41c7 state: up speed: 10000 Mbps duplex: full
    mac: <filter>
  IF-ID-22: vethe3d7ea7 state: up speed: 10000 Mbps duplex: full
    mac: <filter>
  IF-ID-23: vetheffd0c7 state: up speed: 10000 Mbps duplex: full
    mac: <filter>
  IF-ID-24: vethfa0cd24 state: up speed: 10000 Mbps duplex: full
    mac: <filter>
  IF-ID-25: vethfbb1eb7 state: up speed: 10000 Mbps duplex: full
    mac: <filter>
Drives:
  Local Storage: total: 1.84 TiB used: 350.66 GiB (18.6%)
  SMART Message: Unable to run smartctl. Root privileges required.
  ID-1: /dev/nvme0n1 maj-min: 259:0 vendor: Intel model: SSDPEKNW010T9
    size: 953.87 GiB block-size: physical: 512 B logical: 512 B
    speed: 31.6 Gb/s lanes: 4 type: SSD serial: <filter> rev: 001C
    temp: 41.9 C scheme: GPT
  ID-2: /dev/sda maj-min: 8:0 vendor: Seagate model: ST1000DM003-9YN162
    size: 931.51 GiB block-size: physical: 4096 B logical: 512 B
    speed: 6.0 Gb/s type: HDD rpm: 7200 serial: <filter> rev: CC4B
Partition:
  ID-1: / raw-size: 195.31 GiB size: 195.31 GiB (100.00%)
    used: 41.88 GiB (21.4%) fs: btrfs dev: /dev/nvme0n1p1 maj-min: 259:1
  ID-2: /boot/efi raw-size: 500 MiB size: 499 MiB (99.80%)
    used: 584 KiB (0.1%) fs: vfat dev: /dev/nvme0n1p3 maj-min: 259:3
  ID-3: /home raw-size: 758.06 GiB size: 758.06 GiB (100.00%)
    used: 308.78 GiB (40.7%) fs: btrfs dev: /dev/nvme0n1p2 maj-min: 259:2
  ID-4: /var/log raw-size: 195.31 GiB size: 195.31 GiB (100.00%)
    used: 41.88 GiB (21.4%) fs: btrfs dev: /dev/nvme0n1p1 maj-min: 259:1
  ID-5: /var/tmp raw-size: 195.31 GiB size: 195.31 GiB (100.00%)
    used: 41.88 GiB (21.4%) fs: btrfs dev: /dev/nvme0n1p1 maj-min: 259:1
Swap:
  Kernel: swappiness: 133 (default 60) cache-pressure: 100 (default)
  ID-1: swap-1 type: zram size: 31.29 GiB used: 1.2 MiB (0.0%)
    priority: 100 dev: /dev/zram0
Sensors:
  System Temperatures: cpu: N/A mobo: N/A gpu: nvidia temp: 62 C
  Fan Speeds (RPM): N/A gpu: nvidia fan: 65%
Info:
  Processes: 601 Uptime: 42m wakeups: 0 Memory: 31.29 GiB
  used: 11.51 GiB (36.8%) Init: systemd v: 251 default: graphical
  tool: systemctl Compilers: gcc: 12.1.0 Packages: 1711 pacman: 1704 lib: 379
  flatpak: 7 Shell: fish v: 3.4.1 default: Bash v: 5.1.16 running-in: konsole
  inxi: 3.3.19
e[1;34mGaruda (2.6.5-1):e[0m
e[1;34m  System install date:e[0m     2022-04-12
e[1;34m  Last full system update:e[0m 2022-07-26
e[1;34m  Is partially upgraded:  e[0m No
e[1;34m  Relevant software:      e[0m NetworkManager
e[1;34m  Windows dual boot:      e[0m Probably (Run as root to verify)
e[1;34m  Snapshots:              e[0m Snapper
e[1;34m  Failed units:           e[0m bluetooth-autoconnect.service 

The logs in the client side are empty, except for the session file

Info: Slave server running with pid 10244.
Info: Listening to slave connections on port 25001.
Info: Starting NoMachine Monitor version '7.10.1'.
Info: Loaded translation files for 'Spanish'.
10201 10201 09:01:04 308.226 OsDetect: Setting os type to 'ArchLinux'.
10201 10201 09:01:04 308.248 Main: Creating a new connection monitor.
10201 10201 09:01:04 749.309 ClientThread: Creating new thread.
10201 10201 09:01:04 749.514 ClientThread: Creating new thread.
10201 10291 09:01:04 760.076 AudioIoPulseaudioServer: Failed to get devices list.
10201 10201 09:01:04 835.766 MonitorService: Enabled drag and drop feature.
[07.27.22 09:01:07.278] X Error: 143 143
  Extension:    139 (RENDER)
  Minor opcode: 7 ()
  Resource id:  0x2e00175
[07.27.22 09:01:07.278] X Error: BadWindow 3
  Major opcode: 18 ()
  Resource id:  0x2e00174
[07.27.22 09:01:07.278] X Error: BadWindow 3
  Major opcode: 4 ()
  Resource id:  0x2e00174

file nxclient.bin

nxclient.bin: ELF 64-bit LSB executable, x86-64, version 1 (SYSV), dynamically linked, interpreter /lib64/ld-linux-x86-64.so.2, for GNU/Linux 2.6.0, stripped

In the server side:

nxserver.log

3967 3967 2022-07-27 09:01:39 270.251 NXNODE   WARNING! Process '/bin/pacmd update-source-proplist nx_remapped_out device.description="NoMachine\ Microphone"' with pid '3140277/3140277' finished with exit code 1 after 0,008 seconds.
3967 3967 2022-07-27 09:01:39 280.157 NXNODE   WARNING! Process '/bin/pacmd set-default-source nx_remapped_out' with pid '3140280/3140280' finished with exit code 1 after 0,008 seconds.
3967 3967 2022-07-27 09:01:41 282.642 NXNODE   WARNING! Process '/bin/pactl unload-module 27' with pid '3140582/3140582' finished with exit code 1 after 0,009 seconds.

nxerror.log

3140096 3140096 09:01:39 894.520 Io/Io: WARNING! Descriptor FD#19 type socket still open at exit.
Connection failure: Connection refused
pa_context_connect() failed: Connection refused

Can you help?

Check if the 3 links / workarounds in this comment help:
https://aur.archlinux.org/packages/nomachine#comment-874476

1 Like

Thank you very much.

I followed the instructions in first link to get the crash report https://forums.nomachine.com/topic/manjaro-ubuntu-connection-problem

can you please execute some commands to collect core stack and send it to us

coredumpctl list

You will receive an output like this:

TIME                          PID  UID  GID SIG     COREFILE EXE                      SIZE
Thu 2022-07-15 19:48:13 CEST 120316 1000 1000 SIGSEGV present  /usr/NX/bin/nxplayer.bin 2.1M

then depending on the pid number of the nxplayer crash, please execute:
coredumpctl gdb 120316 --debugger-arguments="-batch -ex 'thread apply all bt'" > /tmp/crashReport.txt

then please send us /tmp/crashReport.txt crash report file.

And then see that the same thing is happening to me, so

The crash report shows a crash in libnxdixl caused by a call in the nvidia driver. Why this is happening only in Manjaro remains to be seen. For now we suggest you disable hardware decoding on your Manjaro client.

You can disable it completely in the player.cfg. Please edit the file $HOME/.nx/config/player.cfg and set the configuration key “Enable hardware accelerated decoding” to “disabled”. Before changing the configuration key, you should first quit the NoMachine Player (you can do this by right clicking on the !M icon in the system tray and selecting ‘Quit NoMachine Player’.

Disabling hardware acceleration fixed my problem. Thank you again.

2 Likes

We always mark here the solution and not the implementation. :slight_smile:

I just change it.

4 Likes

This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.