LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Fedora (https://www.linuxquestions.org/questions/fedora-35/)
-   -   VMware workstation on fedora 5: not working! (https://www.linuxquestions.org/questions/fedora-35/vmware-workstation-on-fedora-5-not-working-434834/)

144419855310001 04-13-2006 11:36 AM

VMware workstation on fedora 5: not working!
 
After reading through similar threads, I managed to get VMware workstation to install on Fedora Core 5 64-bit version (on a hp pavilion dv5046ea with turion64) using the "any any" patch.

However, when I try and tun vmware, it gives this error:

Quote:

[root@localhost] /usr/bin/vware
/usr/lib/vmware/bin/vmware: error while loading shared libraries: /usr/lib/vmware/lib/libgdk-x11-2.0.so.0/libgdk-x11-2.0.so.0: cannot restore segment prot after reloc: Permission denied
I don't know what's with the permission problems: I'm trying to run this as root.


Can anybody help?

lucktsm 04-13-2006 11:52 AM

Sort of sounds like a selinux policy thing... just a thought.

Out of curiousity, how did you get around finding the kernel include directories?

144419855310001 04-18-2006 06:32 AM

Thanks, I'll try turning off SElinux

As to the "kernel include" issue, you need to install the right kernel-devel package. It doesn't come as standard with the Fedora CDs.

Do uname -r to find out what version your kernel is.
If its a standard install of FC5 and you haven't tried to upgrade the kernel yourself, etc. then I'm guessing it will probably be 2.6.15-1.2054.

Go to rpm.pbone.net and go to an advanced search. Uncheck all the boxes except Fedora 5, then search for kernel-devel. This will bring up a whole list of kernel packages, like kernel-xenU or kernel-kdump, but you don't want those ones.

If your kernel is the same type as the one above as I think, then scroll down a bit and you'll find:
kernel-devel-2.6.15-1.2054_FC5
Select the right type for your architecture, i386 or x86_64. Of course if you have a different kernel select the right package.

After that you'll need to use the any-any patch...

rhoekstra 04-18-2006 07:07 AM

Without turning off SELinux (Which WILL help you, though), you could also fix with the following statement. This is a targeted fix, instead of the global disabling of SELinux:

Code:

chcon -t "textrel_shlib_t" /usr/lib/vmware/lib/libgdk-x11-2.0.so.0/libgdk-x11-2.0.so.0
Or, in the 'security level and firewall' configuration you can disable selinux on certain subitems (look at tab SELinux->compatibility->Allow the use of shared libraries with text relocations), that will solve the issue too.

144419855310001 04-19-2006 05:58 AM

thats great, thanks

144419855310001 04-20-2006 07:24 AM

Oh no, wait a minute. Had a problem.

First, I tried to fix it graphically with "security level and firewall",
but there was no "Compatibility" tab:

_____________________________________________________
|Security Level and Firewall_________________|..............|
|..............................................................................|
| Please choose the security level for the system..............|
|..............................................................................|
|......________________....___________.........................|
|......|Firewall Options|..| SELinux |..............................|
....................____________________________...............|
SELinux setting: | Enforcing |.|
._______________________________________________..|
...__________________________............................|
....| Modify SELinux policy: |....................|
........\/ Other.........................................|
...............__........................................|
..............|__| /usr/sbin/getsebool...................|



................................_______......_____
................................|Cancel|.....|.Ok.|

And,
Quote:

chcon -t "textrel_shlib_t" /usr/lib/vmware/lib/libgdk-x11-2.0.so.0/libgdk-x11-2.0.so.0
outputted this error message:
Quote:

chcon: can't apply partial context to unlabeled file /usr/lib/vmware/lib/libgdk-x11-2.0.so.0/libgdk-x11-2.0.so.0
Any ideas?

144419855310001 04-28-2006 05:25 AM

rhoekstra, anybody still there?

Crito 04-28-2006 05:39 AM

Just get rid of SELinux. Dozens of mysterious problems will suddenly disappear and your TCO will be much lower. As I recall there's a way to temporarily disable it at the command line and another more permanent way in your bootloader's config file. Unfortunately, because I disabled it during initial installation can't recall the exact commands or parms... you'll have to altavista it (don't waste even more time googling it).

rhoekstra 04-28-2006 06:50 AM

TCO will be lower, yes, but at expense of security.

If that level of security isn't necessary, That would probably be the way to go...

To answer your last question, though, I am surprised you don't have a 'compatibility' item in selinux configuration. I'm no SELinux expert, I've just learned to live with it (rather than killing it before it even starts).

And by the way, I don't this is the topic to talk good or bad about search engines.. bummer.

Hope that will help you ?


All times are GMT -5. The time now is 04:04 AM.