[FreeNX-kNX] FreeNX issue

chris at ccburton.com chris at ccburton.com
Tue Mar 6 10:27:50 UTC 2012


freenx-knx-bounces at kde.org wrote on 05/03/2012 16:16:59:

> Hello. Any help would be greatly appreciated. I am having an issue 
> with freenx-server after rebooting. I have tried CentOS 6.2 and 
> Fedora 16.

[SNIP]

> NX> 105 /usr/libexec/nx/nxserver: line 1585:  3735 Terminated 
>        sleep 
> $AGENT_STARTUP_TIMEOUT
> NX> 596 Session startup failed.

[SNIP]

xrdb: Connection refused
xrdb: Can't open display ':12010'

[SNIP]

This is at about line 320 in your

         /usr/bin/nxnode


#
# Should we start a window manager?
#
 
if [ "$virtualdesktop" = "1" -a "$type" = "unix-application" -a 
"$DEFAULT_X_WM" != "" -a -x "$(find_app $DEFAULT_X_WM)" ]
then
     DISPLAY=:$display $DEFAULT_X_WM 
>>"$USER_FAKE_HOME/.nx/C-$sess_id/session" 2>&1 &
     NODE_WM_PID=$!
fi
 
echo "Xft.dpi: 96" | DISPLAY=:$display xrdb -merge 
>>"$USER_FAKE_HOME/.nx/C-$sess_id/session" 2>&1



Someone reported font problems so the xft.dpi
was added.

I haven't bothered to try removing it.


The xrdb -merge fails because nxagent hasn't
started up and loaded all its libraries yet
(say after a reboot).

If you try to connect 4 ot 5 times eventually
it will work and continue to work whilst agent
and libraries are in memory.

The easy to understand (bodgy) quick fix
is to add the line:-

                sleep 4 

just before:-

echo "Xft.dpi: 96" | DISPLAY=:$display xrdb -merge etc.

You won't notice the delay.


If you look back thru the posting s 2 years or so
you will find the original discussion

Try searching on

AGENT_STARTUP_TIMEOUT



-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/freenx-knx/attachments/20120306/b88f9178/attachment.html>


More information about the FreeNX-kNX mailing list