[FreeNX-kNX] Session startup failed (was No /usr/NX directory after "yum install freenx" and Authetication failure and nothing helped so far)

Fabian Franz FabianFranz at gmx.de
Tue Apr 24 15:01:39 UTC 2007


> /usr/libexec/nx/nxagent: error while loading shared libraries: 
> /usr/lib/nx/libXcomp.so.2: cannot restore segment prot after reloc: 
> Permission denied
> Apr 23 23:59:19 localhost kernel: audit(1177397959.569:4): avc:  denied  
> { execmod } for  pid=6547 comm="nxagent" name="libXcomp.so.2" dev=dm-0 
> ino=1569653 scontext=user_u:system_r:unconfined_t:s0 
> tcontext=system_u:object_r:lib_t:s0 tclass=file
> Apr 23 23:59:19 localhost kernel: audit(1177397959.739:5): avc:  denied  
> { execmod } for  pid=6622 comm="xauth" name="libXcomp.so.2" dev=dm-0 
> ino=1569653 scontext=user_u:system_r:unconfined_t:s0 
> tcontext=system_u:object_r:lib_t:s0 tclass=file
>[...]
> Thanks already for all your suggestions up to now. It seems i am getting 
> closer ....

Yes, its just a SELinux Problem now:

And here is described how to fix it.

http://www.nomachine.com/ar/view.php?ar_id=AR05D00389

I think you could also change the binary (with some command) as this whole issue was already discussed in November/December of last year.

CentOS even seems to have added support to its binaries, but I dunno exactly.

> By the way, NoMachine seems to support shadowing sessions (and also 
> transfering the actual real display) with there new server version 3.0. 

It is _planned_. Well, it was already planned for 2.0. So please keep the ball low.

cu

Fabian



More information about the FreeNX-kNX mailing list