Forum Replies Created
-
AuthorPosts
-
November 10, 2022 at 09:40 in reply to: Nxd does not start from systemd, but does from nxserver –restart #41348zaqParticipant
Hello
We need more info, could you prepare log package as is described in:
https://kb.nomachine.com/DT10O00163#1.1
Pls run this commands one after another:
1.
/etc/NX/nxserver --version
2.
sudo /etc/NX/nxserver --shutdown
3.
ps -efja | grep nx
4.
sudo systemctl start nxserver
5.
systemctl status nxserver
6.
ps -efja | grep nx
and send output, the logs package to forum[at]nomachine[dot]com.
Which distribution of Linux do you use?
zaqParticipantHello McVitas,
Looks like you have a problem with creating a profile of user nx.
There are 2 possible reason:1. Do you use domain users/LDAP/ActiveDirectory? Do you have non
standard restrictions for users?2. It’s possible that default user profile on your host might be
corrupted. You can try to create few user accounts and check if
it’s possible to login on their desktops. If you experience any
problems, please refer to this Stack Overflow thread:https://superuser.com/questions/947398/cant-login-with-new-local-users-in-windows-10
zaqParticipantHello bge22
Looks like you have a problem with creating a profile of user nx.
There are 2 possible reason:1. Do you use domain users/LDAP/ActiveDirectory? Do you have non
standard restrictions for users?2. It’s possible that default user profile on your host might be
corrupted. You can try to create few user accounts and check if
it’s possible to login on their desktops. If you experience any
problems, please refer to this Stack Overflow thread:https://superuser.com/questions/947398/cant-login-with-new-local-users-in-windows-10
zaqParticipantHello,
Your license files look ok. You shouldn’t have problems during the update. To be sure that everything will be right after the update, you can check expiration dates:sudo grep Expiry: /usr/NX/etc/*lic
zaqParticipantHi,
In log files you have a line:
NX> 701 Running: '/etc/NX/nxnode' --validate.
I was able to reproduce it only when:
– I don’t have /usr/NX/etc/node.lic,
– but I have /usr/NX/etc/node.lic.sample.I haven’t reproduced a situation with disappearing server.lic. Probably there is also something wrong
with your file. Maybe node.lic and server.lic were from different NoMachine products(?)Before update, your /usr/NX/etc/ lic files should look like this:
$ ls -l /usr/NX/etc/*lic* -r-------- 1 nx root 885 mar 31 18:35 /usr/NX/etc/node.lic -r-------- 1 root root 894 mar 31 18:35 /usr/NX/etc/node.lic.backup -r-------- 1 nx root 817 mar 31 18:34 /usr/NX/etc/server.lic -r-------- 1 root root 823 mar 31 18:34 /usr/NX/etc/server.lic.backup
$ sudo grep "Product Id:" /usr/NX/etc/*lic* /usr/NX/etc/node.lic:Product Id: LEDSN /usr/NX/etc/node.lic.backup:Product Id: LEDEN /usr/NX/etc/server.lic:Product Id: LEDS /usr/NX/etc/server.lic.backup:Product Id: LEDE
There could be missing *lic.backup files if you didn’t use nxplayer’s GUI for replacing licenses.
zaqParticipantHello Vragosta,
We weren’t able to reproduce the error.
Could you gather logs from the affected host:
$ sudo tar cvfz NoMachine-log.tar.gz /usr/NX/var/log
and send to forum[at]nomachine[dot]com please?
zaqParticipantHello Dmdatzler,
Could you gather logs from the affected host:
$ sudo tar cvfz NoMachine-log.tar.gz /usr/NX/var/log
and send to forum[at]nomachine[dot]com please?
zaqParticipantHello @jurgen,
As I understand you installed NoMachine on your custom Linux distro build by Yocto. Now the main problem with the installation is missing HOME dir of user nx:/var/NX/nx
You can:
1. Uninstall NoMachine:$sudo /usr/NX/scripts/setup/nxserver --uninstall $sudo rm -rf /usr/NX
2. Create the dir:
$sudo mkdir -p /var/NX/nx
3. Install NoMachine again in the same way
$/usr/NX/nxserver --install debian
If it doesn’t work you can try to install NoMachine by choosing different sysetm:
nxserver –install {SYSTEM}
SYSTEM:
redhat Red Hat Enterprise 4 and later.
suse SLED 10 and later, SLES 10 and later, Open SUSE 10 and later.
slackware
mandriva Mandriva 2009 and later.
debian Debian 4.0 and later.
Ubuntu 8.04 and later.
fedora Fedora 10 and later.zaqParticipantYou should get an output like:
“The command completed successfully.”
Looks like something is wrong with creating user accounts on your system.
Could you check if user nx is present in a list of all of your users:
net user
if there is an nx user, please remove it by:
net user nx /DEL
We need to check system logs related to user management. You can enable it by:
1. Click ‘Start’.
2. Find Administrative Tools
3. Open Local Security Policy
4. Go to Audit Policy
6. Enable AuditAccountManagement for Success and Failure:Click right button of the mouse on ‘Audit account management, go to Properties -> Audit these attempts,
enable Success and Failure.After that you can check the logs:
1. Go back to Administrative Tools.
2. Open Event Viewer
3. Go to: Windows Logs -> Security
4. Create again the account:net user nx "YOUR_PASSWORD" /y /ADD
5. In Event Viewer window click Action->Refresh, check logs related to creating user nx account, They have
‘User Account Management’ type in Task Category column.After that, you can disable system logs related to user management by restoring to original values AuditAccountManagement Policy.
zaqParticipantLogs received. Thanks. The problem is directly related to this command:
net user nx “PASSWORD” /y /ADD
Could you:
1) Open cmd as Administrator – open Menu Start and just write cmd, then choose ‘Run as administrator’.
2) Run this command:
net user nx "YOUR_PASSWORD" /y /ADD
3) Send the whole output from the command to forum[at]nomachine[dot]com please?
zaqParticipantNoMachine server software needs nx user for its proper working. You can find more information here:
https://knowledgebase.nomachine.com/AR01N00871
If you just need to connect from the Windows machine to another computer you can install nomachine-enterprise-client package. It doesn’t need nx user:
https://www.nomachine.com/download/download&id=16
To investigate the problem please pack a folder with logs:
C:\ProgramData\NoMachine\var\log
and send to forum[at]nomachine[dot]com.
zaqParticipantHello pnunn
Looks like you have a problem with creating a profile of user nx.
There are 2 possible reason:1. Do you use domain users/LDAP/ActiveDirectory? Do you have non
standard restrictions for users?2. It’s possible that default user profile on your host might be
corrupted. You can try to create few user accounts and check if
it’s possible to login on their desktops. If you experience any
problems, please refer to this Stack Overflow thread:https://superuser.com/questions/947398/cant-login-with-new-local-users-in-windows-10
zaqParticipantHi,
We weren’t able to reproduce the error. Could you check your NoMachine
Service shortcut? It’s the path:C:\ProgramData\Microsoft\Windows\Start
Menu\Programs\NoMachine\NoMachine Serviceand check target like you can see in the attached picture.
Also logs will be helpful, please gather them like it is described in:
https://www.nomachine.com/DT10O00163#1.4
and send log archive to:
forum[at]nomachine[dot]com
Attachments:
zaqParticipantHello Babok,
Did you do update by installing *exe file with new version or by clicking in Settings in GUI? Which was your previous version?
zaqParticipantHello,
Could you check status of nxserver start mode:
/etc/NX/nxserver --startmode
if you get:
NX> 807 Service NoMachine status is: Manual
please set as automatic:
sudo /etc/NX/nxserver --startmode automatic
-
AuthorPosts