Antoine Martin | 1 Sep 2009 21:53
Picon
Favicon

detecting nxproxy managed windows

Hi,

Is there anything that would allow me to distinguish windows created by
nxproxy from other windows on the desktop?
It seems that the _NET_WM_PID property refers to the pid of the process
running on the server and not of any process found on the client. But
apart from that, I fail to see any properties that would allow me to
recognize these windows.

Thanks
Antoine
________________________________________________________________
     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
________________________________________________________________

Antoine Martin | 1 Sep 2009 22:02
Picon
Favicon

window manager thinks the window is inactive

Hi,

After about 30 seconds, my window manager (compiz+gtk) seems to think
that the nx window is inactive and applies shading to it.
Is there an option I am missing on nxproxy that would make it tell the
window manager that the window is indeed active and responding?
Once it is in this state, if I click on close, the window manager then
says that the window is not responding...

All tested using with:
DISPLAY=nx/nx,accept=127.0.0.1:10062 nxagent -R :62
nxproxy -S 127.0.0.1:10062
(DISPLAY=:62 xauth + start app)

I have tried composite=1, with not noticeable effect.
Since these options aren't documented in 'nxproxy -h', where shall I be
looking?

Thanks
Antoine
________________________________________________________________
     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/ 

________________________________________________________________
(Continue reading)

Matthew Richardson | 2 Sep 2009 17:03
Picon
Picon

Parallelize the calling of nxcheckload?

I'm looking at using the 'load' algorithm, and have looked at how
nxserver calls nxcheckload in the server_loadbalance_load() function.
At present it calls it in serial.  Our pool consists of around 50
servers - assuming that we used something simple like netcat to query
the servers, taking 1 second per server this would result in a 50 second
delay - longer if the nxcheckload processes hang for any reason.

I've included a sample bash script that does this kind of thing in
parallel - I thought I'd rather show what kind of action /could/ happen,
rather than try to patch it outright.  If people think this is a useful
change, then I can create a real patch for the function in nxserver.  I
obviously don't know the freenx code that well, e.g if SIGALRM etc is
already in use, hence my hesitance.

This script calls a command (returnvalue.sh), which simply sleeps for,
then echoes back, whatever number was sent to it. (i.e nxcheckload)

The main script spawns a child process for each entry in $SERVER, with a
random sleep amount on each one.  It then records the pids of the child
processes for later.  Each child is writing its output to its own
temporary file to $TMPFOLDER.  The parent waits for the child processes
to exit, then analyses their output. (i.e load results for a server).

However, the script also starts a timer in a subshell, which sleeps for
$ALARMTIME seconds, then signals the parent with SIGALRM.  When the
parent gets SIGALRM, it kills all the child processes.  This presents
children from hanging or taking longer than a chosen time to respond.

You can then decide from the results returned which server has the
lowest load.  If server took too long to respond, its safe to assume
(Continue reading)

Jonathan Mills | 14 Sep 2009 05:24
Picon

freenx and xclearcase

Forian:

I've seen your discussions on mail.kde.org, and I have a *huge*  
problem with xclearcase.  Where I work, I am implementing a Virtual  
Desktop Infrastructure so engineers can use centrally-managed Linux  
desktops.  They connect from their Windows desktops, using NX.  I had  
been using the freenx packages from http://freenx.berlios.de/.

However, xlcearcase does not work with those packages.  It sounds like  
maybe you patched and built your own versions?  I downloaded them from:

http://www.kritzkratz.net/NX-Centos/

However, the NX server won't start up, as you can see:

[root <at> ncxvm001 ~]# /etc/init.d/freenx-server start
NX> 100 NXSERVER - Version 3.2.0-74-SVN OS (GPL, using backend: 3.3.0)
NX> 500 Error: No running sessions found.
NX> 999 Bye
NX> 100 NXSERVER - Version 3.2.0-74-SVN OS (GPL, using backend: 3.3.0)
NX> 500 ERROR: Service already running
NX> 999 Bye
[root <at> ncxvm001 ~]# ps aux | grep nx
root      3418  0.0  0.0  61180   728 pts/1    S+   23:15   0:00 grep nx
[root <at> ncxvm001 ~]#

