LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora
User Name
Password
Fedora This forum is for the discussion of the Fedora Project.

Notices


Reply
  Search this Thread
Old 04-13-2006, 11:36 AM   #1
144419855310001
Member
 
Registered: Apr 2006
Distribution: ubuntu 7.04
Posts: 219

Rep: Reputation: 30
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?
 
Old 04-13-2006, 11:52 AM   #2
lucktsm
Member
 
Registered: May 2004
Location: Atlanta, GA USA
Distribution: Redhat ES4, FC4, FC5, slax, ubuntu, knoppix
Posts: 155

Rep: Reputation: 30
Sort of sounds like a selinux policy thing... just a thought.

Out of curiousity, how did you get around finding the kernel include directories?
 
Old 04-18-2006, 06:32 AM   #3
144419855310001
Member
 
Registered: Apr 2006
Distribution: ubuntu 7.04
Posts: 219

Original Poster
Rep: Reputation: 30
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...
 
Old 04-18-2006, 07:07 AM   #4
rhoekstra
Member
 
Registered: Aug 2004
Location: The Netherlands
Distribution: RedHat 2, 3, 4, 5, Fedora, SuSE, Gentoo
Posts: 372

Rep: Reputation: 42
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.
 
Old 04-19-2006, 05:58 AM   #5
144419855310001
Member
 
Registered: Apr 2006
Distribution: ubuntu 7.04
Posts: 219

Original Poster
Rep: Reputation: 30
thats great, thanks
 
Old 04-20-2006, 07:24 AM   #6
144419855310001
Member
 
Registered: Apr 2006
Distribution: ubuntu 7.04
Posts: 219

Original Poster
Rep: Reputation: 30
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?

Last edited by 144419855310001; 04-20-2006 at 07:33 AM.
 
Old 04-28-2006, 05:25 AM   #7
144419855310001
Member
 
Registered: Apr 2006
Distribution: ubuntu 7.04
Posts: 219

Original Poster
Rep: Reputation: 30
rhoekstra, anybody still there?
 
Old 04-28-2006, 05:39 AM   #8
Crito
Senior Member
 
Registered: Nov 2003
Location: Knoxville, TN
Distribution: Kubuntu 9.04
Posts: 1,168

Rep: Reputation: 53
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).
 
Old 04-28-2006, 06:50 AM   #9
rhoekstra
Member
 
Registered: Aug 2004
Location: The Netherlands
Distribution: RedHat 2, 3, 4, 5, Fedora, SuSE, Gentoo
Posts: 372

Rep: Reputation: 42
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 ?
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Fedora 3.0 + VMWare Workstation + USB support dadelcas Fedora 0 01-28-2005 09:26 AM
VMware Workstation Problems with new Fedora Core 2 Kernal Update.. Elite_Gamer04 Linux - Software 12 07-20-2004 05:32 PM
eth0 not working on fedora running in VMware 4 on WinXP pro machine ratgod Linux - Networking 14 06-25-2004 04:45 PM
Vmware workstation 4+0 + Fedora and Win2K MongeK Linux - Software 5 02-15-2004 03:52 PM
vmware workstation zetsui Linux - Software 2 07-01-2003 10:59 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora

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

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration