Forum Replies Created
-
AuthorPosts
-
zaqParticipant
I think that you can find more useful information here:
zaqParticipantHello gasde,
We weren’t able to reproduce the problems in our laboratory.
Could you gather logs from the affected host like it’s described in:https://www.nomachine.com/DT10O00163#1.1
and send to forum[at]nomachine[dot]com please?
zaqParticipantHello fr2
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 resmi,
Looks like your issue is related to a presence of nx user.
Probably user nx was removed during the installation process.Do you use domain users/LDAP/ActiveDirectory? Do you have non
standard restrictions for users?A standard set of logs will be helpful. Gather them like is
described in:https://www.nomachine.com/DT10O00163#1.1
and send to forum[at]nomachine[dot]com.
zaqParticipantHello apfaffman,
You are right, looks like your issue is related to presence of nx user
From logs looks like in the beginning of installation the user had
existed:NX> 700 Running: /usr/sbin/chown nx:wheel ‘/Applications/NoMachine.app/Contents/Frameworks/etc/update.cfg’.
NX> 700 Result: OK.but in the next phase there where problems:
NX> 700 Running: /usr/sbin/chown nx:wheel ‘/Applications/NoMachine.app/Contents/Frameworks/etc/guests.db.lock’.
NX> 700 ERROR: Cannot change ownership of: /Applications/NoMachine.app/Contents/Frameworks/etc/guests.db.lock to: nx:wheel.Looks like the user nx was removed during installation process.
Do you use domain users/LDAP/ActiveDirectory? Do you have non
standard restrictions for users?April 14, 2020 at 12:50 in reply to: Terminal Server won’t start: Can’t create directory ‘/var/NX/nx/.nx #26713zaqParticipantHello david555
Probably your problem is related to SELinux. To check this you can:
1) temporally set permission mode
sudo setenforce 0
2) run NoMachine:
sudo /etc/NX/nxserver --restart
3) try to reproduce the problem,
4) set SELinux’s enforce mode:
sudo setenforce 1
if you aren’t able to reproduce the problem, then we check deeper
SELinux logs.Anyway a standard set of logs will be helpful. Gather them like is
described in:https://www.nomachine.com/DT10O00163#1.1
and send to forum[at]nomachine[dot]com.
zaqParticipantHello coco_jie
We are not able to reproduce the problem in our laboratory. Could you
give us more info please.Send output from commands:
1)
/etc/NX/nxserver --version
2)
ps aux | grep nx
3)
sudo /etc/NX/nxserver --startup
and also set of logs in the way like it’s described:
February 3, 2020 at 12:57 in reply to: Cannot install latest version (6.9.2.1) on Ubuntu 16.04 #25464zaqParticipantHello,
The problem is related to ‘install’ command.
Probably the standard command was replaced by a link/wrapper to apt.
Could you run:/bin/install --help
It should looks like this:
$ install --help Usage: install [OPTION]... [-T] SOURCE DEST or: install [OPTION]... SOURCE... DIRECTORY or: install [OPTION]... -t DIRECTORY SOURCE... or: install [OPTION]... -d DIRECTORY... This install program copies files (often just compiled) into destination locations you choose........
The default location of original ‘install’ program in Ubuntu 16.04 is:
/usr/bin/install
zaqParticipantHello Carlos,
During detecting name of Administrator’s group something went wrong.
Do you use ActiveDirctrory/LDAP/domain users?To investigate the problem I need output from these commands:
net localgroup
net user nx
and a file adminGroup.txt from this:
"C:\Program Files (x86)\NoMachine\bin\nxdisplay.exe" --admingroup > adminGroup.txt
You can send the outputs and the file to forum[at]nomachine[dot]com.
zaqParticipantHello Sergey Slizovskiy,
Generally you can install a package with the patch having only NoMachine access.
If you are attached by NoMachine to physical session – the session is visible on physical screen. You can run terminal and install update package. You will be disconnected but after several minutes, when update finished you should be able connect again.
If you are not sure that you are running physical session or you are running virtual NoMachine session, you can install ‘screen’ program:
sudo apt update sudo apt install screen
then run screen session -> execute in terminal:
screen
and in the screen session run NoMachine update:
sudo dpkg -i nomachine_6.7.6_41_amd64.deb
you will be disconnected, and after update finished you can connect by NoMachine again.
As safe as updating NoMachine is, there is a risk that something totally unexpected could happen. This could affect the possibility of connecting via NoMachine.
zaqParticipantHello
I assume, that you have now uninstalled NoMachine.
Please run this commands and preserve output of them:sudo systemctl stop nxserver.service sudo systemctl disable nxserver.service sudo rm /etc/systemd/system/nxserver.service sudo rm /usr/lib/systemd/system/nxserver.service sudo rm /etc/init.d/nxserver.service sudo rm /etc/init.d/nxserver sudo systemctl reset-failed nxserver.service
After executed this commands if you still get the same error, please
show us the commands output.zaqParticipantHello Amivaleo
Looks like really something went wrong during uninstallation. I think that the quickest way to solve your problem is to install again and uninstall NoMachine following the regular procedure. Please follow these steps:
1) remove leftover dirs:
sudo rm -rf /usr/NX /etc/NX /var/NX
2) install again:
sudo rpm -i nomachine_6.7.6_11_x86_64.rpm
3) uninstall:
sudo rpm -e nomachine
zaqParticipantHello,
Most possible is that you had corrupted default user profile (point 4). When you have this issue you can create a new user
account but you can’t log in:zaqParticipantHello oussama abd
The problem happens during creating a profile of nx user – during the first login. The system error:
‘NtRights: ERROR! User login failed. Error is 1385.’
During installation preexistence of user nx wasn’t detected.
Also he doesn’t belong to domain/Active Directory.1. Do you have set up any restriction related to creating and login as
a new user?2. Have you changed anything in Group Policy?
3. Do you have enabled network logon?
4. Are you able to create and login as a new user by standard Windows
interface? If not it can be caused by a corrupted default profile.5. Do you use domain/Active Directory/LDAP users profiles?
zaqParticipantHello,
I assume you are using Linux because you posted in the Linux forum.
Could you tell which distro you have installed (Ubuntu, Debian, RedHat, other)?*.deb packages you should use for Debain, Ubuntu and similar.
*.rpm packages are intended for: Red Hat Enterprise, SLED, SLES, Open SUSE, Mandriva, Fedora.
*.tar.gz packages you can use for systems like Arch and others which don’t support *rpm and *deb packages.
Is it your system headless – without graphical environment like GNOME or KDE?
To check which package x32 or x64 you should use run this command:
uname -a
If in the output you got ‘x86_64’:
Linux bee 4.4.0-124-generic #148-Ubuntu SMP Wed May 2 13:00:18 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux
please use packages x86_64 or amd64.
If in the output you got ‘i686’:
Linux ubuntu-1704-32bit 4.10.0-19-generic #21-Ubuntu SMP Thu Apr 6 17:03:14 UTC 2017 i686 i686 i686 GNU/Linux
you should use i686 or i386 installation packages.
In your situation I think that the best solution is completely reinstall:
1) remove installation:
for *.deb:
sudo dpkg -P nomachine
for *.rpm:
sudo rpm -e nomachine
for *.tar.gz
sudo /usr/NX/scripts/setup/nxserver --uninstall
2) removing all leftovers:
sudo rm -rf /usr/NX /etc/NX /var/NX
3) install again:
*.deb x32:
sudo dpkg -i nomachine_6.4.6_1_i386.deb
*.deb x64:
sudo dpkg -i nomachine_6.4.6_1_amd64.deb
*.rpm x32:
sudo rpm -i nomachine_6.4.6_1_i686.rpm
*.rpm x64:
sudo rpm -i nomachine_6.4.6_1_x86_64.rpm
*.tar.gz x32:
Click on Download and save the TAR.GZ file in the /usr directory.
Extract the TAR.GZ archive by running from command line:sudo tar zxvf nomachine_6.4.6_1_i686.tar.gz
Install NoMachine by executing:
sudo /usr/NX/nxserver --install
*.tar.gz x64:
Click on Download and save the TAR.GZ file in the /usr directory.
Extract the TAR.GZ archive by running from command line:sudo tar zxvf nomachine_6.4.6_1_x86_64.tar.gz
Install NoMachine by executing:
sudo /usr/NX/nxserver --install
After that you should be able to see symbol of NoMachine in your
system’s tray. In applications menu should be !M entires. Also
NoMachine’s processes should be running:$ ps ax | grep nx
7188 ? S< 0:00 /usr/NX/bin/nxexec –node –user john –priority realtime –mode 0 –pid 14
7193 ? S<l 0:13 /usr/NX/bin/nxnode.bin
7223 ? Sl 1:00 /usr/NX/bin/nxclient.bin –monitor –pid 2182
20887 ? Ssl 5:50 /usr/NX/bin/nxserver.bin –daemon
20998 ? Sl 0:00 /usr/NX/bin/nxdYou can find more details here:
https://www.nomachine.com/all-documents
If you don’t see NoMachine processes you can gather logs:
https://www.nomachine.com/DT10O00162
and send them to forum[at]nomachine[dot]com.
-
AuthorPosts