I was wondering if you could give me a little insight.  Begging,  
actually.  I really need this to work.  We're running

[root <at> ncxvm001 ~]# cat /etc/redhat-release
(Continue reading)

Henning Heinold | 14 Sep 2009 09:32
Picon

Re: freenx and xclearcase

On Sun, Sep 13, 2009 at 11:24:52PM -0400, Jonathan Mills wrote:
> Forian:
> 
> I've seen your discussions on mail.kde.org, and I have a *huge*  
> problem with xclearcase.  Where I work, I am implementing a Virtual  
> Desktop Infrastructure so engineers can use centrally-managed Linux  
> desktops.  They connect from their Windows desktops, using NX.  I had  
> been using the freenx packages from http://freenx.berlios.de/.
> 
> However, xlcearcase does not work with those packages.  It sounds like  
> maybe you patched and built your own versions?  I downloaded them from:
> 
> http://www.kritzkratz.net/NX-Centos/
> 
> 
> However, the NX server won't start up, as you can see:
> 
> [root <at> ncxvm001 ~]# /etc/init.d/freenx-server start
> NX> 100 NXSERVER - Version 3.2.0-74-SVN OS (GPL, using backend: 3.3.0)
> NX> 500 Error: No running sessions found.
> NX> 999 Bye
> NX> 100 NXSERVER - Version 3.2.0-74-SVN OS (GPL, using backend: 3.3.0)
> NX> 500 ERROR: Service already running
> NX> 999 Bye
> [root <at> ncxvm001 ~]# ps aux | grep nx
> root      3418  0.0  0.0  61180   728 pts/1    S+   23:15   0:00 grep nx
> [root <at> ncxvm001 ~]#

Yeah thats right because without a session there is no process which runs by nx.
Better you go back to the basics and read the faq or how nx works.
(Continue reading)

Daniel Spannbauer | 15 Sep 2009 08:18
Picon

cut and Paste between WIndows an Linux

Hello,

I'm using FreeNX 0.5.0-25 with NX-1.5.0-73. Client is NXclient 3.3.0-6.
I can cut in Linux and Puste in Windows, but not from Windows to Linux.

Is this a known bug or a configuration issue?

Regards

Daniel

--

-- 
Daniel Spannbauer                         Software Entwicklung
marco Systemanalyse und Entwicklung GmbH  Tel   +49 8333 9233-27 Fax -11
Rechbergstr. 4 - 6, D 87727 Babenhausen   Mobil +49 171 4033220
http://www.marco.de/                      Email ds <at> marco.de
Geschäftsführer Martin Reuter             HRB 171775 Amtsgericht München
________________________________________________________________
     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
________________________________________________________________
(Continue reading)

Stefan Bauer | 15 Sep 2009 08:36
Picon

Re: cut and Paste between WIndows an Linux

Daniel Spannbauer schrieb:
> I'm using FreeNX 0.5.0-25 with NX-1.5.0-73. Client is NXclient 3.3.0-6.
> I can cut in Linux and Puste in Windows, but not from Windows to Linux.

Just as a side note you might always know. Simply marking somethin
on windows is not enough to copy it like in linux.

--

-- 

stefan
________________________________________________________________
     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
________________________________________________________________

Daniel Spannbauer | 16 Sep 2009 08:30
Picon

Re: cut and Paste between WIndows an Linux


Stefan Bauer schrieb:
> Daniel Spannbauer schrieb:
>> I'm using FreeNX 0.5.0-25 with NX-1.5.0-73. Client is NXclient 3.3.0-6.
>> I can cut in Linux and Puste in Windows, but not from Windows to Linux.
> 
> Just as a side note you might always know. Simply marking somethin
> on windows is not enough to copy it like in linux.

I know that. And simply marking is sometimes also not enough on Linux (kde).

Bite I marked it, right-click an copy. But this don't work.

Regards

Daniel

> 

--

