olaf-linux | 1 Jun 2010 09:10
Picon
Picon

Sabayon/xnest and FreeNX

Hi!

I'm trying to use "sabayon" to change restricted desktop-settings  
(menu, background, panel ...) for the useraccounts, but sabayon does  
not work really. (OpenSuse 11.2, kde 4.3, sabayon 2.28 - 2.30)

When I click on "edit" (a profile), the new sabayon"virtual"desktop  
window tries to open, but sabayon crash in the moment.
Is there any incompability with sabayon and FreeNX?
I have read, sabayon works with "Xnest", which is an nx-Server/Client,  
so I think about ssh-port and something else, but I do not fully  
understand.

Bye
Olaf

Sent from iPhone
________________________________________________________________
     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)

Alastair Johnson | 1 Jun 2010 12:23

Re: Sabayon/xnest and FreeNX

On Tuesday 01 June 2010, olaf-linux <at> gmx.de wrote:
> Hi!
> 
> I'm trying to use "sabayon" to change restricted desktop-settings
> (menu, background, panel ...) for the useraccounts, but sabayon does
> not work really. (OpenSuse 11.2, kde 4.3, sabayon 2.28 - 2.30)
> 
> When I click on "edit" (a profile), the new sabayon"virtual"desktop
> window tries to open, but sabayon crash in the moment.
> Is there any incompability with sabayon and FreeNX?
> I have read, sabayon works with "Xnest", which is an nx-Server/Client,
> so I think about ssh-port and something else, but I do not fully
> understand.

The sabayon I know of is a gentoo-based linux distro [1]. From the context I 
assume you're talking about something else, but what?

[1]  http://www.sabayon.org/
________________________________________________________________
     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)

Marc Serra Fontfreda | 1 Jun 2010 12:36
Favicon

Re: Sabayon/xnest and FreeNX

True, sabayon it's a gentoo based linux distro (I used it about an year) but it's a desktop (user profile) application too...

http://www.redhat.com/magazine/008jun05/features/sabayon/

But sorry Olaf, I can't help you... :(


Al 01/06/10 12:23, En/na Alastair Johnson ha escrit:
On Tuesday 01 June 2010, olaf-linux <at> gmx.de wrote:
Hi! I'm trying to use "sabayon" to change restricted desktop-settings (menu, background, panel ...) for the useraccounts, but sabayon does not work really. (OpenSuse 11.2, kde 4.3, sabayon 2.28 - 2.30) When I click on "edit" (a profile), the new sabayon"virtual"desktop window tries to open, but sabayon crash in the moment. Is there any incompability with sabayon and FreeNX? I have read, sabayon works with "Xnest", which is an nx-Server/Client, so I think about ssh-port and something else, but I do not fully understand.
The sabayon I know of is a gentoo-based linux distro [1]. From the context I assume you're talking about something else, but what? [1] http://www.sabayon.org/ ________________________________________________________________ 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
________________________________________________________________
olaf | 1 Jun 2010 14:06
Picon
Picon

Re: Sabayon/xnest and FreeNX

Hi!

Am Dienstag, 1. Juni 2010 12:23:17 schrieb Alastair Johnson:
> The sabayon I know of is a gentoo-based linux distro [1]. From the context
> I assume you're talking about something else, but what?

Like Marc said, it is not the sabayon distribution, it is a desktop-lockdown 
and more.
I'm talking about
http://live.gnome.org/Sabayon/

-->
"Sabayon is a system administration tool to define and deploy desktop profiles 
for the GNOME desktop environment. It allows you to control such things as 
panel layouts, menu items, default gconf settings, as well as provide pre-
defined defaults for some non-GNOME programs such as Firefox. It also makes 
use of the lockdown functionality of Pessulus. It does this by providing a 
"desktop within a window", allowing you to customize your desktop as you see 
fit, then recording your changes, to be applied to users by the sabayon-apply 
program at login time."

And this "...desktop within a window ..." is the piece that does not work, it 
crashed sabayon on my FreeNX-server. And without this window sabayon is not 
usable. On other test-computers with OpenSuse and gnome (without installed 
FreeNX) sabayon works correct.

I have build my (FreeNX-)server for users with restricted access, the most of 
them are layman (not have a clue) with computers, linux and so on, they need 
only openoffice and filemanager.
After har work to build the software (pxe-boot, freenx, ldap, ...) I noticed 
that "kiosk-Admin-Tool" dows no longer works with the new kde 4.x, so I take a 
look at gnome and sabayon.

Somewhere I read that sabayon opens a "Xnest"-Windows with ssh / nx-
server/client ... or something similar, and I thought that can be the reason 
why it does not work, because freeNX uses this too.
And now I'm sitting here since weeks with a "ready-to-start" FreeNX-server, 
but without any possiblity to give the users the same pre-configured and 
simple desktop (with limitations/restrictions),

Bye
Olaf
________________________________________________________________
     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
________________________________________________________________

Toni Asensi Esteve | 2 Jun 2010 20:08
Picon
Favicon

Re: NX screen refresh performance

Chris wrote:

> It's a case of try each in turn and choose the best for your 
> circumstances. 

