Solved

how do i get a browser to run as my Vm (ubuntu + rails  dev stack )  Machine  only has a command prompt

Posted on 2010-11-23
5
690 Views
Last Modified: 2012-06-27
i have sucessfully installed a VMware player  on a win 7 host  ,downloaded and installed a BITNAMI UBUTU 10.1  + RUBY RAILSDEV  (1.9 & 3) VIRTUAL BITNAMI MACHINE IN THE VM PLAYER
ruby ,gems ,rails  aLlworking  and run the rails server command  and received the  output in the terminal  that  the server is running and according the the various rails .org tutorials  I should now open up  my browser to local host 0.0.0.0: 3000 and see the  ruby rails  welcome page  but ...  how do i get a browser to run as my VN Machine  only has a command prompt  ??
0
Comment
Question by:Ossie_Jesson
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
5 Comments
 
LVL 11

Accepted Solution

by:
louisreeves earned 125 total points
ID: 34201609
If I recall, There is a couple posibilitues. The first one is a no breainer. Type startx at the prompt. If this does not work then you either have a video setting that is not allowing the gui to start or the proper package is not installed. Here are a couple of link to give you an idea of the commands. I am not linux so thart is why I use other folks work,

http://ubuntu-virginia.ubuntuforums.org/showthread.php?t=1511945
http://ubuntuforums.org/showthread.php?t=711932

Doesa this help?
0
 
LVL 3

Expert Comment

by:Virtalicious
ID: 34201698
You can connect Via
the Links or Lynx commands for example.

But StartX would be the better way.

Alternatively you could make your VM network accessible and connect from your workstation.
0
 

Author Comment

by:Ossie_Jesson
ID: 34204252
Thank you  to louisreevesVirtalicious

I have tried  startx  .. command not found  so I deduce that i am" headless" ie server only and that there is no GUI  in the  bitnami ruby rails  stack  VM machine  ,which is fair enough

so could you elaborate  a little please  (Virtalicious) so i can get to work and at last see rails  say "Hello  world "

 a)  if  I make the Vm network accessable  doe that mean I can see the  Ruby served pages  on my host machines browsers  via http///   local host  -3000  or a similar .(the script command in rails will i presume indicate this as before
b)  how do i make the VM as you say  network  accessible ( I am using VM player 3 .1.3

thanks in advance
0
 
LVL 4

Assisted Solution

by:fr0nk
fr0nk earned 125 total points
ID: 34213090
You should check the virtual network configuration that has been shipped with the VMs. There are 3 possibilities:
- NAT: Means the VM shares its IP with your Win7 Host machine. So you should try navigating to http://127.0.0.1:3000.
This can cause problems when this port is already being used by some application inside your Win7.
- Host only: Means that only VMs are able to communicate with each other
- Bridged: Means the VM will have its own IP address.
0
 

Author Closing Comment

by:Ossie_Jesson
ID: 34296099
THANKS FOR YOUR HELP
0

Featured Post

2017 Webroot Threat Report

MSPs: Get the facts you need to protect your clients.
The 2017 Webroot Threat Report provides a uniquely insightful global view into the analysis and discoveries made by the Webroot® Threat Intelligence Platform to provide insights on key trends and risks as seen by our users.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

If your vDisk VHD file gets deleted from the image store accidentally or on purpose, you won't be able to remove the vDisk from the PVS console. There is a known workaround that is solid.
In this article, I show you step by step with screenshots to assist you - HOW TO: Deploy and Install the VMware vCenter Server Appliance 6.5 (VCSA 6.5), with some helpful tips along the way.
This tutorial will walk an individual through the steps necessary to enable the VMware\Hyper-V licensed feature of Backup Exec 2012. In addition, how to add a VMware server and configure a backup job. The first step is to acquire the necessary licen…
The purpose of this video is to demonstrate how to integrate Mailchimp with WordPress, by placing a Mailchimp signup form on a WordPress Page or Post. This will be demonstrated using a Windows 8 PC. Mailchimp will be used. Log into your Mailchi…

739 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question