<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
</head>
<body 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
cite="mid:d6011ab20710231318y303e9529ne0d6bb20049d5545@mail.gmail.com"
type="cite">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>
<pre wrap="">
<hr size="4" width="90%">
________________________________________________________________
Were you helped on this list with your FreeNX problem?
Then please write up the solution in the FreeNX Wiki/FAQ:
<a class="moz-txt-link-freetext" href="http://openfacts.berlios.de/index-en.phtml?title=FreeNX_FAQ">http://openfacts.berlios.de/index-en.phtml?title=FreeNX_FAQ</a>
Don't forget to check the NX Knowledge Base:
<a class="moz-txt-link-freetext" href="http://www.nomachine.com/kb/">http://www.nomachine.com/kb/</a>
________________________________________________________________
FreeNX-kNX mailing list --- <a class="moz-txt-link-abbreviated" href="mailto:FreeNX-kNX@kde.org">FreeNX-kNX@kde.org</a>
<a class="moz-txt-link-freetext" href="https://mail.kde.org/mailman/listinfo/freenx-knx">https://mail.kde.org/mailman/listinfo/freenx-knx</a>
________________________________________________________________</pre>
<pre wrap="">
<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>
</body>
</html>