Forum Replies Created
-
AuthorPosts
-
BritgirlKeymasterTry resetting Permissions for Accessibilty and Screen Recording. Remove NoMachine from both lists (click the ‘-‘ button) and then restart NoMachine (you can do it from terminal with
sudo /etc/NX/nxserver --restart) and follow the prompts that should direct you to enabling permissions again.
BritgirlKeymasterThis is strange behaviour and not one that we are aware. If you send us the logs that we requested in your other topic, we can check if there is anything that indicates why the nxserver is not starting.
BritgirlKeymasterWe are not able to reproduce this behaviour connecting from Windows to Debian Buster, 8.9 both sides.
What desktop environment are you connecting to exactly?
What do you mean with “If I plug the keyboard directly into the client – it works correctly as it does when I plug it into the host. When I type into the client the keys are translated at the host.” Is this a laptop? So you are plugging in an external keyboard and it works, but when using the device’s own keyboard, you get alternating case text?
Does this happen in all applications?
BritgirlKeymasterApologies for the incorrect link, now corrected and repasted here:
https://kb.nomachine.com/DT07S00243Please use the instructions in this document and not the document you found which is for an old version of NoMachine and does not apply to you. I have pasted the first step here for your convenience.
First Step: Enable Debug Level on the Problematic Server/Node Host
(macOS)Open a terminal on your mac machinee and run:
$ sudo /etc/NX/nxserver --debug --enable allthen continue with steps in the document. You can send everything to forum[at]nomachine[dot]com. Please use the title of the topic as the subject of your email. Thanks.
BritgirlKeymasterHi,
what version of Fail2Ban are you using? We have an article that outlines how to configure Fail2Ban with NoMachine which you can consult here: https://kb.nomachine.com/AR05P00983. These changes apply to the latest version of NoMachine, currently 8.9.
We just updated it to include the change required for Fail2Ban 1.0.2 or later, which are reported below.
For Fail2Ban v1.0.2 and later, the following changes need to be made:
———-
sudo cat /usr/NX/share/fail2ban/nxauth.conf
———-
#
# Fail2Ban filter for NoMachine.
#[Definition]
#
# The default regex matches all the supported authentication methods
# for connections by NX protocol, which are:
# password : Password authentication.
# private-key: Key-based authentication.
# kerberos : Kerberos ticket-based authentication.
#
# For example, set the regex to match password based authentication
# method:
#
# method=password
#
# Most common error messages:
#
# Method: password
# ErrorMsg: Wrong password or login
#
# Method: private-key
# ErrorMsg: Public key not recognized
# ErrorMsg: Wrong signature
#
# Method: kerberos
# ErrorMsg: Kerberos GSS token is not verified
# ErrorMsg: Kerberos GSS user is not valid
# ErrorMsg: Kerberos GSS MIC is not verified
#method=[^’]*
errorMsg=[^’]*failregex = ^.*ERROR! Authentication with ‘.*%(method)s.*’ from host ‘<HOST>’ failed\. Error is ‘%(errorMsg)s’\.$
ignoreregex =
datepattern = %%Y-%%m-%%d %%H:%%M:%%S
———–
sudo cat /usr/NX/share/fail2ban/nxd.conf
———–
#
# Fail2Ban filter for NoMachine.
#[Definition]
#
# Regex matches all accepted NX protocol connections.
#failregex = ^Info: Connection from <HOST> port \d+ accepted on.*$
ignoreregex =
datepattern = %%a %%b %%d %%H:%%M:%%S %%Y
October 16, 2023 at 09:50 in reply to: Computer discovered in the same LAN, but cannot connect #45695
BritgirlKeymasterHi,
what version of Ubuntu is it?
When you try to connect to the Ubuntu machine, what OS are you connecting from?
Are you able to connect from the Ubuntu machine to any of the other computers on LAN?
Do you get the same error if you start a session manually by clicking ‘Add’ and inserting the IP address in the host field, or by inserting the IP address in the ”Search” field, and clicking ‘Connect’?
If you right click the Ubuntu machine icon in Machines (it’s the icon with a pipe symbol), and select ‘Edit connection’, what do you see (attach screenshot please)?
related to https://forum.nomachine.com/topic/connection-time-out-trying-to-access-nomachine-ubuntu-desktop where you can find a workaround.
BritgirlKeymasterNuertey, your file shows
Oct 12 16:42:15 ip-10-102-91-113.xxxxxx.com gnome-session[3258]: gnome-session-binary[3258]: WARNING: software acceleration check failed: Child process exited with code 1
You can try adding
--disable-acceleration-checkoption in the gnome-session command in the DefaultDesktopCommand key, in /usr/NX/etc/node.cfg.October 13, 2023 at 12:37 in reply to: Cannot detect any display running, Do you want NoMachine to create a new display #45689
BritgirlKeymasterSo now you can connect with NoMachine?
October 13, 2023 at 08:59 in reply to: Cannot detect any display running, Do you want NoMachine to create a new display #45685
BritgirlKeymasterThis message appears when NoMachine finds no display running, so it asks you if you want to create one. NoMachine is designed to work out-of-the-box on Linux headless machines provided a desktop environment is installed. NoMachine is able to detect when the X server is not running and run its own virtual display, which is an embedded X server.
If you click “yes” what happens?
BritgirlKeymasterHi, can we see server logs, journalctl output, and additionally xrandr output before and after the NoMachine connection?
To get NoMachine server logs, please follow the instructions here and send to forum[at]nomachine[dot]com using “Cannot restore X11/KDE resolution after disconnecting” as the title.
https://kb.nomachine.com/DT07S00243
Thanks.
BritgirlKeymasterHi Nuertey, send it to forum[at]nomachine[dot]com. There must be a character in the file that is clashing with our filter.
October 12, 2023 at 10:44 in reply to: Windows client freeze and cannot restart without reboot (continued) #45663
BritgirlKeymasterThanks for your report. We will investigate what can be done from our side. Have you reached out to Wacom as well?
BritgirlKeymasterHi, the logs didn’t attach, please send them direct to forum[at]nomachine[dot]com. You can reply to our email which asked you to update to the most recent version of NoMachine 🙂
BritgirlKeymasterCould it be a networking issue on the client side? Are you still not able to connect from Monterey?
BritgirlKeymasterI am able to get a desktop connected with NoMachine if I use a barebones local user account. If I use my Active Directory login with sssd, it doesn’t work. So it could be something related to my AD user configuration, or something with sssd specifically.
This seems to be a different problem to the original one and we don’t understand how the two could be related without investigating further. This might warrant a separate topic so as not to confuse the thread. But first the original issue of not being able to create a display…
For some reason Gnome is failing and to understand why we would need to see the journalctl log of the server. Run (without the ‘grep’)
sudo journalctl -x -
AuthorPosts
