<br><font size=3>Alain Lemerre <alain.lemerre@gmail.com> wrote on
21/11/2009 08:37:05:<br>
<br>
> Hi, <br>
> <br>
> For the problem of launching OpenOffice on the server screen. <br>
> <br>
> The problem occurs if OpenOffice if already running in the session
<br>
> on the server. <br>
> <br>
You will get SOME issues if the SAME user logs in to two sessions. <br>
<br>
This is mainly to do with two sessions trying to control config files <br>
caches, or trying to re-open a file from a previous session which </font>
<br><font size=3>is actually still running. <br>
<br>
Mostly you won't notice, but bear in mind that quite a bit of software
<br>
expects only to be run in one instance (for each particular user). <br>
<br>
> For example, I open a session on the server with my account, I <br>
> launched OpenOffice. From a laptop with NX client and the same <br>
> account, I open a OpenOffice session: the OpenOffice window opens
on<br>
<br>
Hmmm, well . . . <br>
<br>
> the server. I close all OpenOffice sessions and this time the <br>
> OpenOffice displays on the laptop.<br>
<br>
Right <br>
<br>
> <br>
> Regards,<br>
> <br>
<br>
> 2009/11/20 Alain Lemerre <alain.lemerre@gmail.com> <br>
> Hi, <br>
> <br>
> I followed your advice: <br>
<br>
My advice was to use 0.7.3 ;--) <br>
<br>
> <br>
> I don't have error message. But the first time I launch swriter it
<br>
> works. But the next launches, swriter main Window display on the <br>
> screen of the server.<br>
> <br>
<br>
?? You mean two remote sessions and the second appears on the server console
?? <br>
<br>
Please explain a little more fully if this is different from above.<br>
<br>
> <br>
> I don't want to go back to 0.7.3 librairies because I want to <br>
> benefit from Marcelo Boveto Shima patches. I used before 0.7.4 <br>
> without problems. <br>
<br>
Oh. Did something break ??? <br>
<br>
And what difference is there between this time and before ?? <br>
<br>
> <br>
> Regards<br>
> <br>
</font>
<br><font size=3>For ye record, OOTB FreeNX 0.7.3 puts "libXrender.so.1.2"
in </font>
<br>
<br><font size=3> APPLICATION_LIBRARY_PRELOAD</font>
<br>
<br><font size=3>Which means that newer versions of the libraries have
to put a link in</font>
<br><font size=3>from all previous subversions to the latest (sub)version</font>
<br>
<br><font size=3> ie. libXrender.so
-> libXrender.so.1.2.2 # good</font>
<br><font size=3> libXrender.so.1 ->
libXrender.so.1.2.2 #good</font>
<br><font size=3> libXrender.so.1.2
-> libXrender.so.1.2.2 # oh-oh, not a soname</font>
<br>
<br><font size=3>rather than ( more properly ) the soname, else there will
be a missing library.</font>
<br>
<br><font size=3>Presumably FreeNX functionality was dependent upon the
differences between</font>
<br><font size=3> libXrender.so.1 and
libXrender.so.1.2</font>
<br>
<br><font size=3>Now normally, the difference from lib.so.1 to lib.so.1.1
should be just a bug</font>
<br><font size=3>fix rather than a version change (based on interface/functionality.)</font>
<br>
<br><font size=3>If lib.so.3 won't replace lib.so.2 then lib.so.2 needs
to be kept despite version</font>
<br><font size=3>changes,</font>
<br>
<br><font size=3>The config checker can of course check for subversions,
and helpfully tell </font>
<br><font size=3>you that you need to upgrade your library, but it shouldn't
demand a specific</font>
<br><font size=3>file name.</font>
<br><font size=3>ie.</font>
<br><font size=3>you can demand lib.so.1.2 or above, but you shouldn't
bail out if </font>
<br><font size=3> lib.so.1.3 exists
instead of lib.so.1.2.</font>
<br>
<br><font size=3>If your code will only work with unsupported lib.so.1.2
then you and</font>
<br><font size=3>your userbase have a problem until you can either manage
your own</font>
<br><font size=3>out of date libraries or bring your code up to date
with the latest library</font>
<br>
<br><font size=3>This means that a happier practice is to demand </font>
<br>
<br><font size=3> lib.so.x</font>
<br><font size=3>rather than</font>
<br>
<br><font size=3> lib.so.x.y</font>
<br><font size=3>which means you only need links from</font>
<br>
<br><font size=3> lib.so.x -> lib.so.latest.subversion</font>
<br><font size=3>not lots of links all over the show</font>
<br>
<br><font size=3> lib.so.x -> lib.so.latest.subversion</font>
<br><font size=3> lib.so.x.1 -> lib.so.latest.subversion</font>
<br><font size=3> lib.so.x.1.1 ->
lib.so.latest.subversion</font>
<br><font size=3> lib.so.x.1.2 ->
lib.so.latest.subversion</font>
<br>
<br>
<br><font size=3>And ironically, FreeNX's version of the libraries, NX4U.tar.gz
</font>
<br><font size=3>follows this more correct practice, presumably straight
from </font>
<br><font size=3>NoMachine and doesn't have the link, so won't work </font>
<br><font size=3>out of the box with freenx-server-0.7.3.tar.gz</font>
<br>
<br><font size=3>-rwxr-xr-x ff/users 10192 2008-04-02
16:08 NX4U/lib/libXrandr.so.2.0</font>
<br><font size=3>lrwxrwxrwx ff/users 0
2008-08-23 13:11 NX4U/lib/libXrender.so -> libXrender.so.1.2.2</font>
<br><font size=3>lrwxrwxrwx ff/users 0
2008-08-23 13:11 NX4U/lib/libXrender.so.1 -> libXrender.so.1.2.2</font>
<br><font size=3>-rwxr-xr-x ff/users 32000 2008-04-02
16:08 NX4U/lib/libXrender.so.1.2.2</font>
<br>
<br><font size=3>Checking a couple of distros, which I've been looking
at recently</font>
<br>
<br><font size=3> Opensuse FreeNX-0.7.3-4.1.src.rpm
and</font>
<br><font size=3> fedora freenx-server-0.7.3-15.fc11.i586.rpm</font>
<br>
<br><font size=3>both changed their APPLICATION_LIBRARY_PRELOAD</font>
<br><font size=3>to libXrender.so.1, whereas the ubuntu one I looked
at</font>
<br>
<br><font size=3> freenx-server_0.7.3+teambzr104-0ubuntu1~karmic1_i386.deb</font>
<br>
<br><font size=3>didn't and kept libXrender.so.1.2, presumably they changed
their</font>
<br><font size=3>version of NoMachines libraries.</font>
<br>
<br><font size=3>There isn't much consistency between distros as to where
the librarys</font>
<br><font size=3>are kept either, but of course thats pure distro stuff
!!!</font>
<br>
<br>
<br><font size=3>Shows how dependent we are on the distros to test things.</font>
<br>
<br><font size=3>Anyway, I expect Fabian et al. put their lives on hold
writing all this stuff</font>
<br><font size=3>so I hope everyone is duly grateful. </font>
<br>
<br>
<br>
<br><font size=3>Alain, all your libraries seem to be in /usr/NX/lib</font>
<br>
<br><font size=3>This is the default for the Nomachine client, so you </font>
<br><font size=3>may find an issue over libXcomp.so which is in both</font>
<br><font size=3>the Server and Client Libraries.</font>
<br>
<br><font size=3>and<br>
</font>
<br><font size=3> I notice that your libX11.so.6.2 & libXrender.so.1.2.2
are both </font>
<br><font size=3>10 x the size of mine from Suse!!</font>
<br>
<br><font size=3> -rwxr-xr-x 1 root
root 10172494 2009-11-11 14:00 libX11.so.6.2*</font>
<br><font size=3> -rwxr-xr-x 1 root
root 406531 2009-11-11 14:03 libXrender.so.1.2.2*</font>
<br><font size=3>vs</font>
<br><font size=3> -rwxr-xr-x 1 root
root 1158270 2009-05-29 16:46 libX11.so.6.2</font>
<br><font size=3> -rwxr-xr-x 1 root
root 42998 2009-05-29 16:47 libXrender.so.1.2.2</font>
<br>
<br><font size=3>Where did you get your libraries from ?? You compiled
them I suppose.</font>
<br><font size=3>Did you strip them, or are you busy debugging ??</font>
<br>
<br><font size=3><br>
> ________________________________________________________________<br>
> Were you helped on this list with your FreeNX
problem?<br>
> Then please write up the solution in the FreeNX Wiki/FAQ:<br>
> <br>
> </font><a href="http://openfacts2.berlios.de/wikien/index.php/BerliosProject:FreeNX_-_FAQ"><font size=3 color=blue><u>http://openfacts2.berlios.de/wikien/index.php/BerliosProject:FreeNX_-_FAQ</u></font></a><font size=3><br>
> <br>
> Don't forget to check the NX Knowledge
Base:<br>
> </font><a href=http://www.nomachine.com/kb/><font size=3 color=blue><u>http://www.nomachine.com/kb/</u></font></a><font size=3>
<br>
> <br>
> ________________________________________________________________<br>
> FreeNX-kNX mailing list --- FreeNX-kNX@kde.org<br>
> </font><a href="https://mail.kde.org/mailman/listinfo/freenx-knx"><font size=3 color=blue><u>https://mail.kde.org/mailman/listinfo/freenx-knx</u></font></a><font size=3><br>
> ________________________________________________________________</font>
<br>