Mailinglist Archive: opensuse-bugs (5372 mails)

< Previous Next >
[Bug 280403] FreeNX (0.6) resume session times out
  • From: bugzilla_noreply@xxxxxxxxxx
  • Date: Tue, 5 Jun 2007 21:17:32 -0600 (MDT)
  • Message-id: <20070606031732.84917110F@xxxxxxxxxxxxxxxxxxxxxx>
https://bugzilla.novell.com/show_bug.cgi?id=280403





------- Comment #2 from mvdv@xxxxxxxxxxx  2007-06-05 21:17 MST -------
OK, for the record.... it wasn't easy. I abandoned the nomachine.com rpms, (in
case the follwoing does not work, they are installed but not used explicitly,
so try installing them, then repeating the steps below, if the following fails)
I now have something kind of working (remaining issues seem to relate to KDE,
see Bug #280789, Bug #280954, Bug 280901):

A) I'm not sure if this is required... but I had completed the following
(excluding the pam_ssh component):
http://en.opensuse.org/Using_ssh-agent_globally_for_X_session

1) Install FreeNX and Knx (accept any dependencies).
2) Open port 22:tcp in suse firewall (you can use another port but first get
the vanilla set-up working... then try find your way around the bizarre config
file locations... hint to SuSE)
3) edit the nxsetup script:
   - search for 'suse', around line 179 (depending on versions?).  Make the
following one line change (I don't know about luseradd... ?):

                # Is it a SuSE?
                elif [ -f /etc/SuSE-release ]
                then
                        USERADD_OPTIONS="-r $USERADD_OPTIONS"
                fi

                if [ "$SETUP_LOCAL_USER" = "yes" ]
                then
                        ! nx_group_exists && lgroupadd $GROUPADD_OPTIONS nx 
                        luseradd $USERADD_OPTIONS nx
                else
                        ! nx_group_exists && groupadd $GROUPADD_OPTIONS nx
                        useradd $USERADD_OPTIONS nx
++++                    passwd -d nx
                fi

In /etc/nxserver/node.conf, set:
    NX_LOG_LEVEL=7
    NX_LOGFILE=/var/log/nxserver.log
    SESSION_LOG_CLEAN=0
    AGENT_EXTRA_OPTIONS_X="-fp
/usr/share/fonts/misc:unscaled,/usr/share/fonts/Speedo,/usr/share/fonts/Type1,/usr/share/fonts/75dpi:unscaled,/usr/share/fonts/100dpi:unscaled"

(you may or may not need the AGENT_EXTRA_OPTIONS_X setting.  To find out try
without and then, irrespective of successful connection or not, look in:
    /home/<your_uname>/.nx/<C,S,F-C,T-S>-<some>-<other>-<data>/session

This will show you what was going on from the X side of things - a problem with
X _can_ lead to a NX/KNX dialog suggesting network problems - so make your
first connection to you local `hostname` :)

4) For a 'un-secure' but automated setup run:

   nxsetup --install --setup-nomachine-key --clean --purge

Once this is good you can try to get your own keys:
   nxsetup --install --setup-nomachine-key --clean --purge

5) The install tests should pass or give hints about what you need to do to
configure sshd correctly.  Hint place nx in AllowUsers (if you employ that
restriction)

6) In the KNX client you should be able to make a connection to
<your-local-hostname>

HTH


-- 
Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.

< Previous Next >
References