LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 08-10-2006, 04:25 PM   #1
dx0r515t
Member
 
Registered: Jan 2005
Location: USA
Distribution: Slackware 10.2 & 11.0
Posts: 155

Rep: Reputation: 30
Can't run vmware as non-root user


I have installed vmware workstation 5.0 on slackware 10.2 successfully. I installed everything as root; and now I can only run vmware as the root user. When I try to run vmware as a standard user I get this error:

Quote:
/usr/lib/vmware/bin/vmware: error while loading shared libraries: libsigc-2.0.so.0: cannot open shared object file: No such file or directory
/usr/lib/vmware/bin/vmware: error while loading shared libraries: libsigc-2.0.so.0: cannot open shared object file: No such file or directory
I'm pretty sure this is some kind of a permissions error but i'm not exactly sure how to approach this. Here is the permissions on /usr/lib/vmware/bin/vmware:

Quote:
-r-x------ 1 scott users 6469884 2006-08-10 16:27 /usr/lib/vmware/bin/vmware*
And /usr/lib/vmware:

Quote:
drwxrwx--- 2 scott users 4096 2006-08-10 16:27 bin/
drwxrwx--- 2 scott users 4096 2006-08-10 16:27 bin-debug/
-rwxrwx--- 1 scott users 615 2006-08-10 16:27 config*
drwxrwx--- 2 scott users 4096 2006-08-10 16:27 configurator/
drwxrwx--- 2 scott users 4096 2006-08-10 16:27 floppies/
drwxrwx--- 2 scott users 4096 2006-08-10 16:26 help/
drwxrwx--- 3 scott users 4096 2006-08-10 16:26 help-guestinstall/
drwxrwx--- 3 scott users 12288 2006-08-10 16:26 help-manual/
drwxrwx--- 2 scott users 4096 2006-08-10 16:27 isoimages/
drwxrwx--- 37 scott users 4096 2006-08-10 16:27 lib/
drwxrwx--- 4 scott users 4096 2006-08-10 16:27 libconf/
drwxrwx--- 4 scott users 4096 2006-08-10 16:27 licenses/
drwxrwx--- 4 scott users 4096 2006-08-10 16:26 messages/
drwxrwx--- 4 scott users 4096 2006-08-10 16:26 modules/
drwxrwx--- 3 scott users 4096 2006-08-10 16:27 share/
drwxrwx--- 2 scott users 4096 2006-08-10 16:26 xkeymap/
I chowned those directories to scott:users (my normal user account) as well as /usr/bin/vmware and ~/.vmware but I still seem to be having permission problems. The error seems to be that I cannot load libsigc-2.0.so.0 as a normal user; what could a work around be? Again when I run vmware as the root user the program works fine.

Just in case it matters i'm running kernel 2.6.17.6 that I downloaded and compiled from kernel.org. In order to get vmware to work with my kernel I had to apply the vmware-any-any-update101.
Thanks.

Last edited by dx0r515t; 08-10-2006 at 05:23 PM.
 
Old 08-10-2006, 06:04 PM   #2
isuck@linux
Member
 
Registered: Jun 2006
Distribution: messed up debian
Posts: 250

Rep: Reputation: 30
try chmod 755 for the entire folder
 
Old 08-10-2006, 06:43 PM   #3
dx0r515t
Member
 
Registered: Jan 2005
Location: USA
Distribution: Slackware 10.2 & 11.0
Posts: 155

Original Poster
Rep: Reputation: 30
Well I did chmod 755 to /usr/lib/vmware and ~/.vmware and still the same problem..

Quote:
~$ ls -l /usr/lib/vmware
total 72
drwxr-xr-x 2 scott users 4096 2006-08-10 16:27 bin/
drwxr-xr-x 2 scott users 4096 2006-08-10 16:27 bin-debug/
-rwxr-xr-x 1 scott users 615 2006-08-10 16:27 config*
drwxr-xr-x 2 scott users 4096 2006-08-10 16:27 configurator/
drwxr-xr-x 2 scott users 4096 2006-08-10 16:27 floppies/
drwxr-xr-x 2 scott users 4096 2006-08-10 16:26 help/
drwxr-xr-x 3 scott users 4096 2006-08-10 16:26 help-guestinstall/
drwxr-xr-x 3 scott users 12288 2006-08-10 16:26 help-manual/
drwxr-xr-x 2 scott users 4096 2006-08-10 16:27 isoimages/
drwxr-xr-x 37 scott users 4096 2006-08-10 16:27 lib/
drwxr-xr-x 4 scott users 4096 2006-08-10 16:27 libconf/
drwxr-xr-x 4 scott users 4096 2006-08-10 16:27 licenses/
drwxr-xr-x 4 scott users 4096 2006-08-10 16:26 messages/
drwxr-xr-x 4 scott users 4096 2006-08-10 16:26 modules/
drwxr-xr-x 3 scott users 4096 2006-08-10 16:27 share/
drwxr-xr-x 2 scott users 4096 2006-08-10 16:26 xkeymap/
Quote:
~$ ls -l /home/scott/.vmware
total 8
-rwxr-xr-x 1 scott users 73 2006-08-10 16:59 favorites.vmls*
-rwxr-xr-x 1 scott users 1002 2006-08-10 16:59 preferences*
Quote:
~$ ls -l /usr/bin/vmware
-rwxr-xr-x 1 scott users 4714 2006-08-10 16:26 /usr/bin/vmware*
What else do I need to chmod?

EDIT: Just discovered that the permissions in the subdirectories in this directory where not being changed. What command can I use to change permissions on a directory and all subdirectories? I've been doing chmod 755 /path/to/dir and chown username:group /path/to/dir but these commands don't seem to be applying the permissions to the subdirectories. How would I make the permission changes to all the subdirectories as well in one command?

Thanks

Last edited by dx0r515t; 08-10-2006 at 07:19 PM.
 
Old 08-10-2006, 07:24 PM   #4
isuck@linux
Member
 
Registered: Jun 2006
Distribution: messed up debian
Posts: 250

Rep: Reputation: 30
Probably other guys can give you better advise, I use the chmod -R path the R is for recursive. check chmod --help.
 
Old 08-10-2006, 07:31 PM   #5
dx0r515t
Member
 
Registered: Jan 2005
Location: USA
Distribution: Slackware 10.2 & 11.0
Posts: 155

Original Poster
Rep: Reputation: 30
Thanks for the help I got it working now. The problem was that when I was applying the permissions on /usr/lib/vmware the permissions were not being applied to the subdirectories. Now that I have changed the permissions on the subdirectories all seems well as a normal user.

I'm going to have to remember that -R option
 
  


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
Want to run vmware as non-root user Cerbere Linux - Software 5 01-10-2007 01:01 PM
snmpd to be run by other user aside from root gn00kie Solaris / OpenSolaris 5 07-28-2006 10:35 AM
Do you run as root or user and why? aysiu Linspire/Freespire 7 10-04-2005 02:19 AM
I can not run X as root, only as user dtpmike Fedora 5 11-24-2004 04:45 PM
how do I make sure that the user that is going to run the script is a root user??? nikold01 Linux - General 3 09-10-2004 07:54 AM

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

All times are GMT -5. The time now is 08:45 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