Forum Replies Created
-
AuthorPosts
-
zaqParticipant
Hello Eragontux
We weren’t able to reproduce the problem in our laboratory.
Could you send output from this commands:
/etc/NX/nxserver --version
ps aux | grep nx
systemctl status nxserver
sudo systemctl restart nxserver
and packed log directory:
/usr/NX/var/log
to forum[at]nomachine[dot]com.
Do you see the error in YaST2 GUI, pls check attached image.
Attachments:
zaqParticipantHello wlgrd,
Could you:
1) Open cmd as Administrator – open Menu Start and just write cmd, then choose ‘Run as administrator’.
2) Run this commands:
dir "C:\Program Files (x86)\NoMachine\etc"
icacls "C:\Program Files (x86)\NoMachine\etc\nodes.db"
3) Send the whole log file and outputs from the commands to forum[at]nomachine[dot]com please?
zaqParticipantI 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: -
AuthorPosts