[FreeNX-kNX] Fwd: Random problem report

Fabian Franz FabianFranz at gmx.de
Fri Apr 27 16:44:40 UTC 2007


>  Hi   
>  I had a strange inability to login one of my users, she got this error in
> /var/log/nxserver.log:
>  NX> 105 NX> 1004 Error: NX Agent exited with exit status 1.
>  
>  In the .nx/C-*/errors I get:
>  Loop: PANIC! Call to bind failed for media TCP port 8005. Error is 98
> 'Address already in use'.

If tomcat is always active on that port, you might be able to circumvent the problem by:

root at box $ touch /tmp/.nX1005-lock

FreeNX should then not try to use that DISPLAY.

>  This reminds me that every user that was active during the reboot, had a
> problem to login, one failed login, and next login succeed. So, I think
> freenx doesn't handle reboot well - it should logout all its users before the
> reboot, I think. 

FreeNX should be able to handle reboots fine.

If not you can add a init script, which calls /usr/NX/bin/nxserver --cleanup (= nxserver --terminate "*") before any session is started.

This should take care of that and is also useful in case of power outage.

cu

Fabian



More information about the FreeNX-kNX mailing list