-- 
Daniel Spannbauer                         Software Entwicklung
marco Systemanalyse und Entwicklung GmbH  Tel   +49 8333 9233-27 Fax -11
Rechbergstr. 4 - 6, D 87727 Babenhausen   Mobil +49 171 4033220
http://www.marco.de/                      Email ds <at> marco.de
Geschäftsführer Martin Reuter             HRB 171775 Amtsgericht München
________________________________________________________________
     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
(Continue reading)

ChrisB | 16 Sep 2009 13:35
Favicon

Re: cut and Paste between WIndows an Linux



Daniel Spannbauer <ds <at> marco.de> wrote on 16/09/2009 07:30:35:

>
>
> Stefan Bauer schrieb:
> > Daniel Spannbauer schrieb:
> >> I'm using FreeNX 0.5.0-25 with NX-1.5.0-73. Client is NXclient 3.3.0-6.
> >> I can cut in Linux and Puste in Windows, but not from Windows to Linux.
> >
> > Just as a side note you might always know. Simply marking somethin
> > on windows is not enough to copy it like in linux.
>
> I know that. And simply marking is sometimes also not enough on Linux (kde).
>
> Bite I marked it, right-click an copy. But this don't work.
>
> Regards
>
> Daniel
>
>

It works for the rest of us, though 0.5 is quite old.

Are you using klipper ?? You may find it isn't selecting the last item you copied . . .




>
> >
>
> --
> Daniel Spannbauer                         Software Entwicklung
> marco Systemanalyse und Entwicklung GmbH  Tel   +49 8333 9233-27 Fax -11
> Rechbergstr. 4 - 6, D 87727 Babenhausen   Mobil +49 171 4033220
> http://www.marco.de/                      Email ds <at> marco.de
> Geschäftsführer Martin Reuter             HRB 171775 Amtsgericht München
> ________________________________________________________________
>      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
________________________________________________________________
Daniel Spannbauer | 16 Sep 2009 14:04
Picon

Re: cut and Paste between WIndows an Linux


ChrisB schrieb:
> 
> 
> Daniel Spannbauer <ds <at> marco.de> wrote on 16/09/2009 07:30:35:
> 
>  >
>  >
>  > Stefan Bauer schrieb:
>  > > Daniel Spannbauer schrieb:
>  > >> I'm using FreeNX 0.5.0-25 with NX-1.5.0-73. Client is NXclient 
> 3.3.0-6.
>  > >> I can cut in Linux and Puste in Windows, but not from Windows to 
> Linux.
>  > >
>  > > Just as a side note you might always know. Simply marking somethin
>  > > on windows is not enough to copy it like in linux.
>  >
>  > I know that. And simply marking is sometimes also not enough on Linux 
> (kde).
>  >
>  > Bite I marked it, right-click an copy. But this don't work.
>  >
>  > Regards
>  >
>  > Daniel
>  >
>  >
> 
> It works for the rest of us, though 0.5 is quite old.
> 
> Are you using klipper ?? You may find it isn't selecting the last item 
> you copied . . .
> 

No, klipper is not used.

Hmm, ok. Will try to build a new RPM of freeNX.

Regards

daniel

> 
> 
> 
>  >
>  > >
>  >
>  > --
>  > Daniel Spannbauer                         Software Entwicklung
>  > marco Systemanalyse und Entwicklung GmbH  Tel   +49 8333 9233-27 Fax -11
>  > Rechbergstr. 4 - 6, D 87727 Babenhausen   Mobil +49 171 4033220
>  > http://www.marco.de/                      Email ds <at> marco.de
>  > Geschäftsführer Martin Reuter             HRB 171775 Amtsgericht München
>  > ________________________________________________________________
>  >      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
> ________________________________________________________________

-- 
Daniel Spannbauer                         Software Entwicklung
marco Systemanalyse und Entwicklung GmbH  Tel   +49 8333 9233-27 Fax -11
Rechbergstr. 4 - 6, D 87727 Babenhausen   Mobil +49 171 4033220
http://www.marco.de/                      Email ds <at> marco.de
Geschäftsführer Martin Reuter             HRB 171775 Amtsgericht München
________________________________________________________________
     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