Thanks. I am going to test that. I suppose that nscd is not a standard component of Slackware 12.0.<br><br><div><span class="gmail_quote">2007/10/23, Brent Davidson <<a href="mailto:brent@texascountrytitle.com">brent@texascountrytitle.com
</a>>:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div bgcolor="#ffffff" text="#000000">
On my system (Centos 5) the nscd lines were the cause of the problem.
I couldn't get them to generate any error codes, but commenting them
out makes it work.<br>
<br>
Thanks,<br>
Brent<br>
<br>
Alain Lemerre wrote:
<blockquote type="cite"><div><span class="e" id="q_115ce994d06f42e0_1">Hi,<br>
<br>
Working to try to find why 0.7.1 doesn't work, I have noticed that nx
user and nx group doen't work on my Slackware 12.0 box. 0.7.0 is fine.
0.7.1 dosen't work.<br>
<br>
In 0.7.0 : <br>
<br style="font-style: italic;">
<span style="font-style: italic;">Setting up /var/lib/nxserver/db
...done</span><br style="font-style: italic;">
<span style="font-style: italic;">Setting up /var/log/nxserver.log
...done</span><br style="font-style: italic;">
<span style="font-style: italic;">Setting up special user "nx"
...Password changed.</span><br style="font-style: italic;">
<span style="font-style: italic;">done</span><br style="font-style: italic;">
<span style="font-style: italic;">Setting up known_hosts and
authorized_keys2 ...done</span><br style="font-style: italic;">
<span style="font-style: italic;">Setting up permissions ...done</span><br style="font-style: italic;">
<span style="font-style: italic;">Setting up cups nxipp backend
...done</span><br>
<br>
<br>
<br>
in 0.7.1 <br>
<br>
<span style="font-style: italic;">Do you want to use your own custom
KeyPair? [y/N] ySetting up /etc/nxserver ...done</span><br style="font-style: italic;">
<span style="font-style: italic;">Setting up /var/lib/nxserver/db
...done</span><br style="font-style: italic;">
<span style="font-style: italic;">Setting up /var/log/nxserver.log
...done</span><br style="font-style: italic;">
<span style="font-style: italic;">Setting up special user "nx"
...bash-3.1# </span><br>
<br>
<span style="font-weight: bold;">Code in 0.7.0 (works)</span><br>
<br>
# Is it a debian?<br>
if [ -f /etc/debian_version -a -z "$SETUP_UID" ]
<br>
then<br>
USERADD_OPTIONS="--ingroup nx --system --home $NX_HOME_DIR
--shell $PATH_BIN/nxserver"<br>
[ -n "$SETUP_GID" ] && GROUPADD_OPTIONS="--gid
$SETUP_GID"<br>
<br>
# adduser needs a valid group to add the user to<br>
! nx_group_exists && addgroup --system --quiet
$GROUPADD_OPTIONS nx<br>
adduser $USERADD_OPTIONS nx<br>
<br>
# no, its a "normal" useradd
<br>
else<br>
USERADD_OPTIONS="-g nx -d $NX_HOME_DIR -s $PATH_BIN/nxserver"<br>
[ -n "$SETUP_GID" ] && GROUPADD_OPTIONS="-g $SETUP_GID"<br>
<br>
# uid specified?
<br>
if [ -n "$SETUP_UID" ]<br>
then<br>
USERADD_OPTIONS="-u $SETUP_UID $USERADD_OPTIONS"<br>
<br>
# Is it a SuSE?<br>
elif [ -f /etc/SuSE-release ]<br>
then
<br>
USERADD_OPTIONS="-r $USERADD_OPTIONS"<br>
fi<br>
<br>
if [ "$SETUP_LOCAL_USER" = "yes" ]<br>
then<br>
! nx_group_exists && lgroupadd $GROUPADD_OPTIONS nx
<br>
luseradd $USERADD_OPTIONS nx<br>
else<br>
! nx_group_exists && groupadd $GROUPADD_OPTIONS nx<br>
useradd $USERADD_OPTIONS nx<br>
fi<br>
<br>
<br>
fi<br>
<br>
<br>
<br>
<br>
<span style="font-weight: bold;">Code in 0.7.1 (does't work)<br>
<br>
<br>
</span><br>
else<br>
USERADD_OPTIONS="-g nx -d $NX_HOME_DIR -s $PATH_BIN/nxserver"<br>
[ -n "$SETUP_GID" ] && GROUPADD_OPTIONS="-g $SETUP_GID"
<br>
<br>
# uid specified?<br>
if [ -n "$SETUP_UID" ]<br>
then<br>
USERADD_OPTIONS="-u $SETUP_UID $USERADD_OPTIONS"<br>
<br>
# Is it a SuSE?<br>
elif [ -f /etc/SuSE-release ]
<br>
then<br>
USERADD_OPTIONS="-r $USERADD_OPTIONS"<br>
fi<br>
<br>
if [ "$SETUP_LOCAL_USER" = "yes" ]<br>
then<br>
! nx_group_exists && lgroupadd $GROUPADD_OPTIONS nx
<br>
[ -f /etc/nscd.conf ] && { nscd --invalidate group;
}<br>
<br>
luseradd $USERADD_OPTIONS nx<br>
[ -f /etc/nscd.conf ] && { nscd --invalidate
passwd; }<br>
else<br>
! nx_group_exists && groupadd $GROUPADD_OPTIONS nx<br>
[ -f /etc/nscd.conf ] && { nscd --invalidate group;
}<br>
<br>
useradd $USERADD_OPTIONS nx<br>
[ -f /etc/nscd.conf ] && { nscd --invalidate
passwd; }
<br>
fi<br>
<br>
<br>
fi<br>
<br>
<br>
</span></div><pre><hr size="4" width="90%">
________________________________________________________________<br> Were you helped on this list with your FreeNX problem?<br> Then please write up the solution in the FreeNX Wiki/FAQ:<br> <a href="http://openfacts.berlios.de/index-en.phtml?title=FreeNX_FAQ" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">
http://openfacts.berlios.de/index-en.phtml?title=FreeNX_FAQ</a>
Don't forget to check the NX Knowledge Base:
<a href="http://www.nomachine.com/kb/" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">http://www.nomachine.com/kb/</a> <br><br>________________________________________________________________
<br> FreeNX-kNX mailing list --- <a href="mailto:FreeNX-kNX@kde.org" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">FreeNX-kNX@kde.org</a>
<a href="https://mail.kde.org/mailman/listinfo/freenx-knx" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">https://mail.kde.org/mailman/listinfo/freenx-knx</a>
________________________________________________________________</pre>
<pre><hr size="4" width="90%">
No virus found in this incoming message.
Checked by AVG Free Edition.
Version: 7.5.503 / Virus Database: 269.15.6/1086 - Release Date: 10/22/2007 7:57 PM
</pre>
</blockquote>
</div>
<br>________________________________________________________________<br> Were you helped on this list with your FreeNX problem?<br> Then please write up the solution in the FreeNX Wiki/FAQ:<br> <a onclick="return top.js.OpenExtLink(window,event,this)" href="http://openfacts.berlios.de/index-en.phtml?title=FreeNX_FAQ" target="_blank">
http://openfacts.berlios.de/index-en.phtml?title=FreeNX_FAQ</a><br> Don't forget to check the NX Knowledge Base:<br> <a onclick="return top.js.OpenExtLink(window,event,this)" href="http://www.nomachine.com/kb/" target="_blank">
http://www.nomachine.com/kb/</a><br><br>________________________________________________________________<br> FreeNX-kNX mailing list --- <a onclick="return top.js.OpenExtLink(window,event,this)" href="mailto:FreeNX-kNX@kde.org">
FreeNX-kNX@kde.org</a><br> <a onclick="return top.js.OpenExtLink(window,event,this)" href="https://mail.kde.org/mailman/listinfo/freenx-knx" target="_blank">https://mail.kde.org/mailman/listinfo/freenx-knx</a><br>________________________________________________________________
<br></blockquote></div><br><br clear="all"><br>-- <br>Cordialement