<br><tt><font size=2>freenx-knx-bounces@kde.org wrote on 04/03/2012 16:16:48:<br>
<br>
> Hi all,<br>
> <br>
> After an upgrade of a debian testing server I got freenx server <br>
> broken. For a week now I have been struggling with this <br>
> problemInstalling and uninstalling freenx many times.<br>
</font></tt>
<br><tt><font size=2>Don't bother doing that.</font></tt>
<br><tt><font size=2>If it fails once it will always fail.</font></tt>
<br><tt><font size=2>Probably it has worked fine but something else is
wrong.</font></tt>
<br>
<br><tt><font size=2>> <br>
> present situation is:<br>
> 1) Server running:<br>
> # /usr/lib/nx/nxsetup --test<br>
> <br>
> ----> Testing your nxserver configuration ...<br>
> Warning: Invalid value "CUPS_ETC=/etc/cups/"<br>
>          Users will not be able to enable
printing.<br>
> Warning: Invalid value "COMMAND_START_KDE=startkde"<br>
>          Users will not be able to request
a KDE session.<br>
> Warning: Invalid value "COMMAND_START_GNOME=gnome-session"<br>
>          Users will not be able to request
a Gnome session.<br>
> Warning: Invalid value "COMMAND_SMBUMOUNT=smbumount". You'll
not be <br>
> able to use SAMBA.<br>
> Warning: Invalid cupsd version of "/usr/sbin/cupsd". Need
version 1.2.<br>
>          Users will not be able to enable
printing. Ignore if you <br>
> use cups > 1.2<br>
> <br>
>   Warnings occured during config check.<br>
>   To enable these features please correct the configuration file.<br>
> <br>
> <---- done<br>
</font></tt>
<br><tt><font size=2>I'm not sure how helpful it it to show us the warnings</font></tt>
<br><tt><font size=2>from BEFORE you fixed the config file.</font></tt>
<br>
<br><tt><font size=2>What happens when you run nxsetup --test afterwards
??</font></tt>
<br>
<br><tt><font size=2>> <br>
> ----> Testing your nxserver connection ...<br>
> HELLO NXSERVER - Version 3.2.0-74-SVN OS (GPL, using backend: 3.3.0)<br>
> <--- done<br>
> <br>
[SNIP]</font></tt>
<br><tt><font size=2>> Error: Aborting session with 'Unable to open
display 'nx/nx,<br>
> options=myhome/.nx/C-myserver-1000-(STDIN)/options:1000''.<br>
</font></tt>
<br><tt><font size=2>STDIN here usually means you haven't changed</font></tt>
<br>
<br><tt><font size=2>         (in/etc/nxserver/node.conf)</font></tt>
<br>
<br><tt><font size=2>from the default</font></tt>
<br><tt><font size=2>        COMMAND_MD5SUM="openssl
md5"</font></tt>
<br><tt><font size=2>output-ing eg.</font></tt>
<br><tt><font size=2>        (stdin)= d577273ff885c3f84dadb8578bb41399</font></tt>
<br><tt><font size=2>into </font></tt>
<br><tt><font size=2>        COMMAND_MD5SUM="md5sum"</font></tt>
<br><tt><font size=2>output-ing eg.</font></tt>
<br><tt><font size=2>        f447b20a7fcbf53a5d5be013ea0b15af
 - </font></tt>
<br><tt><font size=2>so</font></tt>
<br><tt><font size=2>when nx uses the first field of the output</font></tt>
<br><tt><font size=2>you end up with</font></tt>
<br>
<br><tt><font size=2>        (stdin)</font></tt>
<br>
<br><tt><font size=2> instead of</font></tt>
<br>
<br><tt><font size=2>        f447b20a7fcbf53a5d5be013ea0b15af</font></tt>
<br>
<br><tt><font size=2>which is used to generate both</font></tt>
<br>
<br><tt><font size=2>        uniqueid</font></tt>
<br><tt><font size=2>and</font></tt>
<br>
<br><tt><font size=2>        proxy_cookie</font></tt>
<br>
<br><tt><font size=2>Try changing that (assuming you have md5sum),</font></tt>
<br><tt><font size=2>and see if it fixes your problems.</font></tt>
<br><tt><font size=2>[SNIP]</font></tt>
<br><tt><font size=2>> <br>
> Anybody can help?<br>
> <br>
> TIA<br>
> <br>
> giuseppe</font></tt>