Forum / NoMachine for Linux / Connect from Ubuntu 22.04 to Windows 11 drops on first screen
- This topic has 11 replies, 3 voices, and was last updated 1 year, 4 months ago by Britgirl.
-
AuthorPosts
-
June 19, 2023 at 16:29 #44611dccrensParticipant
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.
Attachments:
June 19, 2023 at 17:20 #44615BritgirlKeymasterHi,
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!
June 19, 2023 at 18:06 #44616dccrensParticipantI have emailed everything to the email address provided above.
June 22, 2023 at 17:19 #44663BritgirlKeymasterWe 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.June 23, 2023 at 11:19 #44675BritgirlKeymasterWe got the logs, thanks. Please also tell us the output of vainfo –display drm on the Ubuntu machine.
June 23, 2023 at 13:13 #44676dccrensParticipantout 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
June 27, 2023 at 09:40 #44716BritgirlKeymasterThe 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:
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” />
June 28, 2023 at 13:41 #44736dccrensParticipantHello,
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.
June 28, 2023 at 14:28 #44743BritgirlKeymasterPlease 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” />
June 28, 2023 at 14:44 #44750dccrensParticipantThanks, Britgirl! The workaround suggested was successful.
July 2, 2023 at 19:23 #44782IlgazParticipantHello. 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 : VAEntrypointVideoProcJuly 3, 2023 at 12:12 #44791BritgirlKeymasterIlgaz, 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 ? -
AuthorPosts
This topic was marked as solved, you can't post.