← Back to team overview

freenx-team team mailing list archive

Re: Version 0.7.3 nxsetup --test error

 

 Hi Thomas,

On Mon, Sep 8, 2008 at 5:32 PM, Thomas Gangolf <thomas.gangolf@xxxxxxxxxx>wrote:

> hi,
>
>  nxsetup is used to install and test freenx server but in a non managed
>> way.
>> In a package it will probably just break things. So I want to not ship it
>> at all.
>>
>
> perhaps the nxsetup should be removed then or packed in a seperate package.
> seems a bit confusion in the moment with the errors but the software
> working.
>

Moved nxsetup to /usr/lib/nx. Should be less confusing.

 nxsetup do the following:
>  1 - creates the nx user
>  2 - set permissions to /var/lib/nx/*
>  3 - adds the public key
>  4 - test the configuration
>
>  - freenx-server package should do the steps 1 and 2
>  - step 3 can be done in two ways:
>    - ask on freenx-server installation if the user want to use nomachine or
> a generated key
>    - create one package for each configuration. The 2 can't be installed at
> the same time
>  - If the package is installed, so freenx server should just work and step
> 4 is not necessary.
>    If something don't work it should be treated as a packaging bug.
>

yes step 1-3 is working with no problems at my installation, step 4 keeps
> getting errors.
>
>
>> On Sat, Sep 6, 2008 at 6:45 AM, Thomas <thomasgg@xxxxxxxxx <mailto:
>> thomasgg@xxxxxxxxx>> wrote:
>>
>>    hi,
>>
>>    after installing nxserver-0.7.3 i got the following error calling
>>    nxsetup --test:
>>
>>  Did you install freenx-server or freenx?
>> freenx-server will not install every dependency. You should install freenx
>> if you want everything
>>
>
> I did install both freenx and freenx-server, both in version
> 0.7.3-0freenxteam1.
>
>     sudo nxsetup --test
>>    ----> Testing your nxserver configuration ...
>>    Warning: Could not find nxdesktop in /usr/bin. RDP sessions won't work.
>> nxdesktop is deprecated. nx uses rdesktop now.
>>
>
> nxdesktop is not installed freenx-rdp is installed
>

NX-3.2 don't use nxdesktop anymore.
If you look at http://www.nomachine.com/sources.php, you will find
nxdesktop-2.1.0-x but
not nxdesktop-3.2.0-x.

I've added a note to the warning.


    Warning: Could not find nxviewer in /usr/bin. VNC sessions won't work.
> nxviewer is deprecated too. vncviewer is used  now.
>

vncviewer wasn't installed, but he choosed to install xtightvncviewer
> instead.
>

About nxviewer you will not find version 3.2 only version 2.1.

freenx-vnc depends on xvnc4viewer | vnc-viewer.
vnc-viewer is a virtual package so any package that provides vnc-viewer can
be used.
And xtightvncviewer provides vnc-viewer.


>    Error: Invalid value "PATH_LIB=/usr/lib/nx"
>    Error: Invalid value "AGENT_LIBRARY_PATH=/usr/lib/nx"
>    Error: Invalid value "PROXY_LIBRARY_PATH=/usr/lib/nx"
>    Error: Invalid value "APPLICATION_LIBRARY_PATH=/usr/lib/nx"
>
>

> Everything is installed in /usr/bin or /usr/lib
> The programs that should only be used by nx must be moved to /usr/lib/nx
> again.
>

Are the paths hardcoded in the nxsetup tool, because I couldn't find any of
> the above variables in the node.conf.
>

They are set at nxloadconfig.

    Warning: Invalid value "COMMAND_SMBMOUNT=smbmount". You'll not be
>    able to use SAMBA.
>    Warning: Invalid value "COMMAND_SMBUMOUNT=smbumount". You'll not be
>    able to use SAMBA.
>
> freenx-media should depend on smbfs, not just suggests, so it is a bug.
>

Yes seems to be a bug, freenx-media was installed, but smbfs wasn't,
> installed it right away.
>

Moved smbfs to Depends.

 I need feedback on how to treat the public key. Should I put in two
> packages or a debconf question?
>

I think debconf is the best solution.
>
> I'll keep watching the package, because we use it to get windows clients
> access to a windows2003 server.
>
> so far it works fine, but sometimes we are getting "session errors" at
> startup, which disappears after the second or third time reconnecting.
> till know we can't say whats the problem, we watched the log files with a
> higher level, but nothing. perhaps anyone has the same problem.
>

I have the same problem sometimes. Need to investigate.


>
> thanks
> thomas
>

Uploaded a version that correct these problems.
One more warning is shown: cups vesion that doesn't match 1.2. (I would take
toooo long to correct).

Regards,
Shima

References