Connect from Ubuntu 22.04 to Windows 11 drops on first screen

Forum / NoMachine for Linux / Connect from Ubuntu 22.04 to Windows 11 drops on first screen

Viewing 12 posts - 1 through 12 (of 12 total)
  • Author
    Posts
  • #44611
    dccrens
    Participant

    I have 2 Windows 11 machines, one a laptop, and one a Surface 3 pro. Both have NoMachine 8.5.3 (the latest version). Both can connect to each other with no issues. I also have an Intel I7 desktop running Ubuntu 22.04 and NoMachine 8.5.3. This machine and the Windows machines have always connected to each other with no issues. I have been using NoMachine for several years.  Two days ago I started having an issue connecting from the Ubuntu 22.04 machine to any other machine. When I open a connection the initial connection window opens with the “ok” button on the bottom right. At the same time, a pop-up notice appears on the machine I am connecting to saying that the Ubuntu 22.04 machine has connected. However, the window on the Ubuntu 22.04 machine with the “ok” button on the bottom right immediately disappears, and the desktop display window from the destination machine never appears.

    I can however reverse the connection and connect from the Windows machine to the Ubuntu 22.04 machine with no issues.

    I have installed and reinstall the latest version of NoMachine on all machines. Checked UFD(on Unbuntu) and firewalls and no are running, except the outside perimeter firewall on my router. I followed the instructions I could find to attach a log file. Let me know if I can provide anything else. I really need this to work. I display my work laptop to the larger monitors hooked up to my Ubunut 22.04 machine. I am a Unix/Windows administrator so do know a bit but could not figure this out.

    This is very frustrating since everything has previously been working so well.

    Thanks.

    #44615
    Britgirl
    Keymaster

    Hi,

    can you submit the server side logs (Windows) as per the instructions here?

    We’ll also need the player side logs from the Ubuntu machine.

    https://kb.nomachine.com/DT07S00243

     

    Please send everything to forum[at]nomachine[dot]com making sure to use the title of the topic as the subject of your email. Thanks!

    #44616
    dccrens
    Participant

    I have emailed everything to the email address provided above.

     

    #44663
    Britgirl
    Keymaster

    We checked the logs. Unfortunately they are not complete.

    On the Ubuntu where you are starting the connection, when the session finishes get the .nx directory from your user home. (command to execute is tar -zcf userHomeNX.tar.gz /home/username/.nx)

    After you’ve enabled logs on the Windows server with %ALLUSERSPROFILE%\NoMachine\nxserver\nxserver.exe --debug --enable,

    On the Ubuntu where you are starting the connection, when the session finishes get the .nx directory from your user home. (command to execute is tar -zcf userHomeNX.tar.gz /home/username/.nx)

    Then gather the logs on the Windows side, %ALLUSERSPROFILE%\NoMachine\nxserver\nxserver.exe --debug --collect. You’ll find the log in %PROGRAMDATA%/NoMachine/var/log/archives.

    #44675
    Britgirl
    Keymaster

    We got the logs, thanks. Please also tell us the output of vainfo –display drm on the Ubuntu machine.

    #44676
    dccrens
    Participant

    out put of vainfo –display drm

     

    $ vainfo –display drm

    libva info: VA-API version 1.14.0

    libva error: vaGetDriverNameByIndex() failed with unknown libva error, driver_name = (null)

    vaInitialize failed with error code -1 (unknown libva error),exit

     

    #44716
    Britgirl
    Keymaster

    The vainfo output confirms that this is not a NoMachine issue, but a drivers issue. You can gather some more info on the driver problem by trying to run the vainfo command again modified in this way:

    LIBVA_DRIVER_NAME=nvidia vainfo --display drm

    You can also check the suggestions in these posts:

    No hardware decode on Kubuntu 22.04 + GTX 1060 6GB

    No hardware decode on Kubuntu 22.04 + GTX 1060 6GB

    As a workaround an option is to disable hardware decoding in the player. This is done in the following way:

    – close all nxplayer processes

    – open the $HOME/.nx/config/player.cfg file

    – find the “Enable hardware accelerated decoding” key and change it to look like this:

    <option key=”Enable hardware accelerated decoding” value=”disabled” />

    #44736
    dccrens
    Participant

    Hello,

    Just checking in on this issue. Any progress? I saw today a new version was released 8.6.1, but it doesn’t help the issue.

    #44743
    Britgirl
    Keymaster

    Please see my response from June 27th in this thread (#post-44716).

    This is not a NoMachine issue. However, a workaround is to disable hardware decoding in the player. This is done in the following way:

    – close all nxplayer processes

    – open the $HOME/.nx/config/player.cfg file

    – find the “Enable hardware accelerated decoding” key and change it to look like this:

    <option key=”Enable hardware accelerated decoding” value=”disabled” />

    #44750
    dccrens
    Participant

    Thanks, Britgirl! The workaround suggested was successful.

    #44782
    Ilgaz
    Participant

    Hello. I didn’t want to open a new topic on the same issue. It also coredumps (disappears) on openSUSE Tumbleweed with nvidia 9400.

    LIBVA_DRIVER_NAME=nouveau vainfo --display drm
    Trying display: drm
    libva info: VA-API version 1.18.0
    libva info: User environment variable requested driver 'nouveau'
    libva info: Trying to open /usr/lib64/dri/nouveau_drv_video.so
    libva info: Found init function __vaDriverInit_1_18
    libva info: va_openDriver() returns 0
    vainfo: VA-API version: 1.18 (libva 2.18.2)
    vainfo: Driver version: Mesa Gallium driver 23.1.3 for NVAC
    vainfo: Supported profile and entrypoints
    VAProfileMPEG2Simple            : VAEntrypointVLD
    VAProfileMPEG2Main              : VAEntrypointVLD
    VAProfileVC1Simple              : VAEntrypointVLD
    VAProfileVC1Main                : VAEntrypointVLD
    VAProfileVC1Advanced            : VAEntrypointVLD
    VAProfileH264ConstrainedBaseline: VAEntrypointVLD
    VAProfileH264Main               : VAEntrypointVLD
    VAProfileH264High               : VAEntrypointVLD
    VAProfileNone                   : VAEntrypointVideoProc

    #44791
    Britgirl
    Keymaster

    Ilgaz, did you mean to write for this topic, or the other topic here:
    https://forum.nomachine.com/topic/no-hardware-decode-on-kubuntu-22-04-gtx-1060-6gb/page/2 ?

Viewing 12 posts - 1 through 12 (of 12 total)

This topic was marked as solved, you can't post.