> Obviously other's experiences help and we could do with 
> more feedback . . . . . 

Well, another week has passed and no one answered with its case :-(. So I 
changed the "FAQ/Screen Performance" ( 
http://openfacts2.berlios.de/wikien/index.php/BerliosProject:FreeNX_-
_FAQ/Screen_Performance ), adding the latest information told in this list, so 
that new questions about this subject... can be redirected to that page.

Greetings:
Toni
________________________________________________________________
     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
________________________________________________________________

chris | 3 Jun 2010 10:58
Favicon

Re: NX screen refresh performance


Toni Asensi Esteve <asmond <at> orange.es> wrote on 26/05/2010 16:03:06:

> Chris wrote:
> > Obviously other's experiences help and we could do with more feedback . . .
> .
> A week has passed and no one answered with its case :-(. I'll try to comment
> on our own case, we have
>    freenx-server   0.7.3
>    nx client for Windows 3.4.0-7
>
> [...]
>
> > What I did when I was looking at this, was to try the same tasks using both
> > high quality jpeg and RGB and compare how it seemed to be on the screen.
>
> In our case:  the speed difference was not a great one, the
> behaviour was a bit
> faster using the lossless RGB compresion.
>  

The settings are changed depending upon the link speed you select.

I had ADSL, yours is set to modem !!

I was swinging windows around, which should be just compressed
X traffic not graphics at all.

With RGB the deferred updates were noticable, with a whole trail of
window edges all round the screen, but its not a real world test.

I can see more sluggish text entry with RGB than jpeg, even though
it shouldn't make any difference.

> > I found that I couldn't distinguish between the quality of image ( on a  
> > spreadsheet, which is one of our core apps, lots of thin straight black
> > lines on a white background, just what the jpeg people say they aren't good
> > at )
>  
> In our case:  the presentation made a visible difference. I attach
> screenshots
> of the configuration (with "modem" settings and setting both rgb and jpeg
> compression, jpeg at the highest quality) and obtaining a low quality result
> in some places of the screenshot (like the buttons),

Yup, I see the button icons a bit blurry too, that's lossy jpeg I guess . . . .

> a result somewhat worse
> than the Windows remote desktop protocol one, which would make us
> look like if
> we had something of worse quality. This is very important. Maybe it's a
> setting that has to be tuned? :-?

There seems to be a difference in compression methodology between
bitmaps and text.


From NX-XProtocolCompression.pdf

Quote
The current default method to encode images in NX X sessions is JPEG, with
quality determined according to link settings.

Other available methods are PNG and ZLIB X bitmap compression.

JPEG is a lossy image format.

Most remote display systems cannot generally use JPEG as in these
systems not only images but even generic screen updates, containing
text or other vector graphics, are encoded as bitmaps.

In these systems the use of JPEG would make the resulting output clumsy.

NX, instead, preserves the original X protocol to handle text and graphics
rendering and uses lossy image compression only for X requests carrying
actual bitmap images.
Unquote

This gist of this is they they compress the X message traffic for text,
( mostly by cache hits and differential updates )

which means that the choice of bitmap compression is not going to affect
office work so much, although we both notice that button icons are a bit
blurry.


I haven't changed my view. There isn't much you can do, but you do
 need to set the link type.

1/ Make sure the server is up to the job
2/ Use the fastest link you can - with ssh link encryption you can tell
        the users to use an Internet Cafe instead of a 2M 3G stick
2a/ Don't forget the server end of the link may be loaded up
3/ Select the correct (client) link speed whatever it (actually) is
4/ Minimize traffic, use rootless apps etc
5/ Test it out for your site and applications
6/ Don't tell the users they can tweak things.

We await other users telling us of their experiences !!.

One other thing.

Do you see any content in the client disk cache ??

CB

>
> Thanks for you attention:
> Toni
>
________________________________________________________________
     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
________________________________________________________________
chris | 3 Jun 2010 11:01
Favicon

Re: NX screen refresh performance


Toni Asensi Esteve <asmond <at> orange.es> wrote on 02/06/2010 19:08:25:

> Chris wrote:
>
> > It's a case of try each in turn and choose the best for your
> > circumstances.
>  
> > Obviously other's experiences help and we could do with
> > more feedback . . . . .
>

It will arrive, slowly . . . .

> Well, another week has passed and no one answered with its case :-(. So I
> changed the "FAQ/Screen Performance" (

I don't think many people subscribe to this list, and of those that do, most
are busy elsewhere most of the time ( me too )


> http://openfacts2.berlios.de/wikien/index.php/BerliosProject:FreeNX_-
> _FAQ/Screen_Performance ), adding the latest information told in
> this list, so
> that new questions about this subject... can be redirected to that page.

Every bit helps . . . . .

>  
> Greetings:
> Toni
> ________________________________________________________________
>      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
________________________________________________________________
chris | 3 Jun 2010 11:11
Favicon

Re: Problem with listsession



sergio garcia escriche <sergei.garcia <at> gmail.com> wrote on 26/05/2010 15:03:48:

> Hi,
>
> I have freenx Version 3.2.0-74-SVN OS (GPL, using backend: 3.3.0). I
> would like a kill a session from session name. I tried nxserver --
> list and not show the session name. I tried listsession command and
> show me the next message "command not found". Do you know how i can
> kill session from session name??

If I understood what you meant by "session name" I might be able to suggest
something.

You've looked at pkill -u I suppose ??


>
> Thank you very much,
>
> Sergio ________________________________________________________________
>      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
________________________________________________________________
chris | 3 Jun 2010 11:17
Favicon

Re: Reboot server



olaf <olaf-linux <at> gmx.de> wrote on 18/05/2010 16:42:17:

> Hi!
>
> I do not understand how I can reboot the server, when users are logged in /
> there are running nx-sessions.
> Please tell me, how I have to do this.

It shouldn't make any difference, but in practice it does and it's better if people
log out first, in case their sessions don't get saved properly, though my main
concern would be open user-data files rather than window manager settings

If I was you I'd send them all a message and then end their sessions before
shutting down.

Quite a bit of stuff may well have been swapped out.

>
> Today I rebooted the server the first time with logged in users. After reboot
> the kde-settings (mime-types) are broken and I have to figure out manually to
> repair it. I think this was not the correct way.
>
> Bye
> Olaf
> ________________________________________________________________
>      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
________________________________________________________________
chris | 3 Jun 2010 11:54
Favicon

Re: Sabayon/xnest and FreeNX


olaf <olaf-linux <at> gmx.de> wrote on 01/06/2010 13:06:38:

> Hi!
>
> Am Dienstag, 1. Juni 2010 12:23:17 schrieb Alastair Johnson:
> > The sabayon I know of is a gentoo-based linux distro [1]. From the context
> > I assume you're talking about something else, but what?
>
> Like Marc said, it is not the sabayon distribution, it is a desktop-lockdown
> and more.
> I'm talking about
> http://live.gnome.org/Sabayon/
>
> -->
> "Sabayon is a system administration tool to define and deploy

[SNIP]

>
> I have build my (FreeNX-)server for users with restricted access, the most of
> them are layman (not have a clue) with computers, linux and so on, they need
> only openoffice and filemanager.
> After har work to build the software (pxe-boot, freenx, ldap, ...) I noticed
> that "kiosk-Admin-Tool" dows no longer works with the new kde 4.x,
> so I take a
> look at gnome and sabayon.

Your original post said KDE 4.3.

I haven't looked at either Kiosk Admin Tool or Sabayon, and I doubt that
anyone else subscribed to this group has either, at least not with NX.


In theory, all of these things you are trying should work with the NX X server
proxy, but until someone has been through and ironed out any issues
(which may be small ones or show-stoppers) then you are not advised to
use them on a live server, unless you are prepared to work it out for
yourself.

In addition, you have chosed Opensuse 11.2, which is far from the most
popular distribution, and is more "experimental / cutting edge" than it
is an enterprise product.


You may well like the more advanced features ( me too, that's why I deploy
it in certain circumstances ), but you will find more help available for
Ubuntu, which has versions (still free) with long term support

or
Centos, which, now that a few issues have been sorted out has a bright
future and a massive user base via RHEL and fedora

wheras
with opensuse you will be re-installing every 2 years (max) with
the next batch of new stuff which doesn't quite work yet.

I understand that you might want a German distro, especialy as there
is now major uncertainty regarding Novell and SEL which may
continue for a year or so until M$ buy Novell, or Suse splits off again

but
if you are going to use it, you are letting yourself in for quite a bit of
work,

and
bear in mind, as you appear to be first to do most of this, we would
all be looking to you to tell us how you fixed it, rather than having
to try to re-create your problems to come up with a fix for you.
11.2 will only be around for 18 months, then it's all change again.


now
regarding locking down your desktops .  .  .

OK, it should work, but it doesn't.

If your users don't need a full desktop, you should consider (in the
absence of Kiosk or Sabayon working out-of-the-box)
either
a simpler window manager IceWM or LXDE,
or
running your applications rootless,
which means they just appear as applications on the user's desktop.

>
> Somewhere I read that sabayon opens a "Xnest"-Windows with ssh / nx-
> server/client ... or something similar, and I thought that can be the reason
> why it does not work, because freeNX uses this too.

NOTE

Your issues are not with actually with FreeNX
(which is just one of a number of launcher / session managers for nomachine's
nxagent/proxy),

but
with the nomachine software its-self, ie the X proxy, not the script which
launched it.

so
You should also look through the nomachine knowledge-base.

> And now I'm sitting here since weeks with a "ready-to-start" FreeNX-server,
> but without any possiblity to give the users the same pre-configured and
> simple desktop (with limitations/restrictions),

I'm still planning to have a look at the samba issue you asked about,when
I can find time (we just had a bank holiday, and now we're in for a heatwave
so you can imagine what happens in rainy London)


Also

One thing you didn't say was whether you have moved up to NX v3.4.0
on your Suse machines, or you are still on 3.2 from the Opensuse
community repositories.

You won't illicit much help if people think you are on an older version.

I sent you the script to roll an rpm of 3.4 but you might not have received
it.

>
> Bye
> Olaf
> ________________________________________________________________
>      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