[FreeNX-kNX] Session startup failed (was No /usr/NX directory after "yum install freenx" and Authetication failure and nothing helped so far)
Thomas Pfrommer
pfrommer at phas.ubc.ca
Tue Apr 24 20:36:24 UTC 2007
Thanks for your support! I was not aware that it was an SELinux problem.
Anyway I ran following command and everything was fine:
chcon -t textrel_shlib_t /usr/lib/nx/libXcomp.so.2
(adapted from
http://www.redhat.com/archives/fedora-selinux-list/2006-April/msg00139.html
and the link therein)
and that was it!
Now I only get some warning messages:
The panel encountered a problem while loading "OAFIID:GENOME_ClockApplet"
The panel encountered a problem while loading
"OAFIID:GENOME_MultiLoadApplet"
The panel encountered a problem while loading
"OAFIID:GENOME_WindowListApplet"
The panel encountered a problem while loading
"OAFIID:GENOME_WorkSpaceSwitcherApplet"
Hm I googled and found similar questions but no response so far. Perhaps
I am just not good enough to google for the right phrases .... Anyway it
seems that these Applets are not so important ;-)
Thanks again for you great support and product !!!
Cheers
Thomas
Fabian Franz wrote:
>> /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
> ________________________________________________________________
> Were you helped on this list with your FreeNX problem?
> Then please write up the solution in the FreeNX Wiki/FAQ:
> http://openfacts.berlios.de/index-en.phtml?title=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
> ________________________________________________________________
>
More information about the FreeNX-kNX
mailing list