Forum / NoMachine for Linux / Login prompt when trying to change server settings
Tagged: admin, change settings, debian, free version, KDE, login
- This topic has 16 replies, 3 voices, and was last updated 5 years, 9 months ago by graywolf.
-
AuthorPosts
-
November 29, 2018 at 11:53 #20649AlexParticipant
Hello,
i use the free version of NoMachine and I installed it on various machines (always Debian 8). The installation is going flawless but when I try to change the settings, there is a login prompt and I just don’t know what to do there. Tried already my local root account and even the network (LDAP) one.
I also found something in the syslogs:
sl nxexec: Libgcrypt warning: missing initialization – please fix the application
sl sudo: Libgcrypt warning: missing initialization – please fix the applicationI appreciate your help
December 3, 2018 at 11:51 #20682graywolfParticipantHello, the authorization requires a local account belonging to the sudoers group or the root account. If that doesn’t help, please create archives with server-side log files :
sudo tar zcf NoMachine-log.tar.gz /usr/NX/var/log
tar zcf nxdir.tar.gz $HOME/.nx
and gather the output of the command:
sudo -l -U {username} > sudo.txt
.Please senda data to: forum at nomachine dot com.
December 6, 2018 at 13:18 #20710graywolfParticipantMay I ask you this piece of info: just after you’ve provided username/password do you get message “Authentication failed, please try again” in the NoMachine Settings window? Or you get nothing?
December 7, 2018 at 10:10 #20721AlexParticipantI don’t get any kind of message, the login loads for a second (loading-icon) and then just disappears. (btw i sent the logs)
Thanks again.
December 10, 2018 at 15:15 #20744graywolfParticipantPlease upgrade to the latest version (6.4.6). I’m going to build libraries with verbose logging for debugging.
December 19, 2018 at 15:47 #20896graywolfParticipantPlease, would you check if zenity is installed:
which zenity
and install in case it is not:
sudo apt-get install zenity
Then retry, watch if behavior changed, collect new logs.
December 28, 2018 at 15:48 #20950AlexParticipantHello,
zenity is already installed.
$ which zenity
/usr/bin/zenityJanuary 11, 2019 at 10:12 #21041BritgirlKeymasterHi Alex, can you check your email inbox? I’ve just sent you the verbose version for debugging with instructions. Thanks!
January 21, 2019 at 09:13 #21087AlexParticipantHello,
actually i sent the logs already to you couple weeks ago, maybe it got blocked somehow. I’ll resend them with an different E-Mail.
January 21, 2019 at 09:14 #21091BritgirlKeymasterWhat’s important is that they are the logs with debug library we prepared for you 🙂
January 23, 2019 at 10:44 #21130graywolfParticipantAlex, I see that in two cases over three the provided password was wrong. In the 2nd try the password was accepted but a helper process failed to start. Could you check if any crash of process “nxplayer” is reported in your system log or in the /var/crash folder?
January 23, 2019 at 15:49 #21134AlexParticipantI found no crashes of the process nxplayer, so I tailed my syslog and tried to reproduce my steps. Got these lines during that, there is also no crash folder here.
sudo: Libgcrypt warning: missing initialization – please fix the application
console-kit-daemon[2742]: console-kit-daemon[2742]: GLib-CRITICAL: Source ID 33052 was not found when attempting to remove it
console-kit-daemon[2742]: GLib-CRITICAL: Source ID 33052 was not found when attempting to remove itJanuary 29, 2019 at 12:16 #21186graywolfParticipantIt seems privileged process cannot access directory /home/”username”/.nx
Warning: Cannot access user NX directory ‘/home/”username”/.nx’.
3080 3080 08:53:53 520,237 IoUtility: WARNING! Can’t create user directory ‘/home/”username”/.nx’. Error is ‘Keine Berechtigung’.
3080 3080 08:53:53 520,249 IoUtility: WARNING! Can’t create user directory ‘.nx’. Error is ‘Keine Berechtigung’.In order to check the user id of the privileged process, please add this line to nxplayer script, between the added “env” and the “exec” command:
ps -p $$ -O euid,ruid,suid,luid >&2
and let we know the result.
Thanks for you patience.
January 29, 2019 at 14:28 #21189AlexParticipantHello, added the line and got the following result:
PID EUID RUID SUID LUID S TTY TIME COMMAND 7334 2097 2097 2097 - S pts/3 00:00:00 /bin/bash /usr/NX/bin/nxplayer
Thanks.
January 29, 2019 at 18:06 #21195graywolfParticipantUser 2097 should have permission to access dir /home/”username”/.nx
Could you check it is the same running user interface and owning .nx dir? Please run the commands
ps -C nxclient.bin -O euid,ruid,suid,luid
ls -ldn /home/"username"/.nx
-
AuthorPosts
Closed because the user did not provide further feedback. Please notify us if you confirm that it is resolved or open a new topic if you have the same problem.