[FreeNX-kNX] FreeNX-kNX Digest, Vol 66, Issue 12

brian mullan bmullan.mail at gmail.com
Sat Feb 13 17:43:38 UTC 2010


(if FreeNX server)
make a copy of then edit /etc/nxserver/node.conf
Look over Logging
Directives<http://openfacts2.berlios.de/wikien/index.php/BerliosProject:FreeNX_-_node.conf-directives#Chapter_7.4_Logging_directives>

If you are using NX Web Companion read
this<http://www.nomachine.com/ar/view.php?ar_id=AR03G00529>

If you are using only NoMachine's software on server then read their
Adminstrator's
Guide <http://www.nomachine.com/documentation/admin-guide.php> sections on
authentication and logging.

I've copied Section 12 about how to configure increased logging levels.
That will help you ID what is going on.

*12. Log Files*

  *12.1. Enabling Debug Level*

The SessionLogLevel key must be set to value “7” both in the
/usr/NX/etc/node.cfg and /usr/NX/etc/server.cfg configuration files:

 SessionLogLevel = "7"

    *12.2. Disabling the Logging of X clients*

The ClientLog key must be deactivated in the /usr/NX/etc/node.cfg
configuration file:

 ClientLog = "0"

   *12.3. Setting the Log Maximum Size*

You can set the maximum size allowed for both session and X clients log
files by modifying the following configuraton keys in /usr/NX/etc/node.cfg.
When the maximum size is exceeded, the node terminates the session. By
default, the maximum size is 4 MB.
SessionLogLimit = "4194304"


       ClientLogLimit = "4194304"


brian




On Sat, Feb 13, 2010 at 6:00 AM, <freenx-knx-request at kde.org> wrote:

