Jonathan Brooks | 9 May 15:43 2014
Picon
Picon

Re: FreeNX & NoMachine Player - Connection Issues

Hi Chris,

Sorry for the crazy delay in replying to your post. The patch did indeed work, and we are able to resume
sessions on the server (Running FreeNX).
Unfortunately I’ve now got another problem - see next post!

Cheers, Jon
--
Jonathan Brooks (PhD) - Senior Research Fellow
CRiCBristol, University of Bristol, St Michael's Hill, Bristol, UK
T: +44(0)117-342-1512 W: http://www.cricbristol.ac.uk

________________________________________________________________
     Were you helped on this list with your FreeNX problem?
    Then please write up the solution in the FreeNX Wiki/FAQ:

http://openfacts2.berlios.de/wikien/index.php/BerliosProject:FreeNX_-_FAQ

         Don't forget to check the NX Knowledge Base:
                 http://www.nomachine.com/kb/

________________________________________________________________
       FreeNX-kNX mailing list --- FreeNX-kNX <at> kde.org
      https://mail.kde.org/mailman/listinfo/freenx-knx
________________________________________________________________

Maxim Kuvyrkov | 5 May 20:50 2014
Picon

Session shadowing broken in freenx

Hi Marcelo,

Session shadowing in freenx has broken somewhere in between Ubuntu 8.04 and Ubuntu 10.04 releases.  Also
present in Ubuntu 12.04 (and, likely, 14.04, though I didn't check).  The cause is a debian-specific patch
that rewrites /usr/lib/nx/nxnode:getparam() in python.

The underlaying problem is that original implementation returns the last occurrence of a given
parameter, while python implementation returns first.  This breaks shadowing as in nxagent parameters
"display" is passed 2 times, with last being the overriding definition.  I currently workaround this bug
by reverting nxnode():getparam() back to:

 getparam()
 {
       stringinstring "&$1=" "$CMDLINE" || return 1
       echo "$CMDLINE" |  tr "&" "\n" | egrep "^"$1"=" | awk -F= '{ VAL=$2 } END { print VAL }' | sed 's|%24|$|'
       return 0
 }

This bug was reported by several people, e.g., see
https://bugs.launchpad.net/freenx-server/+bug/1009448 .

Another (unrelated) problem I've discovered recently is that /tmp/.X11-unix/ is created by
freenx-server with permissions 1755 instead of 1777.  This causes nxagent to die as it can't create socket
for itself for normal users.  The problem will not occur for many users as almost always /tmp/.X11-unix/ is
created by the system X.

The fix is to adjust /etc/init.d/freenx-server to create /tmp/.X11-unix/ with "mkdir -m1777 /tmp/.X11-unix/"

I have also recently requested to be added to freenx-team on LaunchPad, and I would appreciate and confirm/reject.

(Continue reading)

Les Mikesell | 24 Apr 18:30 2014
Picon

Shared home directories

Should having a common /home mounted by multiple servers be a problem
for NX/freenx? That is, should you be able to have sessions active as
the same user on multiple servers without getting the info in ~/.nx/
confused?   This seemed to work for a while but now a user is having
trouble connecting to a server that was recently rebooted.

--

-- 
   Les Mikesell
     lesmikesell <at> gmail.com
________________________________________________________________
     Were you helped on this list with your FreeNX problem?
    Then please write up the solution in the FreeNX Wiki/FAQ:

http://openfacts2.berlios.de/wikien/index.php/BerliosProject:FreeNX_-_FAQ

         Don't forget to check the NX Knowledge Base:
                 http://www.nomachine.com/kb/

________________________________________________________________
       FreeNX-kNX mailing list --- FreeNX-kNX <at> kde.org
      https://mail.kde.org/mailman/listinfo/freenx-knx
________________________________________________________________

Raphael Lydia Bertoche | 17 Apr 05:56 2014
Picon

openssl md5 vs md5sum

I had problems with that old bug that made all sessions id become "(stdin)=".
http://mail.kde.org/pipermail/freenx-knx/2010-July/008964.html
This fix lacks a trailing | tr -d '\n', though.

Why is "openssl md5" still default for COMMAND_MD5SUM? Or is it just opensuse's fault? This 0.7.3 looks aged.

Even if it's not default, it's so easy to fix, why not support both md5sum and openssl md5?

I had only to do something like that every time COMMAND_MD5SUM was used:

<at> <at> -352,7 +352,7 <at> <at>
                export DESKTOP_SHARING_IDS=""
                for i in $(LC_ALL=C netstat -ln --protocol=unix | egrep 'X11-unix/X[0-9]$' | sed 's/.*X\(.*\)/\1/g')
                do
-                       uniqueid=$(echo $[$RANDOM*$RANDOM] | $COMMAND_MD5SUM | cut -d" " -f1 | tr "[a-z]" "[A-Z]")
+                       uniqueid=$(echo $[$RANDOM*$RANDOM] | $COMMAND_MD5SUM | tr " " "\n" | egrep "^[[:xdigit:]]{32}$" | tr "[a-z]" "[A-Z]" | tr -d '\n')
                        DESKTOP_SHARING_IDS="$DESKTOP_SHARING_IDS $uniqueid=$i"
                        printf "%-7s %-16s %32s %8s %5s %-14s %-11s %s\n" "$i" "vnc-local" "$uniqueid" "--------" "$udepth" "$(echo $3 | cut -d'x' -f1,2)" "Running" "X$i (Local)" >> $TMPFILE
                done


Thanks
________________________________________________________________
     Were you helped on this list with your FreeNX problem?
    Then please write up the solution in the FreeNX Wiki/FAQ:

http://openfacts2.berlios.de/wikien/index.php/BerliosProject:FreeNX_-_FAQ

         Don't forget to check the NX Knowledge Base:
                 http://www.nomachine.com/kb/

________________________________________________________________
       FreeNX-kNX mailing list --- FreeNX-kNX <at> kde.org
      https://mail.kde.org/mailman/listinfo/freenx-knx
________________________________________________________________
Vladimir Kozlov | 16 Apr 10:37 2014
Picon

freenx-server on Ubuntu 14.04 (trusty)

Dear Marcelo,

I've found your last message regarding FreeNX on Trusty, that "gnome 
flashback situation seems worse", but mate-session works fine.

Are there any chances to use freenx-server on Trusty with 
gnome-flashback in the near future, or this seems totally impossible?

(mate still is not in the official Ubuntu repository, despite the fact 
that release is planned for tomorrow...)

Kind regards,

Vladimir.

Attachment (smime.p7s): application/pkcs7-signature, 2976 bytes
________________________________________________________________
     Were you helped on this list with your FreeNX problem?
    Then please write up the solution in the FreeNX Wiki/FAQ:

http://openfacts2.berlios.de/wikien/index.php/BerliosProject:FreeNX_-_FAQ

         Don't forget to check the NX Knowledge Base:
                 http://www.nomachine.com/kb/

________________________________________________________________
       FreeNX-kNX mailing list --- FreeNX-kNX <at> kde.org
      https://mail.kde.org/mailman/listinfo/freenx-knx
________________________________________________________________
Alex Aminoff | 8 Apr 18:34 2014

nx-libs RPM on linux messes up normal X


Hi folks. I am wading into the world of library dependencies, dynamic 
linking, and ldconfig.

Summary: We installed freenx-server on our RHEL clone (Scientific Linux 
6.2) and eventually this caused some regular X software to break.

The nx-libs rpm is 3.5.0.22-1.el6 from epel. It includes a bunch of 
libraries in /usr/lib64/nx/, including special (?) versions of libX11.so 
and libXext.so. The rpm also installs a file 
/etc/ld.so.conf.d/nx-libs-x86_64.conf , which tells ldconfig to add 
/usr/lib64/nx to the path in which to look for libraries. In fact after 
installing you can also see this with
strings /etc/ld.so.cache | grep nx .

The trouble with this is that NX's versions of these libraries are also 
then used by normal X programs, so I see

[aminoff <at> perlw2 /etc]$ ldd /usr/bin/gedit | grep X11
  libX11.so.6 => /usr/lib64/nx/libX11.so.6 (0x00007fc84f3f4000)

And then gedit will not run with an error message about _XGetRequest symbol.

My question is: Does NX require regular X programs to be linked against 
NX's special libs? Or are those libs only necessary for the nxserver itself?

If the former, is it possible to set things up so that LD_LIBRARY_PATH 
is set when you are logged in over NX and running stuff, but not have 
ld.so.conf.d/nx-libs... pollute normal X operations?

Our goal is to enable freenx (for remote WAN users) without impacting 
our existing X users, who connect over the LAN using X over ssh.

Any pointers appreciated.

  - Alex Aminoff
    NBER

________________________________________________________________
     Were you helped on this list with your FreeNX problem?
    Then please write up the solution in the FreeNX Wiki/FAQ:

http://openfacts2.berlios.de/wikien/index.php/BerliosProject:FreeNX_-_FAQ

         Don't forget to check the NX Knowledge Base:
                 http://www.nomachine.com/kb/

________________________________________________________________
       FreeNX-kNX mailing list --- FreeNX-kNX <at> kde.org
      https://mail.kde.org/mailman/listinfo/freenx-knx
________________________________________________________________

Seb James | 26 Mar 16:53 2014
Picon

Latest open source nx components

Hi folks,

Is there someplace I can get hold of the latest open source
nxcomp/nxproxy code?

Now that Nomachine have gone to v4, it's time freenx was easier to
install. I may try packaging for Debian if I have time. I've recently
worked through the process for another couple of packages, so I may as
well use that hard-won knowledge!

Also, does anyone have the last versions of the NX 3.x server and client
packages I could get?

kind regards,

Seb James

________________________________________________________________
     Were you helped on this list with your FreeNX problem?
    Then please write up the solution in the FreeNX Wiki/FAQ:

http://openfacts2.berlios.de/wikien/index.php/BerliosProject:FreeNX_-_FAQ

         Don't forget to check the NX Knowledge Base:
                 http://www.nomachine.com/kb/

________________________________________________________________
       FreeNX-kNX mailing list --- FreeNX-kNX <at> kde.org
      https://mail.kde.org/mailman/listinfo/freenx-knx
________________________________________________________________

Alex Aminoff | 7 Mar 19:18 2014

Scientific Linux rpm for nxagent from epel repo conflict on xkb/keymap.dir


I am running Scientific Linux 6.3 (a clone of RHEL6.3). freenx used to 
work, but does not anymore. We seem to be missing
/usr/libexec/nx/nxagent and some other related files. I tried to install 
the nxagent package from epel, but got this:

Transaction Check Error:
   file /usr/share/X11/xkb/keymap.dir from install of 
nxagent-3.5.0.22-1.el6.x86_64 conflicts with file from package 
xkeyboard-config-2.3-1.el6.noarch

Doing some googling I am guessing that this was an attempt to avoid this 
bug:

https://wiki.archlinux.org/index.php/FreeNX#Keyboard_Mapping_problems

I think I can work around this by downloading the rpm manually and 
installing it with special flags to rpm; but perhaps the package 
maintainer of nxagent could remove keymap.dir from their package?

  - Alex Aminoff
    NBER

________________________________________________________________
     Were you helped on this list with your FreeNX problem?
    Then please write up the solution in the FreeNX Wiki/FAQ:

http://openfacts2.berlios.de/wikien/index.php/BerliosProject:FreeNX_-_FAQ

         Don't forget to check the NX Knowledge Base:
                 http://www.nomachine.com/kb/

________________________________________________________________
       FreeNX-kNX mailing list --- FreeNX-kNX <at> kde.org
      https://mail.kde.org/mailman/listinfo/freenx-knx
________________________________________________________________

Christopher Chavez | 6 Mar 17:26 2014
Picon

Re: Ubuntu PPA Feedback, mate-desktop

(in reply to Marcelo Boveto Shima marceloshima at gmail.com, Wed Mar 5
18:57:08 UTC 2014)

I was able to get mate-desktop on Trusty as well, and have so far
tested it successfully with OpenNX client for Mac.

> But, just discovered that mate desktop is working ok.
> The only problem is that resizing nx client don?t resize the desktop.

The last time I tried in my setup, the desktop resizing worked (to set
it up as virtual desktop and the rest of Xquartz to work in the first
place requires some tweaking though). I get funny things to happen
resizing my desktop, though, even when using mate inside virtualbox
(panels getting stuck at the top, for example), so you might want to
be careful.

> On the freenx-server Depends, I suggest removing "gnome-session" (now it
> implies a gnome-shell session), and changing "gnome-session-fallback" to
> "gnome-session-flashback" (following upstream's rename).

I noticed as well, that gnome-session is a dependency; I think that
since mate-session works fine then it should be included as a
substitute/satisfying dependency for freenx-server, in case someone
prefers not to or simply is unable to install gnome 3/unity. In my
case, the test host's hardware is too old for unity, so I worked
around the gnome-session dependency using an equivs dummy package.

Christopher Chavez
________________________________________________________________
     Were you helped on this list with your FreeNX problem?
    Then please write up the solution in the FreeNX Wiki/FAQ:

http://openfacts2.berlios.de/wikien/index.php/BerliosProject:FreeNX_-_FAQ

         Don't forget to check the NX Knowledge Base:
                 http://www.nomachine.com/kb/

________________________________________________________________
       FreeNX-kNX mailing list --- FreeNX-kNX <at> kde.org
      https://mail.kde.org/mailman/listinfo/freenx-knx
________________________________________________________________

Les Mikesell | 26 Feb 19:46 2014
Picon

caps-lock toggle?

Somehow my caps-lock state got out of sync with an NX/freenx session.
I run multiple simultaneous NX sessions, sometimes mixed with VNC,
vmware, x2go and synergy from the same desktop so I'm not too
surprised at something getting the keyboard state wrong.   But, is
there any way to fix it short of terminating that session and
everything running in it?  A suspend/reconnect still comes back with
the state reversed from the actual keyboard - and from what any of the
other apps on the local desktop see.

--

-- 
  Les Mikesell
    lesmikesell <at> gmail.com
________________________________________________________________
     Were you helped on this list with your FreeNX problem?
    Then please write up the solution in the FreeNX Wiki/FAQ:

http://openfacts2.berlios.de/wikien/index.php/BerliosProject:FreeNX_-_FAQ

         Don't forget to check the NX Knowledge Base:
                 http://www.nomachine.com/kb/

________________________________________________________________
       FreeNX-kNX mailing list --- FreeNX-kNX <at> kde.org
      https://mail.kde.org/mailman/listinfo/freenx-knx
________________________________________________________________

Marcelo Boveto Shima | 20 Feb 20:00 2014
Picon

Re: Ubuntu PPA Feedback

Probably debian stable is binary compatible with precise, but is safer to build from source.
Would be nice a ppa alternative for debian.

Seems the problem with cairo it is not fixed on 1.10.2-7~bpo60+1

This is the changelog for the ubuntu version:

cairo (1.10.2-6.1ubuntu3) precise-proposed; urgency=low

  * debian/patches/git_support_weird_pixmap_formats.patch:
    - some users hit errors with some pixman datas, don't enforce the 
      checking in the library but let the caller deal with those
      (lp: #686836)


Regards.

-- 
Marcelo

Em 20 de fevereiro de 2014 at 12:28:47 PM, Jean Milot (jmilot <at> dotriver.eu) escreveu:

This patch works also for Debian ?

I use libcairo : 1.10.2-7~bpo60+1 but if i use the good version in Debian repo : 1.12.2-3, i have some problems.

Jean Milot - Directeur Technique jmilot <at> dotriver.eu - www.dotriver.eu Un terminal à 30€ ? testez un Raspberry PI http://bit.ly/1kx0wid Avis d'expert Nr5 nu <at> ge France : http://bit.ly/MoE4f8 DotRiver est membre du consortium "nuage-France" http://bit.ly/LNIfMr 24 b rue Baldassini, F-69007 Lyon Fixe: +33 (0)4 2746 39 80 Direct: # 87 Hotline: # 89 Fax: # 81 Mob: +33 (0)6 68 15 58 17 Pas à pas, agissons au quotidien pour préserver notre environnement. N'imprimez que si nécessaire, réduisez vos déchets informatiques, économisez l'énergie en utilisant les solutions DotRiver. Le 20/02/2014 16:24, Marcelo Boveto Shima a écrit :
I had to create a cairo package with patch only once.
Right now I am using 1.10.2-6.1ubuntu3 from precise-updates.
Works for me.

Regards.
 
-- 
Marcelo

Em 20 de fevereiro de 2014 at 12:14:35 PM, Jean Milot (jmilot <at> dotriver.eu) escreveu:

Hi Marcelo,

I don't use anymore freenx ppa.

I have made my own package in order to compile from source and don't be annoyed by libcairo updates.


Sincerely,

Jean
Jean Milot - Directeur Technique jmilot <at> dotriver.eu - www.dotriver.eu Un terminal à 30€ ? testez un Raspberry PI http://bit.ly/1kx0wid Avis d'expert Nr5 nu <at> ge France : http://bit.ly/MoE4f8 DotRiver est membre du consortium "nuage-France" http://bit.ly/LNIfMr 24 b rue Baldassini, F-69007 Lyon Fixe: +33 (0)4 2746 39 80 Direct: # 87 Hotline: # 89 Fax: # 81 Mob: +33 (0)6 68 15 58 17 Pas à pas, agissons au quotidien pour préserver notre environnement. N'imprimez que si nécessaire, réduisez vos déchets informatiques, économisez l'énergie en utilisant les solutions DotRiver. Le 20/02/2014 16:07, Marcelo Boveto Shima a écrit :
I will be updating precise package and adding trusty package.

So:
Is there anyone using freenx-ppa?
Any patches applied?
Any config changes?

Thanks.

-- 
Marcelo


________________________________________________________________ Were you helped on this list with your FreeNX problem? Then please write up the solution in the FreeNX Wiki/FAQ: http://openfacts2.berlios.de/wikien/index.php/BerliosProject:FreeNX_-_FAQ Don't forget to check the NX Knowledge Base: http://www.nomachine.com/kb/ ________________________________________________________________ FreeNX-kNX mailing list --- FreeNX-kNX <at> kde.org https://mail.kde.org/mailman/listinfo/freenx-knx ________________________________________________________________


________________________________________________________________
     Were you helped on this list with your FreeNX problem?
    Then please write up the solution in the FreeNX Wiki/FAQ:

http://openfacts2.berlios.de/wikien/index.php/BerliosProject:FreeNX_-_FAQ

         Don't forget to check the NX Knowledge Base:
                 http://www.nomachine.com/kb/

________________________________________________________________
       FreeNX-kNX mailing list --- FreeNX-kNX <at> kde.org
      https://mail.kde.org/mailman/listinfo/freenx-knx
________________________________________________________________

Gmane