Find the answer to your Linux question:
Results 1 to 5 of 5
Hi, We have a SUSE Linux v10 server and run VMWARE on this as well. Our issue is VMWARE does not start automatically when we restart the SUSE server. What ...
  1. #1
    Just Joined!
    Join Date
    Sep 2008
    Posts
    1

    Add command to startup of SUSE Server ?

    Hi,

    We have a SUSE Linux v10 server and run VMWARE on this as well.

    Our issue is VMWARE does not start automatically when we restart the SUSE server. What we usually do is wait until SUSE server has started, login as root, then shell to the command prompt and type VMWARE to start this service.

    Can someone explain how we make this happen automatically at startup of the SUSE server so we do not need to login and do this each time? What file do we need to add this command to or do we need to write a script?

    Thanks,
    Vic

  2. #2
    Blackfooted Penguin daark.child's Avatar
    Join Date
    Apr 2006
    Location
    West Yorks
    Posts
    4,344
    You can add the commands to start vmware in the file /etc/init.d/boot.local. Another option is to create a script that can start vmware as a service.

  3. #3
    Just Joined! TuxKnight's Avatar
    Join Date
    Sep 2008
    Location
    New Zealand
    Posts
    28

    VMware start

    You could add a cronjob to start vmware after rebooting

    Code:
    @reboot /usr/bin/vwmare

  4. #4
    Linux Guru
    Join Date
    Nov 2007
    Posts
    1,695
    VMWare Workstation is a user application that is started after you login. In order for it to auto-start, you'd have to have a user account that logs in after reboot. And then Workstation is started.

    I'd suggest moving to VMWare Server, which runs as a service on the system.

  5. #5
    Just Joined!
    Join Date
    Aug 2007
    Posts
    25
    You can put a script in /etc/rc.d/init.d/vmscript

    su -l WHATEVERY_USER /usr/bin/vmarware will start up the script as user WHATEVER

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
...