> Send FreeNX-kNX mailing list submissions to
>        freenx-knx at kde.org
>
> To subscribe or unsubscribe via the World Wide Web, visit
>        https://mail.kde.org/mailman/listinfo/freenx-knx
> or, via email, send a message with subject or body 'help' to
>        freenx-knx-request at kde.org
>
> You can reach the person managing the list at
>        freenx-knx-owner at kde.org
>
> When replying, please edit your Subject line so it is more specific
> than "Re: Contents of FreeNX-kNX digest..."
>
>
> ________________________________________________________________
>         Don't forget to check the NX Knowledge Base:
>                 http://www.nomachine.com/kb/
>       Please also check the FreeNX Wiki+FAQ for hints.
>  http://openfacts.berlios.de/index-en.phtml?title=FreeNX_FAQ
> ________________________________________________________________
>
>
>
> Today's Topics:
>
>   1. Re: Arch Linux - After reboot have to login 4 times to work
>      ????? (every single time) (yossarianuk)
>   2. Multiple problems getting freenx to work, authentication
>      faled for nx user and after re-install nxserver won't start.
>      (Todd Bateman)
>
>
> ----------------------------------------------------------------------
>
> Message: 1
> Date: Fri, 12 Feb 2010 04:36:17 -0800 (PST)
> From: yossarianuk <morgancoxuk at gmail.com>
> Subject: Re: [FreeNX-kNX] Arch Linux - After reboot have to login 4
>        times to work ????? (every single time)
> To: freenx-knx at kde.org
> Message-ID: <27562927.post at talk.nabble.com>
> Content-Type: text/plain; charset=us-ascii
>
>
> Still happening - latest version in arch - there was an update recently -
> same thing occurs
>
> Here is the output of a failure
>
> [yossarian at gtfo ~]$ cat
> /home/yossarian/.nx/F-C-gtfo-9000-FBEAD4519F2C8C2295C59889F7B8D4EB/session
> xrdb: No such file or directory
> xrdb: Can't open display ':9000'
> $DISPLAY is not set or cannot connect to the X server.
>
> I tried to login another couple of times and it worked the 3rd
> time............
> --
> View this message in context:
> http://old.nabble.com/Arch-Linux---After-reboot-have-to-login-4-times-to-work-------%28every-single-time%29-tp26482511p27562927.html
> Sent from the freenx-knx mailing list archive at Nabble.com.
>
>
>
> ------------------------------
>
> Message: 2
> Date: Fri, 12 Feb 2010 17:08:45 -0500
> From: Todd Bateman <wtab at comcast.net>
> Subject: [FreeNX-kNX] Multiple problems getting freenx to work,
>        authentication faled for nx user and after re-install nxserver won't
>        start.
> To: freenx-knx at kde.org
> Message-ID: <4B75D16D.6090208 at comcast.net>
> Content-Type: text/plain; charset=ISO-8859-1; format=flowed
>
> I have been trying for a few days now to get FreeNX installed and setup
> and working but as of so far I have not been able to. If I need to
> remove and re-install it agin it not a problem just tell me what to
> change from what I did. At first I was getting a Authentication failed
> error for the nx user, I googled the error and followed some of the
> directions I found but found things were getting so messed up that I
> removed it and reinstalled it (will include how I removed it and
> installed it at the bottom for those interested). After I reinstalled it
> i executed:
>
> nxsetup --install --setup-nomachine-key
> nxserver --start
> mv: cannot stat '/usr/NX/home/nx/.ssh/authorized_keys2.disabled': No
> such File or Directory
>
> I take a look and the /usr/NX/home directory is empty the nx/.ssh
> directory didn't get created. I created these directories but no idea
> where I can get this file or get it created and no idea if I have the
> right permissions or the right owner/group on the directories. Also the
> /etc/nxserver directory and files that should be inside it are not being
> created as well as /var/lib/nxserver.
>
> I should say that to be able to set this up I ssh into the linux box
> (Slackware 13/64 bit) and that the system is run headless now that the
> operating system is installed and networking up and I can ssh into the
> box. I used source tarballs to install it. Before I removed freenx I was
> just getting the authentication failed for the nx user (when the
> directories were there and so on) if I tried to ssh into the freenx
> server for the nx user as I have seen suggested as a way to check I
> would get asked for a password.
>
> ssh -p 22222 -i /usr/NX/etc/users.id_dsa.pub nx at localhost
> nx at localhost's password <enter>
> Permission Denied please try again
> nx at localhost's password <enter>
> Permission Denied please try again
> nx at localhost's password <enter>
> Permission Denied (publickey, password, keyboard-interactive)
>
> The /var/log/messages shows this:
>
> Feb 12 12:51:54 krazy sshd[6520]: Invalid user nx from 127.0.0.1
> Feb 12 12:51:54 krazy sshd[6520]: Failed none for invalid user nx from
> 127.0.0.1 port 49206 ssh2
> Feb 12 12:51:56 krazy sshd[6520]: Failed password for invalid user nx
> from 127.0.0.1 port 49206 ssh2
> Feb 12 12:51:59 krazy last message repeated 2 times
>
> There is no entry in the /var/log/secure for anything to do with freenx
> at or around the same time.
>
> Here are the steps I took to remove freenx:
>
> nxserver --stop
> nxserver --status (to make sure it did stop)
> cd /usr/src/nx
> rm -r nx*
> rm -r freenx*
> cd /usr
> rm -r NX
> rm /var/log/nxserver.log
> cd /usr/bin
> ls nx*
> rm nx*
> cd /sbin
> rm smbmount
> rm smbumount
> rm /etc/X11/xdm
>
>
> Here are the steps I used to install it, it was a 4 page pdf file that I
> found somewhere I can't find the link or name of author to give them
> credit. It was designed to install on Centos 5 using 3.0.0 but I altered
> to work with 3.4.0:
>
> cd /downloads
> wget
> http://64.34.161.181/download/3.4.0/Linux/nxclient-3.4.0-5.x86_64.tar.gz
> wget
> http://64.34.161.181/download/3.4.0/Linux/nxnode-3.4.0-11.x86_64.tar.gz
> wget
>
> http://64.34.161.181/download/3.4.0/Linux/FE/nxserver-3.4.0-12.x86_64.tar.gz
> wget http://64.34.161.181/download/3.4.0/sources/nxcomp-3.4.0-1.tar.gz
> (could not find 64 bit version)
> wget
> http://64.34.161.181/download/3.4.0/sources/nxcompext-3.4.0-1.tar.gz
> (could not find 64 bit version)
> wget
> http://64.34.161.181/download/3.4.0/sources//nxcompshad-3.4.0-3.tar.gz
> (could not find 64 bit version)
> wget http://64.34.161.181/download/3.4.0/sources//nxesd-3.4.0-1.tar.gz
> (could not find 64 bit version)
> wget http://download2.berlios.de/freenx/freenx-0.7.1.tar.gz (could not
> find 64 bit version)
> mkdir /usr/src/nx
> cd /usr
> tar -xzf /download/nxserver-3.4.0-12.x86_64.tar.gz
> tar -xzf /download/nxclient-3.4.0-5.x86_64.tar.gz
> tar -xzf /download/nxnode-3.4.0-11.x86_64.tar.gz
> cd /usr/src/nx
> tar -xzf /download/nxcomp-3.4.0-1.tar.gz
> tar -xzf /download/nxcompext-3.4.0-1.tar.gz
> tar -xzf /download/nxcompshad-3.4.0-3.tar.gz
> tar -xzf /download/nxesd-3.4.0-1.tar.gz
> cd nxcomp
> ./configure
> make
> cp --preserve libXcomp.so* /usr/NX/lib
> cd ../nxcompext
> ./configure --x-includes="/usr/include/xorg -I/usr/include/X11"
> make
> cp --preserve libXcompext.so* /usr/NX/lib
> cd ../nxcompshad
> ./configure
> make
> cp --preserve libXcompshad.so* /usr/NX/lib
> cd ../nxesd
> ./configure
> make
> make install
> cd ../freenx-0.7.1
> patch -p0 < gentoo-nomachine.diff
> cp -f nxkeygen /usr/NX/bin
> cp -f nxloadconfig /usr/NX/bin
> cp -f nxnode /usr/NX/bin
> cp -f nxnode-login /usr/NX/bin
> cp -f nxserver /usr/NX/bin
> cp -f nxsetup /usr/NX/bin
> cp -f nxcups-gethost /usr/NX/bin
> cd nxserver-helper
> make
> cp -f nxserver-helper /usr/NX/bin
> cd ..
> ln -s /usr/NX/bin/nxserver /usr/bin/nxserver
> ln -s /usr/NX/bin/nxsetup /usr/bin/nxsetup
> ln -s /usr/NX/bin/nxloadconfig
> ln -s /usr/NX/lib/libXrender.so.1.2.2 /usr/NX/lib/libXrender.so.1.2
> ln -s /usr/NX/bin/nxagent /usr/bin/nxdesktop
> ln -s /usr/NX/bin/nxagent /usr/bin/nxviewer
> ln -s /usr/bin/foomatic-ppdfile /usr/lib/cups/driver/foomatic-ppdfile
> (error because file don't exist because I don't have cups installed, no
> printer so no need)
> ln -s /etc/X11/xinit /etc/X11/xdm
> ln -s /sbin/mount.cifs /sbin/smbmount
> ln -s /sbin/umount.cifs /sbin/smbumount
> nxsetup --install --setup-nomachine-key (says it creating things
> (user,database,keys) gives no error)
> nxserver --start
> mv: cannot stat '/usr/NX/home/nx/.ssh/authorized_keys2.disabled': No
> such File or Directory
> nxserver --status (shows it stopped)
>
>
> ------------------------------
>
> ________________________________________________________________
>     Were you helped on this list with your FreeNX problem?
>    Then please write up the solution in the FreeNX Wiki/FAQ:
>  http://openfacts.berlios.de/index-en.phtml?title=FreeNX_FAQ
> ________________________________________________________________
>       FreeNX-kNX mailing list --- FreeNX-kNX at kde.org
>      https://mail.kde.org/mailman/listinfo/freenx-knx
> ________________________________________________________________
>
> End of FreeNX-kNX Digest, Vol 66, Issue 12
> ******************************************
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/freenx-knx/attachments/20100213/ddd718c5/attachment.html>


More information about the FreeNX-kNX mailing list