LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
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-07-2002, 08:35 AM   #1
figadiablo
Member
 
Registered: Feb 2002
Location: Virginia USA
Distribution: Slackware, CentOS, Fedora
Posts: 342

Rep: Reputation: 30
Unhappy VMWare


Hi againg,
OK, Im using Slack 8.1... today I 'm trying to install VMware Workstation 3.1.1. When following the installation script I agree to all the install options but it then asks me :
What is the directory that contains the init directories (rc0.d/ to
rc6.d/)?
and my response is: /etc/rc.d but it desagrees with me.
"
What is the directory that contains the init directories (rc0.d/ to
rc6.d/)? /etc/rc.d

The path "/etc/rc.d" is a directory which does not contain a rc0.d directory.
"
What should be the init directories under Slackware?
 
Old 08-07-2002, 08:38 AM   #2
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985
try /etc/init/rc_.d
 
Old 08-07-2002, 08:58 AM   #3
NSKL
Senior Member
 
Registered: Jan 2002
Location: Rome, Italy ; Novi Sad, Srbija; Brisbane, Australia
Distribution: Ubuntu / ITOS2008
Posts: 1,207

Rep: Reputation: 47
Search on google for this, you have to trick VMware in beleiving you are using SysV startup (since slack uses BSD startup. So serach for VMwrae and Slackware on google and you will get a page that explains in detail how to do this, and it works, i tried it.
Hope that helps
-NSKL
 
Old 08-07-2002, 12:33 PM   #4
figadiablo
Member
 
Registered: Feb 2002
Location: Virginia USA
Distribution: Slackware, CentOS, Fedora
Posts: 342

Original Poster
Rep: Reputation: 30
OK, one problem... all the documentation about VMware and Slackware is if iwhere to be using VMware workstation 2. Aparently the way the installation works in hte newer version, VMware workstation 3 is different. for example take a look a this taken from the VMware support site:

-----------------------
There have been reports of successful VMware Workstation installations by users running a Slackware based distribution. The two important points when starting with a Slackware system are glibc and the boot scripts.


Ensure you are either using a glibc version of Slackware (as some of the most recent or Beta versions are) or you have the optional glibc packages installed.

Slackware does not use SysV boot (rc) scripts. The easiest thing is to let the install script install /etc/rc.d/init.d/vmware (or where ever you tell it to put the boot script) and then add the following lines to rc.local
if [ -x /etc/rc.d/init.d/vmware ]
then
/etc/rc.d/init.d/vmware start
fi

------------------------------

In version 3 you wont even get to the point where the installer script installs the boot thing. It wont even get close. Also I notice that the old install script came with the VMware sourcecode and tried running it, but it doesn't work.
Anny other suggestions??

maybe Ill try to see if I can find the old version.
 
Old 08-08-2002, 09:10 AM   #5
SlCKB0Y
Member
 
Registered: Oct 2001
Location: Sydney
Distribution: Arch
Posts: 295

Rep: Reputation: 96
It's easy, just make the directories rc0.d -> rc6.d in /etc/rc.d like this
cd /etc/rc.d
mkdir rc0.d
mkdir rc1.d
...
mkdir rc6.d

also make init.d in this dir
mkdir init.d
then in the vmware installer tell it to look in /etc/rc.d
it will all work now. it will installed the startup files in init.d and the slackware sysv emulation will automatically look in this directory on boot and load the vmware stuff...

thats all there is to it
 
Old 08-08-2002, 11:22 AM   #6
figadiablo
Member
 
Registered: Feb 2002
Location: Virginia USA
Distribution: Slackware, CentOS, Fedora
Posts: 342

Original Poster
Rep: Reputation: 30
cool,sounds great. Ill give it a try. Thanks
 
Old 08-12-2002, 06:56 AM   #7
figadiablo
Member
 
Registered: Feb 2002
Location: Virginia USA
Distribution: Slackware, CentOS, Fedora
Posts: 342

Original Poster
Rep: Reputation: 30
ok, VMware is now running, I have win2000 running now, but the progra complains everytime it is booting up win200 that I don't have the xfree86-dga instaslled and therefore I can't use the full screen mode. How can I install the Xfree86 DGA?
 
Old 08-15-2002, 08:42 AM   #8
SlCKB0Y
Member
 
Registered: Oct 2001
Location: Sydney
Distribution: Arch
Posts: 295

Rep: Reputation: 96
Post your /etc/X11/XF86Config file

There is a section at the beginning dealing with modules, and i bet yours has s sub option to exclude dga or whatever it is.

You just need to comment these lines out, but post your file and ill show you what to do exactly
 
Old 08-16-2002, 08:24 AM   #9
figadiablo
Member
 
Registered: Feb 2002
Location: Virginia USA
Distribution: Slackware, CentOS, Fedora
Posts: 342

Original Poster
Rep: Reputation: 30
ok, this is the first couple of sections, Im not posting the rest because I dont think you need the imput section, if you do just tell me an Ill post it.

ok this is my /etc/X11/XF86Config :


# **********************************************************************
# Module section -- this section is used to specify
# which dynamically loadable modules to load.
# **********************************************************************
#
Section "Module"

# This loads the DBE extension module.

Load "dbe" # Double buffer extension

# This loads the miscellaneous extensions module, and disables
# initialisation of the XFree86-DGA extension within that module.
SubSection "extmod"
Option "omit xfree86-dga" # don't initialise the DGA extension
EndSubSection

# This loads the Type1 and FreeType font modules
Load "type1"
Load "freetype"

# This loads the GLX module
# Load "glx"

EndSection

# **********************************************************************
# Files section. This allows default font and rgb paths to be set
# **********************************************************************

Section "Files"

# The location of the RGB database. Note, this is the name of the
# file minus the extension (like ".txt" or ".db"). There is normally
# no need to change the default.

RgbPath "/usr/X11R6/lib/X11/rgb"

# Multiple FontPath entries are allowed (which are concatenated together),
# as well as specifying multiple comma-separated entries in one FontPath
# command (or a combination of both methods)
#
# If you don't have a floating point coprocessor and emacs, Mosaic or other
# programs take long to start up, try moving the Type1 and Speedo directory
# to the end of this list (or comment them out).
#

FontPath "/usr/X11R6/lib/X11/fonts/local/"
FontPath "/usr/X11R6/lib/X11/fonts/misc/"
FontPath "/usr/X11R6/lib/X11/fonts/75dpi/:unscaled"
FontPath "/usr/X11R6/lib/X11/fonts/100dpi/:unscaled"
FontPath "/usr/X11R6/lib/X11/fonts/Type1/"
FontPath "/usr/X11R6/lib/X11/fonts/Speedo/"
FontPath "/usr/X11R6/lib/X11/fonts/75dpi/"
FontPath "/usr/X11R6/lib/X11/fonts/100dpi/"

# The module search path. The default path is shown here.

# ModulePath "/usr/X11R6/lib/modules"

EndSection

# **********************************************************************
# Server flags section.
# **********************************************************************

Section "ServerFlags"

# Uncomment this to cause a core dump at the spot where a signal is
# received. This may leave the console in an unusable state, but may
# provide a better stack trace in the core dump to aid in debugging

# Option "NoTrapSignals"

# Uncomment this to disable the <Crtl><Alt><BS> server abort sequence
# This allows clients to receive this key event.

# Option "DontZap"

# Uncomment this to disable the <Crtl><Alt><KP_+>/<KP_-> mode switching
# sequences. This allows clients to receive these key events.

# Option "Dont Zoom"

# Uncomment this to disable tuning with the xvidtune client. With
# it the client can still run and fetch card and monitor attributes,
# but it will not be allowed to change them. If it tries it will
# receive a protocol error.

# Option "DisableVidModeExtension"

# Uncomment this to enable the use of a non-local xvidtune client.

# Option "AllowNonLocalXvidtune"

# Uncomment this to disable dynamically modifying the input device

# Option "AllowNonLocalXvidtune"

# Uncomment this to disable dynamically modifying the input device
# (mouse and keyboard) settings.

# Option "DisableModInDev"

# Uncomment this to enable the use of a non-local client to
# change the keyboard or mouse settings (currently only xset).

# Option "AllowNonLocalModInDev"

EndSection
 
Old 08-16-2002, 10:58 PM   #10
linuxcool
LQ Addict
 
Registered: Jun 2001
Posts: 1,183

Rep: Reputation: 47
figadiablo, SICKBOY, probably wants you to comment out these three lines:

SubSection "extmod"
Option "omit xfree86-dga" # don't initialise the DGA extension
EndSubSection

Just put # in front of each of these lines. Like this:

#SubSection "extmod"
#Option "omit xfree86-dga" # don't initialise the DGA extension
#EndSubSection
 
Old 08-17-2002, 09:26 PM   #11
figadiablo
Member
 
Registered: Feb 2002
Location: Virginia USA
Distribution: Slackware, CentOS, Fedora
Posts: 342

Original Poster
Rep: Reputation: 30
Yes, yes... How could I not see that, thank you guys! ... hum! I better get a vacation soon or else Ill go crazy, too much work and school.
Anyways I'll give it a try on monday, it's the computer at work which have the vmware installed. It works perfectly fine exept for the dga thing, and when I changed the dysplay settings on Win2000 it look great.
Well thanks again.
 
Old 08-17-2002, 09:52 PM   #12
linuxcool
LQ Addict
 
Registered: Jun 2001
Posts: 1,183

Rep: Reputation: 47
Good luck and I hope it works.
 
Old 08-18-2002, 07:44 AM   #13
SlCKB0Y
Member
 
Registered: Oct 2001
Location: Sydney
Distribution: Arch
Posts: 295

Rep: Reputation: 96
Yea, that's exactly what i meant for you to do. Hope this helps
 
Old 03-01-2005, 05:10 PM   #14
Lord C
Member
 
Registered: Mar 2004
Location: London, UK
Distribution: Ubuntu
Posts: 69

Rep: Reputation: 15
Quote:
Originally posted by SlCKB0Y
It's easy, just make the directories rc0.d -> rc6.d in /etc/rc.d like this
cd /etc/rc.d
mkdir rc0.d
mkdir rc1.d
...
mkdir rc6.d

also make init.d in this dir
mkdir init.d
then in the vmware installer tell it to look in /etc/rc.d
it will all work now. it will installed the startup files in init.d and the slackware sysv emulation will automatically look in this directory on boot and load the vmware stuff...

thats all there is to it
I did this ^
Quote:
Slackware does not use SysV boot (rc) scripts. The easiest thing is to let the install script install /etc/rc.d/init.d/vmware (or where ever you tell it to put the boot script) and then add the following lines to rc.local
if [ -x /etc/rc.d/init.d/vmware ]
then
/etc/rc.d/init.d/vmware start
fi [/B]
And that ^

The config will not run
Code:
# perl vmware-config.pl --compile
Making sure services for VMware Workstation are stopped.

sh: /etc/rc.d/init.d/vmware: Permission denied
Unable to stop services for VMware Workstation

Execution aborted.
And VMware will not load.
Code:
# /etc/rc.d/init.d/vmware start
bash: /etc/rc.d/init.d/vmware: Permission denied

Last edited by Lord C; 03-01-2005 at 05:40 PM.
 
Old 03-01-2005, 05:46 PM   #15
gbonvehi
Senior Member
 
Registered: Jun 2004
Location: Argentina (SR, LP)
Distribution: Slackware
Posts: 3,145

Rep: Reputation: 53
Try chmod +x /etc/rc.d/init.d/vmware
 
  


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
Debug Linux kernel in vmware (two machines in vmware)?? cyu021 Programming 0 03-30-2005 07:46 PM
VMWare - Installing VMWare Tools Nightmare jerkmonkee Linux - Newbie 2 11-14-2004 05:52 PM
want to exchange my vmware esx 3.1 against a vmware gsx 3.1 neton Linux - Software 1 08-06-2004 08:23 AM
Vmware Virtual Machine Problem With Windows In Vmware jvdbossc Linux - Software 2 05-28-2004 06:54 AM
vmware, mandrake 9.0 (finding vmware tools) Gratz Linux - Software 2 03-01-2004 12:03 PM

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

All times are GMT -5. The time now is 02:39 PM.

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