[FreeNX-kNX] nxviewer vs vncviewer

chris at ccburton.com chris at ccburton.com
Sun Apr 14 21:42:22 UTC 2013


freenx-knx-bounces at kde.org wrote on 14/04/2013 21:28:05:

[snip]

> This raises 2 questions for me:
> 1. Looks like ENABLE_EXTERNAL_NXVIEWER s/b set automatically when 
> nxviewer can't be found, right? I've set it manually anyway, in both
> node.conf and/or nxloadconfig, to no avail

No. The whole thing should be re-written . . .

Failing that the default should be changed (in nxloadconfig)

> 2. Am I right that nxloadconfig defines the "default defaults" and 
> is overriden by node.conf?

yup - nxloadconfig sets default values
which are then changed from
        /etc/nxserver/node.conf
and
        /etc/nxserver/node.conf.d/*
        /etc/nxserver/$USER.node.conf 

> If so, then I don't need to worry about 
> the setting(s) in nxloadconfig, right?

Well the quickest padge would be to change
the default value in nxloadconfig

[SNIP]
 
> No. Did it work ?? 
> Sadly, no, setting ENABLE_EXTERNAL_NXVIEWER="1" did not work. 

What did actually happen ?? What shows up in the log . . .


> I'm sure there was a reason for the code... I'm just wondering where
> the script is going wrong, since as you said above, I should not be 
> getting to this line...

Well, you will get to there if you don't set

        ENABLE_EXTERNAL_NXVIEWER="1"

which causes nxserver to change from vnc to vnc-helper  . . .

if [ "$ENABLE_EXTERNAL_NXVIEWER" = "1" -a "$(getparam type)" = "vnc" ]
                then
                        type="vnc-helper"
                        application="$PATH_BIN/nxviewer_helper"
 
PARAMS="$PARAMS&type=$type&application=$application&freenx_export_agents=1"
                        CMDLINE=$PARAMS
                fi
        fi

so you should see that in your logging . . . . .

Also, check you have an executable

        /wherever/ubuntu/put-it/nxviewer_helper

[SNIP]



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


More information about the FreeNX-kNX mailing list